Class UnmanagedObjectException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
jakarta.persistence.PersistenceException
org.hibernate.HibernateException
org.hibernate.UnmanagedObjectException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
DetachedObjectException, TransientObjectException
Thrown when an operation requires a managed persistent
instance associated with the current persistence context
and encounters a transient or detached object instead.
Most instances of
UnmanagedObjectException are
also instances of TransientObjectException or
DetachedObjectException.- Since:
- 8.0
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UnmanagedObjectException
-