-
1. Re: help needed! error
destiny84 Mar 27, 2006 2:03 PM (in response to destiny84)Err...I was sure I had error: failed to lazily initialize a collection in my topic title ?! ...oh well....sorry bout that
-
2. Re: help needed! error
gavin.king Mar 27, 2006 2:14 PM (in response to destiny84)So, this is a problem in how you are managing your persistence context. Probably it would help to use a Seam-managed conversation-scoped persistence context, but I can't tell since you have not given any information about what you are actually doing...
-
3. Re: help needed! error
wquraishi Aug 29, 2007 3:28 PM (in response to destiny84)One thing I discovered is if you override the toString() method and output the relationships, it'll force the container to load the relationship related fields. I'm thinking it accomplishes the same thing as fetchtype.eager but i've had more luck with this. Plus it works dual fold since I use the toString() method in conjunction with facesMessages to display what the object coming back is.