[jboss-user] [EJB 3.0] - I'm having a hard time with this error "org.hibernate.LazyInitializationException: failed to lazily initialize"

jaikiran pai do-not-reply at jboss.com
Sat Mar 20 05:17:44 EDT 2010

jaikiran pai [http://community.jboss.org/people/jaikiran] replied to the discussion

"I'm having a hard time with this error "org.hibernate.LazyInitializationException: failed to lazily initialize""

To view the discussion, visit: http://community.jboss.org/message/533117#533117

Which version of JBoss AS is this? Looks like the start() method of PojoA isn't being called in a transactional context. It has been fixed recently and is available through the EJB3 plugin  http://www.jboss.org/ejb3/ejb3plugin.html http://www.jboss.org/ejb3/ejb3plugin.html. If you are using JBoss AS 5.1.0 then apply that plugin against it and see if it fixes the issue.


Reply to this message by going to Community

Start a new discussion in EJB 3.0 at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100320/c8a80e56/attachment.html 

More information about the jboss-user mailing list