Thrown when the user passes a persistent instance to a ISession method that expects a transient instance

Namespace: NHibernate
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
[SerializableAttribute]
public class PersistentObjectException : HibernateException
Visual Basic
<SerializableAttribute> _
Public Class PersistentObjectException _
	Inherits HibernateException
Visual C++
[SerializableAttribute]
public ref class PersistentObjectException : public HibernateException

Inheritance Hierarchy

System..::..Object
  System..::..Exception
    System..::..ApplicationException
      NHibernate..::..HibernateException
        NHibernate..::..PersistentObjectException

See Also