The IEntityPersister type exposes the following members.

Methods

  NameDescription
Public methodAfterInitialize
Called just after the entities properties have been initialized
Public methodAfterReassociate
Called just after the entity has been reassociated with the session
Public methodCreateProxy
Create a new proxy instance
Public methodDelete
Delete a persistent instance
Public methodFindDirty
Locate the property-indices of all properties considered to be dirty.
Public methodFindModified
Locate the property-indices of all properties considered to be dirty.
Public methodForceVersionIncrement
Public methodGetConcreteProxyClass
Get the proxy interface that instances of this concrete class will be cast to
Public methodGetCurrentVersion
Get the current version of the object, or return null if there is no row for the given identifier. In the case of unversioned data, return any object if the row exists.
Public methodGetDatabaseSnapshot
Get the current database state of the object, in a "hydrated" form, without resolving identifiers
Public methodGetIdentifier
Get the identifier of an instance ( throw an exception if no identifier property)
Public methodGetMappedClass
The persistent class, or null
Public methodGetNaturalIdentifierSnapshot
Retrieve the current state of the natural-id properties from the database.
Public methodGetPropertyType
Get the type of a particular property
Public methodGetPropertyValue(Object, Int32, EntityMode)
Get the value of a particular property
Public methodGetPropertyValue(Object, String, EntityMode)
Get the value of a particular property
Public methodGetPropertyValues
Return the values of the mapped properties of the object
Public methodGetPropertyValuesToInsert
Return the values of the insertable properties of the object (including backrefs)
Public methodGetSubclassEntityPersister
Get the persister for an instance of this class or a subclass
Public methodGetVersion
Get the version number (or timestamp) from the object's version property (or return null if not versioned)
Public methodGuessEntityMode
Try to discover the entity mode from the entity instance
Public methodHasUninitializedLazyProperties
Does the given instance have any uninitialized lazy properties?
Public methodImplementsLifecycle
Does the class implement the ILifecycle inteface?
Public methodImplementsValidatable
Does the class implement the IValidatable interface?
Public methodInsert(array<Object>[]()[][], Object, ISessionImplementor)
Persist an instance, using a natively generated identifier (optional operation)
Public methodInsert(Object, array<Object>[]()[][], Object, ISessionImplementor)
Persist an instance
Public methodInstantiate
Create a class instance initialized with the given identifier
Public methodIsInstance
Determines whether the specified entity is an instance of the class managed by this persister.
Public methodIsInstrumented
Has the class actually been bytecode instrumented?
Public methodIsSubclassEntityName
Determine whether the given name represents a subclass entity (or this entity itself) of the entity mapped by this persister.
Public methodIsTransient
Is this a new transient instance?
Public methodIsUnsavedVersion
Check the version value trough VersionValue.
Public methodLoad
Load an instance of the persistent class.
Public methodLock
Do a version check (optional operation)
Public methodPostInstantiate
Finish the initialization of this object, once all ClassPersisters have been instantiated. Called only once, before any other method.
Public methodProcessInsertGeneratedProperties
Perform a select to retrieve the values of any generated properties back from the database, injecting these generated values into the given entity as well as writing this state to the persistence context.
Public methodProcessUpdateGeneratedProperties
Perform a select to retrieve the values of any generated properties back from the database, injecting these generated values into the given entity as well as writing this state to the persistence context.
Public methodResetIdentifier
Set the identifier and version of the given instance back to its "unsaved" value, returning the id
Public methodSetIdentifier
Set the identifier of an instance (or do nothing if no identifier property)
Public methodSetPropertyValue
Set the value of a particular property
Public methodSetPropertyValues
Set the given values to the mapped properties of the given object
Public methodUpdate
Update a persistent instance

See Also