So I want to use Hibernate 3.2 for my EM in a JEE5 environment. However, I have an entity that has and requires TWO mappings of the following:
@OneToMany(cascade={CascadeType.ALL}, fetch=FetchType.EAGER, mappedBy = "owningILDA")
Caused by: org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: com.covaluate.infotek.ilda.ejb.entity.ILDAEntityBean.ilda15MinUpdates, no session or session was closed at org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationException(AbstractPersistentCollection.java:358) at org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationExceptionIfNotConnected(AbstractPersistentCollection.java:350) at org.hibernate.collection.AbstractPersistentCollection.initialize(AbstractPersistentCollection.java:343) at org.hibernate.collection.AbstractPersistentCollection.write(AbstractPersistentCollection.java:183) at org.hibernate.collection.PersistentBag.add(PersistentBag.java:274)