This content has been marked as final.
Show 3 replies
-
1. Re: Seam/hibernate issuing lots of selects
cyberanto Mar 9, 2012 12:57 PM (in response to tanyaka)My first suspicion would be that your action method is called mutiple times - check that first. If so, there may be ways in the page to ensure the action is called only once. Worst case, you may have to write a hack in your action method to make sure it gets called only once e.g. per conversation, or per row, etc.
-
2. Re: Seam/hibernate issuing lots of selects
gebuh Mar 9, 2012 6:46 PM (in response to tanyaka)Can you post the offending component and backing methods?
-
3. Re: Seam/hibernate issuing lots of selects
tanyaka Mar 12, 2012 5:30 AM (in response to tanyaka)Solved it with the aid of this http://davidrabinowitz.com/en/2007/12/22/seam-datamodel-factories/ for anyone in a similar situation.