[jboss-user] [EJB 3.0] - PostLoad callback illegal access to loading collection

DeanoUK do-not-reply at jboss.com
Thu Sep 27 09:01:56 EDT 2007


Hi there,
I'm getting a "org.hibernate.LazyInitializationException: illegal access to loading collection" error when trying to manipulate a data set within an entity within the PostLoad method.

This is similar to the PostLoad method convertPhotos in example http://java.boot.by/scbcd5-guide/ch06s04.html

Should this work?


(Accidently posted in Nhibernate previously)

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4089307#4089307

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4089307



More information about the jboss-user mailing list