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 and Description |
|---|
LazyInitializationException(String message)
Constructs a LazyInitializationException using the given message.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic LazyInitializationException(String message)
Constructs a LazyInitializationException using the given message.
message - A message explaining the exception conditionCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.