public interface Lockable extends EntityPersister
LockingStrategy
.
Currently only the root table gets locked, except for the case of HQL and Criteria queries
against dialects which do not support either (1) FOR UPDATE OF or (2) support hint locking
(in which case *all* queried tables would be locked).hasIdentifierProperty
ENTITY_ID
Modifier and Type | Method and Description |
---|---|
String |
getRootTableAlias(String drivingAlias)
Get the SQL alias this persister would use for the root table
given the passed driving alias.
|
String[] |
getRootTableIdentifierColumnNames()
Get the names of columns on the root table used to persist the identifier.
|
String |
getRootTableName()
Locks are always applied to the "root table".
|
String |
getVersionColumnName()
For versioned entities, get the name of the column (again, expected on the
root table) used to store the version values.
|
afterInitialize, afterReassociate, buildCacheEntry, canExtractIdOutOfEntity, canUseReferenceCacheEntries, createProxy, delete, findDirty, findModified, forceVersionIncrement, generateEntityDefinition, getCacheAccessStrategy, getCacheEntryStructure, getClassMetadata, getConcreteProxyClass, getCurrentVersion, getDatabaseSnapshot, getEntityEntryFactory, getEntityMetamodel, getEntityMode, getEntityName, getEntityTuplizer, getFactory, getFilterAliasGenerator, getIdByUniqueKey, getIdentifier, getIdentifier, getIdentifierGenerator, getIdentifierPropertyName, getIdentifierType, getInstrumentationMetadata, getMappedClass, getNaturalIdCacheAccessStrategy, getNaturalIdentifierProperties, getNaturalIdentifierSnapshot, 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, insert, insert, instantiate, isBatchLoadable, isCacheInvalidationRequired, isIdentifierAssignedByInsert, isInherited, isInstance, isInstrumented, isLazyPropertiesCacheable, isMutable, isSelectBeforeUpdateRequired, isSubclassEntityName, isTransient, isVersioned, isVersionPropertyGenerated, load, load, loadEntityIdByNaturalId, lock, lock, postInstantiate, processInsertGeneratedProperties, processUpdateGeneratedProperties, resetIdentifier, resolveAttributeIndexes, setIdentifier, setPropertyValue, setPropertyValues, update
getVersionComparator
getEntityKeyDefinition, getEntityPersister
getAttributes
String getRootTableName()
String getRootTableAlias(String drivingAlias)
drivingAlias
- The driving alias; or the alias for the table
mapped by this persister in the hierarchy.String[] getRootTableIdentifierColumnNames()
String getVersionColumnName()
Copyright © 2016 JBoss by Red Hat. All rights reserved.