程序包 org.hibernate.id
接口 PostInsertIdentityPersister
-
- 所有超级接口:
AttributeSource,EntityDefinition,EntityPersister
- 所有已知实现类:
AbstractEntityPersister,JoinedSubclassEntityPersister,SingleTableEntityPersister,UnionSubclassEntityPersister
public interface PostInsertIdentityPersister extends EntityPersister
A persister that may have an identity assigned by execution of a SQL INSERT.- 作者:
- Gavin King
-
-
字段概要
-
从接口继承的字段 org.hibernate.persister.entity.EntityPersister
ENTITY_ID
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 String[]getIdentifierColumnNames()StringgetIdentitySelectString()Get the database-specific SQL command to retrieve the last generated IDENTITY value.String[]getRootTableKeyColumnNames()The names of the primary key columns in the root table.StringgetSelectByUniqueKeyString(String propertyName)Get a SQL select string that performs a select based on a unique key determined by the given property name).-
从接口继承的方法 org.hibernate.persister.walking.spi.AttributeSource
getAttributes
-
从接口继承的方法 org.hibernate.persister.walking.spi.EntityDefinition
getEntityKeyDefinition, getEntityPersister
-
从接口继承的方法 org.hibernate.persister.entity.EntityPersister
afterInitialize, afterReassociate, buildCacheEntry, canExtractIdOutOfEntity, canIdentityInsertBeDelayed, 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, load, load, loadEntityIdByNaturalId, lock, lock, multiLoad, postInstantiate, processInsertGeneratedProperties, processUpdateGeneratedProperties, resetIdentifier, resolveAttributeIndexes, setIdentifier, setPropertyValue, setPropertyValues, update
-
-
-
-
方法详细资料
-
getSelectByUniqueKeyString
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.- 返回:
- The SQL select string
-
getIdentitySelectString
String getIdentitySelectString()
Get the database-specific SQL command to retrieve the last generated IDENTITY value.- 返回:
- The SQL command string
-
getIdentifierColumnNames
String[] getIdentifierColumnNames()
-
getRootTableKeyColumnNames
String[] getRootTableKeyColumnNames()
The names of the primary key columns in the root table.- 返回:
- The primary key column names.
-
-