Package org.hibernate

Class PersistentObjectException

All Implemented Interfaces:
Serializable

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

    • PersistentObjectException

      public PersistentObjectException(String message)
      Constructs a PersistentObjectException using the given message.
      Parameters:
      message - A message explaining the exception condition