Top Description Fields Constructors
org.hibernate

public Class LazyInitializationException

extends HibernateException
Class Inheritance
Imports
org.hibernate.internal.CoreMessageLogger, org.jboss.logging.Logger

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.
Author
Gavin King
See Also
Hibernate#initialize(java.lang.Object), Hibernate#isInitialized(java.lang.Object)

Field Summary

Modifier and TypeField and Description
private static final CoreMessageLogger

Constructor Summary

AccessConstructor and Description
public
LazyInitializationException(String
A message explaining the exception condition
message
)

Constructs a LazyInitializationException using the given message.

Field Detail

LOGback to summary
private static final CoreMessageLogger LOG

Constructor Detail

LazyInitializationExceptionback to summary
public LazyInitializationException(String message)

Constructs a LazyInitializationException using the given message.

Parameters
message:String

A message explaining the exception condition