org.hibernate.id
Interface PostInsertIdentityPersister
- EntityPersister, OptimisticCacheSource
- AbstractEntityPersister, JoinedSubclassEntityPersister, SingleTableEntityPersister, UnionSubclassEntityPersister
public interface PostInsertIdentityPersister
A persister that may have an identity assigned by execution of
a SQL INSERT.
afterInitialize , afterReassociate , canExtractIdOutOfEntity , createProxy , delete , findDirty , findModified , forceVersionIncrement , getCacheAccessStrategy , getCacheEntryStructure , getClassMetadata , getConcreteProxyClass , getCurrentVersion , getDatabaseSnapshot , getEntityMetamodel , getEntityName , getFactory , getIdentifier , getIdentifierGenerator , getIdentifierPropertyName , getIdentifierType , getMappedClass , getNaturalIdentifierProperties , getNaturalIdentifierSnapshot , getPropertyCascadeStyles , getPropertyCheckability , getPropertyInsertGenerationInclusions , getPropertyInsertability , getPropertyLaziness , getPropertyNames , getPropertyNullability , getPropertySpaces , getPropertyType , getPropertyTypes , getPropertyUpdateGenerationInclusions , getPropertyUpdateability , getPropertyValue , getPropertyValue , getPropertyValues , getPropertyValuesToInsert , getPropertyVersionability , getQuerySpaces , getRootEntityName , getSubclassEntityPersister , getVersion , getVersionProperty , getVersionType , guessEntityMode , hasCache , hasCascades , hasCollections , hasIdentifierProperty , hasInsertGeneratedProperties , hasLazyProperties , hasMutableProperties , hasNaturalIdentifier , hasProxy , hasSubselectLoadableCollections , hasUninitializedLazyProperties , hasUpdateGeneratedProperties , implementsLifecycle , implementsValidatable , insert , insert , instantiate , isBatchLoadable , isCacheInvalidationRequired , isIdentifierAssignedByInsert , isInherited , isInstance , isInstrumented , isLazyPropertiesCacheable , isMutable , isSelectBeforeUpdateRequired , isSubclassEntityName , isTransient , isVersionPropertyGenerated , isVersioned , load , lock , postInstantiate , processInsertGeneratedProperties , processUpdateGeneratedProperties , resetIdentifier , setIdentifier , setPropertyValue , setPropertyValues , update |
getIdentitySelectString
public String getIdentitySelectString()
Get the database-specific SQL command to retrieve the last
generated IDENTITY value.
getRootTableKeyColumnNames
public String[] getRootTableKeyColumnNames()
The names of the primary key columns in the root table.
- The primary key column names.
getSelectByUniqueKeyString
public String getSelectByUniqueKeyString(String propertyName)
Get a SQL select string that performs a select based on a unique
key determined by the given property name).
propertyName
- The name of the property which maps to the
column(s) to use in the select statement restriction.