Package org.hibernate

Class TransientObjectException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
TransientPropertyValueException

public class TransientObjectException extends HibernateException
Thrown when the user passes a transient instance to a Session method that expects a persistent instance.
See Also:
  • Constructor Details

    • TransientObjectException

      public TransientObjectException(String message)
      Constructs a TransientObjectException using the supplied message.
      Parameters:
      message - The message explaining the exception condition