Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Hibernate Hibernate4 Hibernate lazyinitializationexception

Related Tutorials


 
 

Share on Google+Share on Google+

Hibernate lazyinitializationexception

Advertisement
In this section, you will find the reason of lazyinitializationexception in hibernate.

Hibernate lazyinitializationexception

In this section, you will find the reason of  lazyinitializationexception in hibernate.

lazyinitializationexception

The org.hibernate.LazyInitializationException is the sub class of the org.hibernate.HibernateException.

The lazyinitializationexception exception occurs when you try to access unfetched data or non-initialized association after the session is closed. For example, if session is closed and uninitialized collection is accessed, lazyinitializationexception occurs .

If you enjoyed this post then why not add us on Google+? Add us to your Circles



Liked it!  Share this Tutorial


Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: April 26, 2012

Related Tutorials

Discuss: Hibernate lazyinitializationexception  

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 
Comments:0
DMCA.com