Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp
This is the error I encounter when try to initialize an object.
=======================================
80578 [24-05-2005 11:58:09] ERROR test.action.OutgoingAction - HibernateException
net.sf.hibernate.HibernateException: disconnected session
at net.sf.hibernate.collection.PersistentCollection.forceInitialization(PersistentCollection.java:339)
at net.sf.hibernate.Hibernate.initialize(Hibernate.java:255)
....
=======================================
This is part of the code I write...
public class OutgoingAction{
....
Hibernate.initialize(order.getOrderId());
List storeList = order.getOrderId().getList();
.....
}
Anyone see the above Hibernate exception before?
Thank you so much!