Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.hibernate.persister.entity
Interface Lockable  view Lockable download Lockable.java

All Superinterfaces:
EntityPersister, org.hibernate.cache.OptimisticCacheSource
All Known Implementing Classes:
AbstractEntityPersister

public interface Lockable
extends EntityPersister

Contract for things that can be locked via a org.hibernate.dialect.lock.LockingStrategy

Since:
3.2

Field Summary
 
Fields inherited from interface org.hibernate.persister.entity.EntityPersister
ENTITY_ID
 
Method Summary
 java.lang.String[] getRootTableIdentifierColumnNames()
          Get the names of columns on the root table used to persist the identifier.
 java.lang.String getRootTableName()
          Locks are always applied to the "root table".
 java.lang.String getVersionColumnName()
          For versioned entities, get the name of the column (again, expected on the root table) used to store the version values.
 
Methods inherited from interface org.hibernate.persister.entity.EntityPersister
afterInitialize, afterReassociate, canExtractIdOutOfEntity, createProxy, delete, findDirty, findModified, forceVersionIncrement, getCache, getCacheEntryStructure, getClassMetadata, getConcreteProxyClass, getCurrentVersion, getDatabaseSnapshot, getEntityName, getFactory, getIdentifier, getIdentifierGenerator, getIdentifierPropertyName, getIdentifierType, getMappedClass, getNaturalIdentifierProperties, getNaturalIdentifierSnapshot, getPropertyCascadeStyles, getPropertyCheckability, getPropertyInsertability, getPropertyInsertGeneration, getPropertyLaziness, getPropertyNames, getPropertyNullability, getPropertySpaces, getPropertyType, getPropertyTypes, getPropertyUpdateability, getPropertyUpdateGeneration, 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, isVersioned, isVersionPropertyGenerated, load, lock, postInstantiate, processInsertGeneratedProperties, processUpdateGeneratedProperties, resetIdentifier, setIdentifier, setPropertyValue, setPropertyValues, update
 
Methods inherited from interface org.hibernate.cache.OptimisticCacheSource
getVersionComparator
 

Method Detail

getRootTableName

public java.lang.String getRootTableName()
Locks are always applied to the "root table".


getRootTableIdentifierColumnNames

public java.lang.String[] getRootTableIdentifierColumnNames()
Get the names of columns on the root table used to persist the identifier.


getVersionColumnName

public java.lang.String getVersionColumnName()
For versioned entities, get the name of the column (again, expected on the root table) used to store the version values.