-
1. Re: Seam 3 will provide OpenSessionInView ?
ratking Mar 27, 2011 9:56 AM (in response to idyoshin)I also encountered the same trouble. To provide an example just fine.
LazyInitializationException: could not initialize proxy - no Session -
2. Re: Seam 3 will provide OpenSessionInView ?
idyoshin Mar 27, 2011 10:09 AM (in response to idyoshin)However, I don't get anymore LazyInitializationException, after switching to seam-managed persistence context (something extended for conversation). It works even in Request-Scoped components and without starting the conversation.
Kind regards
-
3. Re: Seam 3 will provide OpenSessionInView ?
lightguard Mar 28, 2011 10:26 AM (in response to idyoshin)Is there a reason a conversation scoped Hibernate Session won't work for you?
-
4. Re: Seam 3 will provide OpenSessionInView ?
idyoshin Mar 28, 2011 10:32 AM (in response to idyoshin)I've already told that Seam-managed conversation-scoped Hibernate session solved all the errors, I've been facing.
Kind regards,
Ilya Dyoshin
Jason Porter wrote on Mar 28, 2011 10:26:
Is there a reason a conversation scoped Hibernate Session won't work for you?Click HELP for text formatting instructions. Then edit this text and check the preview.
-
5. Re: Seam 3 will provide OpenSessionInView ?
lightguard Mar 28, 2011 11:05 AM (in response to idyoshin)You're right, that's what I get for checking via RSS and not really reading the forums before I post :) Sorry about that.