Home Hibernate Hibernate4 Hibernate lazyinitializationexception



Hibernate lazyinitializationexception
Posted on: April 26, 2012 at 12:00 AM
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 .

Related Tags for Hibernate lazyinitializationexception:


More Tutorials from this section

Ask Questions?    Discuss: Hibernate lazyinitializationexception  

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 

Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.