[jboss-user] [EJB 3.0] - Re: LazyInitializationException in many-to-many relation tha

2008-04-27 Thread JuliaF
Hello, jaikiran Many thanks for posting the tip. I fixed the LazyInitialisationException problem in this instance. However, I think I am facing a much more general EJB design problem, which I will try to explain further down. With regards to the earlier posting, in addition to using merge() bef

[jboss-user] [EJB 3.0] - Re: LazyInitializationException in many-to-many relation tha

2008-04-22 Thread jaikiran
anonymous wrote : I am getting a LazyInitializationException: failed to lazily initialize a collection of role : eco.ejb3.entity.Subject.usersThatSubscribedToMe, no session or session was closed A LazyInitializationException occurs when the entity or its associated collection is being access