程序包 org.hibernate

类 PersistentObjectException

  • 所有已实现的接口:
    Serializable

    public class PersistentObjectException
    extends HibernateException
    Thrown when the user passes a persistent instance to a Session method that expects a transient instance.
    作者:
    Gavin King
    另请参阅:
    序列化表格
    • 构造器详细资料

      • PersistentObjectException

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