An exception that is thrown when a persistent reference to a non-persistent class exists.
This exception is raised when a persistent reference to a non-persistent class exists. For instance, a persistent object contains an Array property of the ArrayList class and this property is marked with the PersistentAttribute attribute. The ArrayList class is non-persistent, so the NonPersistentReferenceFoundException will be raised.
- ensure that a persistent reference denotes a persistent object.