The ISqlLoadable type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() | CreateProxy |
Create a new proxy instance
(Inherited from IEntityPersister.) |
![]() | Delete |
Delete a persistent instance
(Inherited from IEntityPersister.) |
![]() | FindDirty |
Compare two snapshots of the state of an instance to determine if the persistent state
was modified
(Inherited from IEntityPersister.) |
![]() | FindModified |
Compare the state of an instance to the current database state
(Inherited from IEntityPersister.) |
![]() | GetCurrentVersion |
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.
(Inherited from IEntityPersister.) |
![]() | GetDatabaseSnapshot |
Get the current database state of the object, in a "hydrated" form, without resolving identifiers
(Inherited from IEntityPersister.) |
![]() | GetDiscriminatorAlias |
Get the alias used for the discriminator column, given a suffix
(Inherited from ILoadable.) |
![]() | GetIdentifier |
Get the identifier of an instance ( throw an exception if no identifier property)
(Inherited from IEntityPersister.) |
![]() | GetIdentifierAliases |
Get the result set aliases used for the identifier columns, given a suffix
(Inherited from ILoadable.) |
![]() | GetPropertyAliases |
Get the result set aliases used for the property columns, given a suffix (properties of this class, only).
(Inherited from ILoadable.) |
![]() | GetPropertyColumnNames |
Get the result set column names mapped for this property (properties of this class, only).
(Inherited from ILoadable.) |
![]() | GetPropertyType |
Get the type of a particular property
(Inherited from IEntityPersister.) |
![]() | GetPropertyValue | Overloaded. |
![]() | GetPropertyValues |
Return the values of the mapped properties of the object
(Inherited from IEntityPersister.) |
![]() | GetSubclassForDiscriminatorValue |
Get the concrete subclass corresponding to the given discriminator value
(Inherited from ILoadable.) |
![]() | GetSubclassPropertyColumnAliases |
Returns the column alias names used to persist/query the numbered property of the class or a subclass (optional operation).
|
![]() | GetVersion |
Get the version number (or timestamp) from the object's version property (or return null if not versioned)
(Inherited from IEntityPersister.) |
![]() | Insert | Overloaded. |
![]() | Instantiate |
Create a class instance initialized with the given identifier
(Inherited from IEntityPersister.) |
![]() | IsInstance |
Determines whether the specified entity is an instance of the class
managed by this persister.
(Inherited from IEntityPersister.) |
![]() | IsUnsaved |
Is this a new transient instance?
(Inherited from IEntityPersister.) |
![]() | IsUnsavedVersion | |
![]() | Load |
Load an insatance of the persistent class.
(Inherited from IEntityPersister.) |
![]() | Lock |
Do a version check (optional operation)
(Inherited from IEntityPersister.) |
![]() | PostInstantiate |
Finish the initialization of this object, once all ClassPersisters have been
instantiated. Called only once, before any other method.
(Inherited from IEntityPersister.) |
![]() | ProcessInsertGeneratedProperties |
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.
(Inherited from IEntityPersister.) |
![]() | ProcessUpdateGeneratedProperties |
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.
(Inherited from IEntityPersister.) |
![]() | SelectFragment |
All columns to select, when loading.
|
![]() | SetIdentifier |
Set the identifier of an instance (or do nothing if no identifier property)
(Inherited from IEntityPersister.) |
![]() | SetPropertyValue |
Set the value of a particular property
(Inherited from IEntityPersister.) |
![]() | SetPropertyValues |
Set the given values to the mapped properties of the given object
(Inherited from IEntityPersister.) |
![]() | Update |
Update a persistent instance
(Inherited from IEntityPersister.) |
Properties
Name | Description | |
---|---|---|
![]() | Cache |
Get the cache (optional operation)
(Inherited from IEntityPersister.) |
![]() | ClassMetadata |
Get the user-visible metadata for the class (optional operation)
(Inherited from IEntityPersister.) |
![]() | ClassName |
The classname of the persistent class (used only for messages)
(Inherited from IEntityPersister.) |
![]() | ConcreteProxyClass |
Get the proxy interface that instances of this concrete class will be cast to
(Inherited from IEntityPersister.) |
![]() | DiscriminatorColumnName |
Get the name of the column used as a discriminator
(Inherited from ILoadable.) |
![]() | DiscriminatorType |
The discriminator type
(Inherited from ILoadable.) |
![]() | Factory |
The session factory this instance is associated with.
(Inherited from IEntityPersister.) |
![]() | HasCache |
Does this class have a cache?
(Inherited from IEntityPersister.) |
![]() | HasCascades |
Does this class declare any cascading save/update/deletes?
(Inherited from IEntityPersister.) |
![]() | HasCollections |
Do instances of this class contain collections?
(Inherited from IEntityPersister.) |
![]() | HasIdentifierProperty |
Does the class have a property holding the identifier value?
(Inherited from IEntityPersister.) |
![]() | HasIdentifierPropertyOrEmbeddedCompositeIdentifier |
Gets if the Type has a Property for the <id> or uses a <composite-id>
to store the id.
(Inherited from IEntityPersister.) |
![]() | HasInsertGeneratedProperties |
Does this entity define any properties as being database-generated on insert?
(Inherited from IEntityPersister.) |
![]() | HasProxy |
Does this class support dynamic proxies?
(Inherited from IEntityPersister.) |
![]() | HasSubclasses |
Does the persistent class have subclasses?
(Inherited from ILoadable.) |
![]() | HasSubselectLoadableCollections |
Does this entity own any collections which are fetchable by subselect?
(Inherited from ILoadable.) |
![]() | HasUpdateGeneratedProperties |
Does this entity define any properties as being database-generated on update?
(Inherited from IEntityPersister.) |
![]() | IdentifierColumnNames |
Get the names of columns used to persist the identifier
(Inherited from ILoadable.) |
![]() | IdentifierGenerator |
Return the IIdentifierGenerator for the class
(Inherited from IEntityPersister.) |
![]() | IdentifierPropertyName |
Get the name of the indentifier property (or return null) - need not return the
name of an actual .NET property
(Inherited from IEntityPersister.) |
![]() | IdentifierSpace |
Returns an object that identifies the space in which identifiers of this class hierarchy
are unique. eg. a table name, etc.
(Inherited from IEntityPersister.) |
![]() | IdentifierType |
Get the identifier type
(Inherited from IEntityPersister.) |
![]() | ImplementsLifecycle |
Does the class implement the ILifecycle inteface?
(Inherited from IEntityPersister.) |
![]() | ImplementsValidatable |
Does the class implement the IValidatable interface?
(Inherited from IEntityPersister.) |
![]() | IsBatchLoadable |
Is batch loading enabled?
(Inherited from IEntityPersister.) |
![]() | IsCacheInvalidationRequired |
Should we always invalidate the cache instead of recaching updated state
(Inherited from IEntityPersister.) |
![]() | IsIdentifierAssignedByInsert |
Is the identifier assigned before the insert by an IDGenerator or is it returned
by the Insert() method?
(Inherited from IEntityPersister.) |
![]() | IsMutable |
Are instances of this class mutable?
(Inherited from IEntityPersister.) |
![]() | IsVersioned |
Are instances of this class versioned by a timestamp or version number column?
(Inherited from IEntityPersister.) |
![]() | IsVersionPropertyGenerated |
Does this entity contain a version property that is defined
to be database generated?
(Inherited from IEntityPersister.) |
![]() | MappedClass |
The persistent class
(Inherited from IEntityPersister.) |
![]() | PropertyCascadeStyles |
Get the cascade styles of the properties (optional operation)
(Inherited from IEntityPersister.) |
![]() | PropertyCheckability |
Properties that may be dirty (and thus should be dirty-checked). These
include all updatable properties and some associations.
(Inherited from IEntityPersister.) |
![]() | PropertyInsertability |
Gets if the Property is insertable.
(Inherited from IEntityPersister.) |
![]() | PropertyNames |
Get the names of the class properties - doesn't have to be the names of the actual
.NET properties (used for XML generation only)
(Inherited from IEntityPersister.) |
![]() | PropertyNullability |
Get the nullability of the properties of this class
(Inherited from IEntityPersister.) |
![]() | PropertySpaces |
Returns an array of objects that identifies spaces in which properties of this class
instance are persisted. eg. table names.
(Inherited from IEntityPersister.) |
![]() | PropertyTypes |
Get the Hibernate types of the class properties
(Inherited from IEntityPersister.) |
![]() | PropertyUpdateability |
Gets if the Property is updatable
(Inherited from IEntityPersister.) |
![]() | PropertyVersionability |
Get the "versionability" of the properties of this class (is the property optimistic-locked)
(Inherited from IEntityPersister.) |
![]() | QuerySpaces |
Returns an array of objects that identify spaces in which properties of this class are persisted,
for instances of this class and its subclasses.
(Inherited from IEntityPersister.) |
![]() | Type |
Get the type
|
![]() | VersionProperty |
Which property holds the version number? (optional operation)
(Inherited from IEntityPersister.) |
![]() | VersionType |
Get the type of versioning (optional operation)
(Inherited from IEntityPersister.) |