Class UnmanagedObjectException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
DetachedObjectException, TransientObjectException

public class UnmanagedObjectException extends HibernateException
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 Details

    • UnmanagedObjectException

      public UnmanagedObjectException(String message)