|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use LockMode | |
---|---|
org.hibernate | This package defines the central Hibernate APIs. |
org.hibernate.criterion | A framework for defining restriction criteria and order criteria. |
org.hibernate.dialect | This package abstracts the SQL dialect of the underlying database. |
org.hibernate.dialect.lock | |
org.hibernate.ejb | |
org.hibernate.ejb.util | |
org.hibernate.engine.internal | |
org.hibernate.engine.query.spi.sql | |
org.hibernate.engine.spi | |
org.hibernate.envers.query | |
org.hibernate.envers.query.impl | |
org.hibernate.event.internal | This package defines a default set of event listeners that implements the default behaviors of Hibernate. |
org.hibernate.event.spi | |
org.hibernate.hql.internal.classic | This package contains the Hibernate 2.x query parser which is being end-of-lifed. |
org.hibernate.internal | An internal package containing mostly implementations of central Hibernate APIs. |
org.hibernate.internal.util.collections | |
org.hibernate.loader | This package defines functionality for processing JDBC result sets and returning complex graphs of persistent objects. |
org.hibernate.loader.criteria | This package defines the criteria query compiler and loader |
org.hibernate.loader.custom | This package defines a framework for custom loaders that accept handwritten SQL |
org.hibernate.loader.entity | This package defines entity loaders |
org.hibernate.loader.hql | This package defines a loader for the AST-based query parser |
org.hibernate.persister.entity | This package abstracts persistence mechanisms for entities, and defines the Hibernate runtime metamodel. |
org.hibernate.sql | This package defines helper classes for rendering SQL fragments and SQL statements. |
Uses of LockMode in org.hibernate |
---|
Methods in org.hibernate that return LockMode | |
---|---|
LockMode |
LockOptions.getAliasSpecificLockMode(String alias)
Get the LockMode explicitly specified for the given alias via
LockOptions.setAliasSpecificLockMode(java.lang.String, org.hibernate.LockMode)
Differs from LockOptions.getEffectiveLockMode(java.lang.String) in that here we only return
explicitly specified alias-specific lock modes. |
LockMode |
Session.getCurrentLockMode(Object object)
Determine the current lock mode of the given object. |
LockMode |
LockOptions.getEffectiveLockMode(String alias)
Determine the LockMode to apply to the given alias. |
LockMode |
Session.LockRequest.getLockMode()
Get the lock mode. |
LockMode |
LockOptions.getLockMode()
Retrieve the overall lock mode in effect for this set of options. |
static LockMode |
LockMode.valueOf(String name)
Returns the enum constant of this type with the specified name. |
static LockMode[] |
LockMode.values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods in org.hibernate with parameters of type LockMode | |
---|---|
SQLQuery |
SQLQuery.addEntity(String tableAlias,
Class entityName,
LockMode lockMode)
Declare a "root" entity, specifying a lock mode |
SQLQuery |
SQLQuery.addEntity(String tableAlias,
String entityName,
LockMode lockMode)
Declare a "root" entity, specifying a lock mode |
SQLQuery |
SQLQuery.addJoin(String tableAlias,
String path,
LockMode lockMode)
Declare a join fetch result, specifying a lock mode |
Object |
StatelessSession.get(Class entityClass,
Serializable id,
LockMode lockMode)
Retrieve a row, obtaining the specified lock mode. |
Object |
Session.get(Class clazz,
Serializable id,
LockMode lockMode)
Deprecated. LockMode parameter should be replaced with LockOptions |
Object |
StatelessSession.get(String entityName,
Serializable id,
LockMode lockMode)
Retrieve a row, obtaining the specified lock mode. |
Object |
Session.get(String entityName,
Serializable id,
LockMode lockMode)
Deprecated. LockMode parameter should be replaced with LockOptions |
boolean |
LockMode.greaterThan(LockMode mode)
Check if this lock mode is more restrictive than the given lock mode. |
boolean |
LockMode.lessThan(LockMode mode)
Check if this lock mode is less restrictive than the given lock mode. |
Object |
Session.load(Class theClass,
Serializable id,
LockMode lockMode)
Deprecated. LockMode parameter should be replaced with LockOptions |
Object |
Session.load(String entityName,
Serializable id,
LockMode lockMode)
Deprecated. LockMode parameter should be replaced with LockOptions |
void |
Session.lock(Object object,
LockMode lockMode)
Deprecated. instead call buildLockRequest(LockMode).lock(object) |
void |
Session.lock(String entityName,
Object object,
LockMode lockMode)
Deprecated. instead call buildLockRequest(LockMode).lock(entityName, object) |
void |
StatelessSession.refresh(Object entity,
LockMode lockMode)
Refresh the entity instance state from the database. |
void |
Session.refresh(Object object,
LockMode lockMode)
Deprecated. LockMode parameter should be replaced with LockOptions |
void |
StatelessSession.refresh(String entityName,
Object entity,
LockMode lockMode)
Refresh the entity instance state from the database. |
LockOptions |
LockOptions.setAliasSpecificLockMode(String alias,
LockMode lockMode)
Specify the LockMode to be used for a specific query alias. |
Session.LockRequest |
Session.LockRequest.setLockMode(LockMode lockMode)
Specify the LockMode to be used. |
Criteria |
Criteria.setLockMode(LockMode lockMode)
Set the lock mode of the current entity |
SQLQuery.RootReturn |
SQLQuery.RootReturn.setLockMode(LockMode lockMode)
Set the lock mode for this return |
SQLQuery.FetchReturn |
SQLQuery.FetchReturn.setLockMode(LockMode lockMode)
Set the lock mode for this return |
LockOptions |
LockOptions.setLockMode(LockMode lockMode)
Set the overall LockMode to be used. |
Criteria |
Criteria.setLockMode(String alias,
LockMode lockMode)
Set the lock mode of the aliased entity |
Query |
Query.setLockMode(String alias,
LockMode lockMode)
Set the lockmode for the objects idententified by the given alias that appears in the FROM clause. |
Constructors in org.hibernate with parameters of type LockMode | |
---|---|
LockOptions(LockMode lockMode)
|
Uses of LockMode in org.hibernate.criterion |
---|
Methods in org.hibernate.criterion with parameters of type LockMode | |
---|---|
DetachedCriteria |
DetachedCriteria.setLockMode(LockMode lockMode)
|
DetachedCriteria |
DetachedCriteria.setLockMode(String alias,
LockMode lockMode)
|
Uses of LockMode in org.hibernate.dialect |
---|
Methods in org.hibernate.dialect with parameters of type LockMode | |
---|---|
String |
SQLServerDialect.appendLockHint(LockMode mode,
String tableName)
|
String |
Dialect.appendLockHint(LockMode mode,
String tableName)
Some dialects support an alternative means to SELECT FOR UPDATE, whereby a "lock hint" is appends to the table name in the from clause. |
String |
SQLServer2005Dialect.appendLockHint(LockMode mode,
String tableName)
|
String |
SybaseASE157Dialect.appendLockHint(LockMode mode,
String tableName)
|
String |
Dialect.getForUpdateString(LockMode lockMode)
Given a lock mode, determine the appropriate for update fragment to use. |
LockingStrategy |
TimesTenDialect.getLockingStrategy(Lockable lockable,
LockMode lockMode)
|
LockingStrategy |
RDMSOS2200Dialect.getLockingStrategy(Lockable lockable,
LockMode lockMode)
|
LockingStrategy |
MckoiDialect.getLockingStrategy(Lockable lockable,
LockMode lockMode)
|
LockingStrategy |
FrontBaseDialect.getLockingStrategy(Lockable lockable,
LockMode lockMode)
|
LockingStrategy |
Dialect.getLockingStrategy(Lockable lockable,
LockMode lockMode)
Get a strategy instance which knows how to acquire a database-level lock of the specified mode for this dialect. |
LockingStrategy |
HSQLDialect.getLockingStrategy(Lockable lockable,
LockMode lockMode)
For HSQLDB 2.0, this is a copy of the base class implementation. |
LockingStrategy |
PointbaseDialect.getLockingStrategy(Lockable lockable,
LockMode lockMode)
|
LockingStrategy |
Cache71Dialect.getLockingStrategy(Lockable lockable,
LockMode lockMode)
|
Constructors in org.hibernate.dialect with parameters of type LockMode | |
---|---|
HSQLDialect.ReadUncommittedLockingStrategy(Lockable lockable,
LockMode lockMode)
|
Uses of LockMode in org.hibernate.dialect.lock |
---|
Methods in org.hibernate.dialect.lock that return LockMode | |
---|---|
protected LockMode |
OptimisticLockingStrategy.getLockMode()
|
protected LockMode |
UpdateLockingStrategy.getLockMode()
|
protected LockMode |
PessimisticReadUpdateLockingStrategy.getLockMode()
|
protected LockMode |
PessimisticWriteUpdateLockingStrategy.getLockMode()
|
protected LockMode |
PessimisticForceIncrementLockingStrategy.getLockMode()
Retrieve the specific lock mode defined. |
protected LockMode |
OptimisticForceIncrementLockingStrategy.getLockMode()
|
protected LockMode |
AbstractSelectLockingStrategy.getLockMode()
|
Constructors in org.hibernate.dialect.lock with parameters of type LockMode | |
---|---|
AbstractSelectLockingStrategy(Lockable lockable,
LockMode lockMode)
|
|
OptimisticForceIncrementLockingStrategy(Lockable lockable,
LockMode lockMode)
Construct locking strategy. |
|
OptimisticLockingStrategy(Lockable lockable,
LockMode lockMode)
Construct locking strategy. |
|
PessimisticForceIncrementLockingStrategy(Lockable lockable,
LockMode lockMode)
Construct locking strategy. |
|
PessimisticReadSelectLockingStrategy(Lockable lockable,
LockMode lockMode)
Construct a locking strategy based on SQL SELECT statements. |
|
PessimisticReadUpdateLockingStrategy(Lockable lockable,
LockMode lockMode)
Construct a locking strategy based on SQL UPDATE statements. |
|
PessimisticWriteSelectLockingStrategy(Lockable lockable,
LockMode lockMode)
Construct a locking strategy based on SQL SELECT statements. |
|
PessimisticWriteUpdateLockingStrategy(Lockable lockable,
LockMode lockMode)
Construct a locking strategy based on SQL UPDATE statements. |
|
SelectLockingStrategy(Lockable lockable,
LockMode lockMode)
Construct a locking strategy based on SQL SELECT statements. |
|
UpdateLockingStrategy(Lockable lockable,
LockMode lockMode)
Construct a locking strategy based on SQL UPDATE statements. |
Uses of LockMode in org.hibernate.ejb |
---|
Methods in org.hibernate.ejb with parameters of type LockMode | |
---|---|
protected void |
QueryImpl.applyAliasSpecificLockMode(String alias,
LockMode lockMode)
|
protected abstract void |
AbstractQueryImpl.applyAliasSpecificLockMode(String alias,
LockMode lockMode)
|
Uses of LockMode in org.hibernate.ejb.util |
---|
Methods in org.hibernate.ejb.util that return LockMode | |
---|---|
static LockMode |
LockModeTypeHelper.getLockMode(LockModeType lockMode)
|
static LockMode |
LockModeTypeHelper.interpretLockMode(Object value)
|
Methods in org.hibernate.ejb.util with parameters of type LockMode | |
---|---|
static LockModeType |
LockModeTypeHelper.getLockModeType(LockMode lockMode)
|
Uses of LockMode in org.hibernate.engine.internal |
---|
Methods in org.hibernate.engine.internal with parameters of type LockMode | |
---|---|
EntityEntry |
StatefulPersistenceContext.addEntity(Object entity,
Status status,
Object[] loadedState,
EntityKey entityKey,
Object version,
LockMode lockMode,
boolean existsInDatabase,
EntityPersister persister,
boolean disableVersionIncrement,
boolean lazyPropertiesAreUnfetched)
Adds an entity to the internal caches. |
EntityEntry |
StatefulPersistenceContext.addEntry(Object entity,
Status status,
Object[] loadedState,
Object rowId,
Serializable id,
Object version,
LockMode lockMode,
boolean existsInDatabase,
EntityPersister persister,
boolean disableVersionIncrement,
boolean lazyPropertiesAreUnfetched)
Generates an appropriate EntityEntry instance and adds it to the event source's internal caches. |
static void |
TwoPhaseLoad.addUninitializedCachedEntity(EntityKey key,
Object object,
EntityPersister persister,
LockMode lockMode,
boolean lazyPropertiesAreUnfetched,
Object version,
SessionImplementor session)
|
static void |
TwoPhaseLoad.addUninitializedEntity(EntityKey key,
Object object,
EntityPersister persister,
LockMode lockMode,
boolean lazyPropertiesAreUnfetched,
SessionImplementor session)
Add an uninitialized instance of an entity class, as a placeholder to ensure object identity. |
static void |
TwoPhaseLoad.postHydrate(EntityPersister persister,
Serializable id,
Object[] values,
Object rowId,
Object object,
LockMode lockMode,
boolean lazyPropertiesAreUnfetched,
SessionImplementor session)
Register the "hydrated" state of an entity instance, after the first step of 2-phase loading. |
Uses of LockMode in org.hibernate.engine.query.spi.sql |
---|
Methods in org.hibernate.engine.query.spi.sql that return LockMode | |
---|---|
LockMode |
NativeSQLQueryNonScalarReturn.getLockMode()
Retrieve the lock-mode to apply to this return |
Constructors in org.hibernate.engine.query.spi.sql with parameters of type LockMode | |
---|---|
NativeSQLQueryCollectionReturn(String alias,
String ownerEntityName,
String ownerProperty,
Map propertyResults,
LockMode lockMode)
Construct a native-sql return representing a collection initializer |
|
NativeSQLQueryJoinReturn(String alias,
String ownerAlias,
String ownerProperty,
Map propertyResults,
LockMode lockMode)
Construct a return descriptor representing some form of fetch. |
|
NativeSQLQueryNonScalarReturn(String alias,
Map<String,String[]> propertyResults,
LockMode lockMode)
Constructs some form of non-scalar return descriptor |
|
NativeSQLQueryRootReturn(String alias,
String entityName,
LockMode lockMode)
Construct a return representing an entity returned at the root of the result. |
|
NativeSQLQueryRootReturn(String alias,
String entityName,
Map<String,String[]> propertyResults,
LockMode lockMode)
|
Uses of LockMode in org.hibernate.engine.spi |
---|
Methods in org.hibernate.engine.spi that return LockMode | |
---|---|
LockMode |
EntityEntry.getLockMode()
|
Methods in org.hibernate.engine.spi with parameters of type LockMode | |
---|---|
EntityEntry |
PersistenceContext.addEntity(Object entity,
Status status,
Object[] loadedState,
EntityKey entityKey,
Object version,
LockMode lockMode,
boolean existsInDatabase,
EntityPersister persister,
boolean disableVersionIncrement,
boolean lazyPropertiesAreUnfetched)
Adds an entity to the internal caches. |
EntityEntry |
PersistenceContext.addEntry(Object entity,
Status status,
Object[] loadedState,
Object rowId,
Serializable id,
Object version,
LockMode lockMode,
boolean existsInDatabase,
EntityPersister persister,
boolean disableVersionIncrement,
boolean lazyPropertiesAreUnfetched)
Generates an appropriate EntityEntry instance and adds it to the event source's internal caches. |
void |
EntityEntry.setLockMode(LockMode lockMode)
|
Constructors in org.hibernate.engine.spi with parameters of type LockMode | |
---|---|
EntityEntry(Status status,
Object[] loadedState,
Object rowId,
Serializable id,
Object version,
LockMode lockMode,
boolean existsInDatabase,
EntityPersister persister,
EntityMode entityMode,
String tenantId,
boolean disableVersionIncrement,
boolean lazyPropertiesAreUnfetched,
PersistenceContext persistenceContext)
|
Uses of LockMode in org.hibernate.envers.query |
---|
Methods in org.hibernate.envers.query with parameters of type LockMode | |
---|---|
AuditQuery |
AuditQuery.setLockMode(LockMode lockMode)
|
Uses of LockMode in org.hibernate.envers.query.impl |
---|
Methods in org.hibernate.envers.query.impl with parameters of type LockMode | |
---|---|
AuditQuery |
AbstractAuditQuery.setLockMode(LockMode lockMode)
Deprecated. Instead use setLockOptions |
Uses of LockMode in org.hibernate.event.internal |
---|
Fields in org.hibernate.event.internal declared as LockMode | |
---|---|
static LockMode |
DefaultLoadEventListener.DEFAULT_LOCK_MODE
|
Uses of LockMode in org.hibernate.event.spi |
---|
Fields in org.hibernate.event.spi declared as LockMode | |
---|---|
static LockMode |
ResolveNaturalIdEvent.DEFAULT_LOCK_MODE
|
static LockMode |
LoadEvent.DEFAULT_LOCK_MODE
|
Methods in org.hibernate.event.spi that return LockMode | |
---|---|
LockMode |
LockEvent.getLockMode()
|
LockMode |
LoadEvent.getLockMode()
|
LockMode |
RefreshEvent.getLockMode()
|
Methods in org.hibernate.event.spi with parameters of type LockMode | |
---|---|
void |
LockEvent.setLockMode(LockMode lockMode)
|
void |
LoadEvent.setLockMode(LockMode lockMode)
|
Constructors in org.hibernate.event.spi with parameters of type LockMode | |
---|---|
LoadEvent(Serializable entityId,
String entityClassName,
LockMode lockMode,
EventSource source)
|
|
LockEvent(Object object,
LockMode lockMode,
EventSource source)
|
|
LockEvent(String entityName,
Object original,
LockMode lockMode,
EventSource source)
|
|
RefreshEvent(Object object,
LockMode lockMode,
EventSource source)
|
Uses of LockMode in org.hibernate.hql.internal.classic |
---|
Methods in org.hibernate.hql.internal.classic that return LockMode | |
---|---|
protected LockMode[] |
QueryTranslatorImpl.getLockModes(LockOptions lockOptions)
|
Uses of LockMode in org.hibernate.internal |
---|
Methods in org.hibernate.internal that return LockMode | |
---|---|
LockMode |
SessionImpl.getCurrentLockMode(Object object)
|
LockMode |
CriteriaImpl.Subcriteria.getLockMode()
|
Methods in org.hibernate.internal with parameters of type LockMode | |
---|---|
SQLQuery |
SQLQueryImpl.addEntity(String alias,
Class entityClass,
LockMode lockMode)
|
SQLQuery |
SQLQueryImpl.addEntity(String alias,
String entityName,
LockMode lockMode)
|
SQLQuery |
SQLQueryImpl.addJoin(String alias,
String path,
LockMode lockMode)
|
Object |
StatelessSessionImpl.get(Class entityClass,
Serializable id,
LockMode lockMode)
|
Object |
SessionImpl.get(Class entityClass,
Serializable id,
LockMode lockMode)
|
Object |
StatelessSessionImpl.get(String entityName,
Serializable id,
LockMode lockMode)
|
Object |
SessionImpl.get(String entityName,
Serializable id,
LockMode lockMode)
|
Object |
SessionImpl.load(Class entityClass,
Serializable id,
LockMode lockMode)
|
Object |
SessionImpl.load(String entityName,
Serializable id,
LockMode lockMode)
|
void |
SessionImpl.lock(Object object,
LockMode lockMode)
|
void |
SessionImpl.lock(String entityName,
Object object,
LockMode lockMode)
|
void |
StatelessSessionImpl.refresh(Object entity,
LockMode lockMode)
|
void |
SessionImpl.refresh(Object object,
LockMode lockMode)
|
void |
StatelessSessionImpl.refresh(String entityName,
Object entity,
LockMode lockMode)
|
Criteria |
CriteriaImpl.setLockMode(LockMode lockMode)
|
Criteria |
CriteriaImpl.Subcriteria.setLockMode(LockMode lockMode)
|
Criteria |
CriteriaImpl.setLockMode(String alias,
LockMode lockMode)
|
Criteria |
CriteriaImpl.Subcriteria.setLockMode(String alias,
LockMode lockMode)
|
Query |
QueryImpl.setLockMode(String alias,
LockMode lockMode)
|
Query |
SQLQueryImpl.setLockMode(String alias,
LockMode lockMode)
|
Uses of LockMode in org.hibernate.internal.util.collections |
---|
Methods in org.hibernate.internal.util.collections that return LockMode | |
---|---|
static LockMode[] |
ArrayHelper.fillArray(LockMode lockMode,
int length)
|
Methods in org.hibernate.internal.util.collections with parameters of type LockMode | |
---|---|
static LockMode[] |
ArrayHelper.fillArray(LockMode lockMode,
int length)
|
Uses of LockMode in org.hibernate.loader |
---|
Fields in org.hibernate.loader declared as LockMode | |
---|---|
protected LockMode[] |
OuterJoinLoader.lockModeArray
|
protected LockMode[] |
JoinWalker.lockModeArray
|
Methods in org.hibernate.loader that return LockMode | |
---|---|
LockMode[] |
JoinWalker.getLockModeArray()
|
protected abstract LockMode[] |
Loader.getLockModes(LockOptions lockOptions)
What lock options does this load entities with? |
protected LockMode[] |
OuterJoinLoader.getLockModes(LockOptions lockOptions)
|
Methods in org.hibernate.loader with parameters of type LockMode | |
---|---|
protected void |
Loader.applyPostLoadLocks(Object[] row,
LockMode[] lockModesArray,
SessionImplementor session)
|
protected void |
Loader.extractKeysFromResultSet(Loadable[] persisters,
QueryParameters queryParameters,
ResultSet resultSet,
SessionImplementor session,
EntityKey[] keys,
LockMode[] lockModes,
List hydratedObjects)
|
protected void |
JoinWalker.initPersisters(List associations,
LockMode lockMode)
|
Uses of LockMode in org.hibernate.loader.criteria |
---|
Methods in org.hibernate.loader.criteria that return LockMode | |
---|---|
protected LockMode[] |
CriteriaLoader.getLockModes(LockOptions lockOptions)
|
Uses of LockMode in org.hibernate.loader.custom |
---|
Methods in org.hibernate.loader.custom that return LockMode | |
---|---|
LockMode |
NonScalarReturn.getLockMode()
|
protected LockMode[] |
CustomLoader.getLockModes(LockOptions lockOptions)
|
Constructors in org.hibernate.loader.custom with parameters of type LockMode | |
---|---|
CollectionFetchReturn(String alias,
NonScalarReturn owner,
String ownerProperty,
CollectionAliases collectionAliases,
EntityAliases elementEntityAliases,
LockMode lockMode)
|
|
CollectionReturn(String alias,
String ownerEntityName,
String ownerProperty,
CollectionAliases collectionAliases,
EntityAliases elementEntityAliases,
LockMode lockMode)
|
|
EntityFetchReturn(String alias,
EntityAliases entityAliases,
NonScalarReturn owner,
String ownerProperty,
LockMode lockMode)
|
|
FetchReturn(NonScalarReturn owner,
String ownerProperty,
String alias,
LockMode lockMode)
Creates a return descriptor for an association fetch. |
|
NonScalarReturn(String alias,
LockMode lockMode)
|
|
RootReturn(String alias,
String entityName,
EntityAliases entityAliases,
LockMode lockMode)
|
Uses of LockMode in org.hibernate.loader.entity |
---|
Methods in org.hibernate.loader.entity with parameters of type LockMode | |
---|---|
static UniqueEntityLoader |
BatchingEntityLoader.createBatchingEntityLoader(OuterJoinLoadable persister,
int maxBatchSize,
LockMode lockMode,
SessionFactoryImplementor factory,
LoadQueryInfluencers loadQueryInfluencers)
|
Constructors in org.hibernate.loader.entity with parameters of type LockMode | |
---|---|
EntityJoinWalker(OuterJoinLoadable persister,
String[] uniqueKey,
int batchSize,
LockMode lockMode,
SessionFactoryImplementor factory,
LoadQueryInfluencers loadQueryInfluencers)
|
|
EntityLoader(OuterJoinLoadable persister,
int batchSize,
LockMode lockMode,
SessionFactoryImplementor factory,
LoadQueryInfluencers loadQueryInfluencers)
|
|
EntityLoader(OuterJoinLoadable persister,
LockMode lockMode,
SessionFactoryImplementor factory,
LoadQueryInfluencers loadQueryInfluencers)
|
|
EntityLoader(OuterJoinLoadable persister,
String[] uniqueKey,
Type uniqueKeyType,
int batchSize,
LockMode lockMode,
SessionFactoryImplementor factory,
LoadQueryInfluencers loadQueryInfluencers)
|
Uses of LockMode in org.hibernate.loader.hql |
---|
Methods in org.hibernate.loader.hql that return LockMode | |
---|---|
protected LockMode[] |
QueryLoader.getLockModes(LockOptions lockOptions)
|
Methods in org.hibernate.loader.hql with parameters of type LockMode | |
---|---|
protected void |
QueryLoader.applyPostLoadLocks(Object[] row,
LockMode[] lockModesArray,
SessionImplementor session)
|
Uses of LockMode in org.hibernate.persister.entity |
---|
Methods in org.hibernate.persister.entity with parameters of type LockMode | |
---|---|
protected UniqueEntityLoader |
AbstractEntityPersister.createEntityLoader(LockMode lockMode)
|
protected UniqueEntityLoader |
AbstractEntityPersister.createEntityLoader(LockMode lockMode,
LoadQueryInfluencers loadQueryInfluencers)
|
protected LockingStrategy |
AbstractEntityPersister.generateLocker(LockMode lockMode)
|
protected String |
UnionSubclassEntityPersister.generateSelectString(LockMode lockMode)
Generate the SQL that selects a row by id |
Object |
EntityPersister.load(Serializable id,
Object optionalObject,
LockMode lockMode,
SessionImplementor session)
Load an instance of the persistent class. |
Object |
AbstractEntityPersister.load(Serializable id,
Object optionalObject,
LockMode lockMode,
SessionImplementor session)
Load an instance using either the forUpdateLoader or the outer joining loader, depending upon the value of the lock parameter |
void |
EntityPersister.lock(Serializable id,
Object version,
Object object,
LockMode lockMode,
SessionImplementor session)
Do a version check (optional operation) |
void |
AbstractEntityPersister.lock(Serializable id,
Object version,
Object object,
LockMode lockMode,
SessionImplementor session)
|
Uses of LockMode in org.hibernate.sql |
---|
Methods in org.hibernate.sql that return LockMode | |
---|---|
LockMode |
Select.getLockMode()
Deprecated. Instead use getLockOptions |
Methods in org.hibernate.sql with parameters of type LockMode | |
---|---|
SimpleSelect |
SimpleSelect.setLockMode(LockMode lockMode)
|
Select |
Select.setLockMode(LockMode lockMode)
Deprecated. Instead use setLockOptions |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |