Home  >  Forum  >  Hibernate
Post New Query

org.hibernate.SessionException: Session is closed

joined on
May 23,2013
Asked on May 29,2013
Hello Friends,

Got an error, any clue?

 org.hibernate.SessionException: Session is closed!
at org.hibernate.impl.AbstractSessionImpl.errorIfClosed(AbstractSessionImpl.java:72)
at org.hibernate.impl.SessionImpl.getTransaction(SessionImpl.java:1451)

joined on
March 16,2013
Replied on May 29,2013

It seems to me that you are calling any method of session after closing session like

Above sequence will throw error, we need to do like


joined on
March 15,2013
Replied on June 18,2013

yes, its right 

Write Answer

Copyright ©2017 concretepage.com, all rights reserved |Privacy Policy | Contact Us