Package org.hibernate.id
Interface PostInsertIdentityPersister
-
- All Superinterfaces:
AttributeSource
,EntityDefinition
,EntityPersister
- All Known Implementing Classes:
AbstractEntityPersister
,JoinedSubclassEntityPersister
,SingleTableEntityPersister
,UnionSubclassEntityPersister
public interface PostInsertIdentityPersister extends EntityPersister
A persister that may have an identity assigned by execution of a SQL INSERT.
-
-
Field Summary
-
Fields inherited from interface org.hibernate.persister.entity.EntityPersister
ENTITY_ID
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String[]
getIdentifierColumnNames()
java.lang.String
getIdentitySelectString()
Get the database-specific SQL command to retrieve the last generated IDENTITY value.java.lang.String[]
getRootTableKeyColumnNames()
The names of the primary key columns in the root table.java.lang.String
getSelectByUniqueKeyString(java.lang.String propertyName)
Get a SQL select string that performs a select based on a unique key determined by the given property name).-
Methods inherited from interface org.hibernate.persister.walking.spi.AttributeSource
getAttributes
-
Methods inherited from interface org.hibernate.persister.walking.spi.EntityDefinition
getEntityKeyDefinition, getEntityPersister
-
Methods inherited from interface org.hibernate.persister.entity.EntityPersister
afterInitialize, afterReassociate, buildCacheEntry, canExtractIdOutOfEntity, canReadFromCache, canUseReferenceCacheEntries, canWriteToCache, createProxy, delete, findDirty, findModified, forceVersionIncrement, generateEntityDefinition, getBytecodeEnhancementMetadata, getCacheAccessStrategy, getCacheEntryStructure, getClassMetadata, getConcreteProxyClass, getCurrentVersion, getDatabaseSnapshot, getEntityEntryFactory, getEntityMetamodel, getEntityMode, getEntityName, getEntityTuplizer, getFactory, getFilterAliasGenerator, getIdByUniqueKey, getIdentifier, getIdentifier, getIdentifierGenerator, getIdentifierPropertyName, getIdentifierType, getInstrumentationMetadata, getMappedClass, getNaturalIdCacheAccessStrategy, getNaturalIdentifierProperties, getNaturalIdentifierSnapshot, getNavigableRole, getPropertyCascadeStyles, getPropertyCheckability, getPropertyInsertability, getPropertyInsertGenerationInclusions, getPropertyLaziness, getPropertyNames, getPropertyNullability, getPropertySpaces, getPropertyType, getPropertyTypes, getPropertyUpdateability, getPropertyUpdateGenerationInclusions, getPropertyValue, getPropertyValue, getPropertyValues, getPropertyValuesToInsert, getPropertyVersionability, getQuerySpaces, getRootEntityName, getSubclassEntityPersister, getVersion, getVersionProperty, getVersionType, hasCache, hasCascades, hasCollections, hasIdentifierProperty, hasInsertGeneratedProperties, hasLazyProperties, hasMutableProperties, hasNaturalIdCache, hasNaturalIdentifier, hasProxy, hasSubselectLoadableCollections, hasUninitializedLazyProperties, hasUpdateGeneratedProperties, implementsLifecycle, initializeEnhancedEntityUsedAsProxy, insert, insert, instantiate, isBatchLoadable, isCacheInvalidationRequired, isIdentifierAssignedByInsert, isInherited, isInstance, isInstrumented, isLazyPropertiesCacheable, isMutable, isSelectBeforeUpdateRequired, isSubclassEntityName, isTransient, isVersioned, isVersionPropertyGenerated, load, load, loadEntityIdByNaturalId, lock, lock, multiLoad, postInstantiate, processInsertGeneratedProperties, processUpdateGeneratedProperties, resetIdentifier, resolveAttributeIndexes, setIdentifier, setPropertyValue, setPropertyValues, update
-
-
-
-
Method Detail
-
getSelectByUniqueKeyString
java.lang.String getSelectByUniqueKeyString(java.lang.String propertyName)
Get a SQL select string that performs a select based on a unique key determined by the given property name).- Parameters:
propertyName
- The name of the property which maps to the column(s) to use in the select statement restriction.- Returns:
- The SQL select string
-
getIdentitySelectString
java.lang.String getIdentitySelectString()
Get the database-specific SQL command to retrieve the last generated IDENTITY value.- Returns:
- The SQL command string
-
getIdentifierColumnNames
java.lang.String[] getIdentifierColumnNames()
-
getRootTableKeyColumnNames
java.lang.String[] getRootTableKeyColumnNames()
The names of the primary key columns in the root table.- Returns:
- The primary key column names.
-
-