I am using the hibernate eclipse plugin. I have the session and connection information defined (and mappings).
When I issue the HQL query, I always get a LazyInitializationException.
2012-05-01 11:30:21,149 ERROR main org.hibernate.LazyInitializationException - failed to lazily initialize a collection of role: com.mypackage.HibProcess.subprocesses, no session or session was closed
org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: com.mypackage..HibProcess.subprocesses, no session or session was closed
Any ideas how i can avoid this?
I am using similar configuration/properties that I used previously without error (but was a different database).
Thanks