Package org.hibernate
Class LazyInitializationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- javax.persistence.PersistenceException
-
- org.hibernate.HibernateException
-
- org.hibernate.LazyInitializationException
-
- All Implemented Interfaces:
java.io.Serializable
public class LazyInitializationException extends HibernateException
Indicates an attempt to access not-yet-fetched data outside of a session context. For example, when an uninitialized proxy or collection is accessed after the session was closed.
-
-
Constructor Summary
Constructors Constructor Description LazyInitializationException(java.lang.String message)
Constructs a LazyInitializationException using the given message.
-