Package | Description |
---|---|
org.hibernate |
This package defines the central Hibernate APIs.
|
org.hibernate.boot.jaxb.hbm.spi | |
org.hibernate.cfg.annotations | |
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 |
Support for Dialect-specific locking strategies
|
org.hibernate.engine.query.spi.sql | |
org.hibernate.engine.spi | |
org.hibernate.event.spi | |
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.entity.plan | |
org.hibernate.loader.hql |
This package defines a loader for the AST-based query parser
|
org.hibernate.loader.plan.exec.process.spi | |
org.hibernate.loader.plan.exec.query.spi |
Defines the SPI for obtaining values for options that impact the load query.
|
org.hibernate.loader.plan.exec.spi |
Defines the SPI for the load query generated for the LoadPlan and the ResultSet processor.
|
org.hibernate.persister.entity |
This package abstracts persistence mechanisms for
entities, and defines the Hibernate runtime
metamodel.
|
org.hibernate.query | |
org.hibernate.query.spi | |
org.hibernate.sql |
This package defines helper classes for rendering SQL
fragments and SQL statements.
|
Modifier and Type | Method and Description |
---|---|
LockMode |
LockOptions.findGreatestLockMode()
Currently needed for follow-on locking.
|
static LockMode |
LockMode.fromExternalForm(java.lang.String externalForm) |
LockMode |
LockOptions.getAliasSpecificLockMode(java.lang.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(java.lang.Object object)
Determine the current lock mode of the given object.
|
LockMode |
LockOptions.getEffectiveLockMode(java.lang.String alias)
Determine the
LockMode to apply to the given alias. |
LockMode |
LockOptions.getLockMode()
Retrieve the overall lock mode in effect for this set of options.
|
LockMode |
Session.LockRequest.getLockMode()
Get the lock mode.
|
static LockMode |
LockMode.valueOf(java.lang.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.
|
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<java.util.Map.Entry<java.lang.String,LockMode>> |
LockOptions.getAliasLockIterator()
Iterator for accessing Alias (key) and LockMode (value) as Map.Entry.
|
java.lang.Iterable<java.util.Map.Entry<java.lang.String,LockMode>> |
LockOptions.getAliasSpecificLocks()
Iterable access to alias (key) and LockMode (value) as Map.Entry.
|
Modifier and Type | Method and Description |
---|---|
SQLQuery<T> |
SQLQuery.addEntity(java.lang.String tableAlias,
java.lang.Class entityClass,
LockMode lockMode)
Deprecated.
Declare a "root" entity, specifying a lock mode.
|
SQLQuery<T> |
SQLQuery.addEntity(java.lang.String tableAlias,
java.lang.String entityName,
LockMode lockMode)
Deprecated.
Declare a "root" entity, specifying a lock mode.
|
SQLQuery<T> |
SQLQuery.addJoin(java.lang.String tableAlias,
java.lang.String path,
LockMode lockMode)
Deprecated.
Declare a join fetch result, specifying a lock mode.
|
<T> T |
Session.get(java.lang.Class<T> entityType,
java.io.Serializable id,
LockMode lockMode)
Return the persistent instance of the given entity class with the given identifier,
or null if there is no such persistent instance.
|
java.lang.Object |
StatelessSession.get(java.lang.Class entityClass,
java.io.Serializable id,
LockMode lockMode)
Retrieve a row, obtaining the specified lock mode.
|
java.lang.Object |
Session.get(java.lang.String entityName,
java.io.Serializable id,
LockMode lockMode)
Return the persistent instance of the given entity class with the given identifier,
or null if there is no such persistent instance.
|
java.lang.Object |
StatelessSession.get(java.lang.String entityName,
java.io.Serializable id,
LockMode lockMode)
Retrieve a row, obtaining the specified lock mode.
|
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.
|
<T> T |
Session.load(java.lang.Class<T> theClass,
java.io.Serializable id,
LockMode lockMode)
Return the persistent instance of the given entity class with the given identifier,
obtaining the specified lock mode, assuming the instance exists.
|
java.lang.Object |
Session.load(java.lang.String entityName,
java.io.Serializable id,
LockMode lockMode)
Return the persistent instance of the given entity class with the given identifier,
obtaining the specified lock mode, assuming the instance exists.
|
void |
Session.lock(java.lang.Object object,
LockMode lockMode)
Obtain the specified lock level upon the given object.
|
void |
Session.lock(java.lang.String entityName,
java.lang.Object object,
LockMode lockMode)
Obtain the specified lock level upon the given object.
|
void |
Session.refresh(java.lang.Object object,
LockMode lockMode)
Re-read the state of the given instance from the underlying database, with
the given LockMode.
|
void |
StatelessSession.refresh(java.lang.Object entity,
LockMode lockMode)
Refresh the entity instance state from the database.
|
void |
StatelessSession.refresh(java.lang.String entityName,
java.lang.Object entity,
LockMode lockMode)
Refresh the entity instance state from the database.
|
LockOptions |
LockOptions.setAliasSpecificLockMode(java.lang.String alias,
LockMode lockMode)
Specify the
LockMode to be used for a specific query alias. |
Criteria |
Criteria.setLockMode(LockMode lockMode)
Set the lock mode of the current entity.
|
LockOptions |
LockOptions.setLockMode(LockMode lockMode)
Set the overall
LockMode to be used. |
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.
|
Session.LockRequest |
Session.LockRequest.setLockMode(LockMode lockMode)
Specify the LockMode to be used.
|
Criteria |
Criteria.setLockMode(java.lang.String alias,
LockMode lockMode)
Set the lock mode of the aliased entity.
|
Query<R> |
Query.setLockMode(java.lang.String alias,
LockMode lockMode)
Deprecated.
Set the LockMode to use for specific alias (as defined in the query's FROM clause).
|
NativeQuery<T> |
SQLQuery.setLockMode(java.lang.String alias,
LockMode lockMode)
Deprecated.
|
Constructor and Description |
---|
LockOptions(LockMode lockMode)
Constructs a LockOptions with the given lock mode.
|
Modifier and Type | Field and Description |
---|---|
protected LockMode |
JaxbHbmNativeQueryCollectionLoadReturnType.lockMode |
protected LockMode |
JaxbHbmNativeQueryJoinReturnType.lockMode |
protected LockMode |
JaxbHbmNativeQueryReturnType.lockMode |
Modifier and Type | Method and Description |
---|---|
LockMode |
NativeQueryNonScalarRootReturn.getLockMode()
Access the LockMode associated with this return
|
LockMode |
JaxbHbmNativeQueryCollectionLoadReturnType.getLockMode()
Gets the value of the lockMode property.
|
LockMode |
JaxbHbmNativeQueryJoinReturnType.getLockMode()
Gets the value of the lockMode property.
|
LockMode |
JaxbHbmNativeQueryReturnType.getLockMode()
Gets the value of the lockMode property.
|
LockMode |
Adapter8.unmarshal(java.lang.String value) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
Adapter8.marshal(LockMode value) |
void |
JaxbHbmNativeQueryCollectionLoadReturnType.setLockMode(LockMode value)
Sets the value of the lockMode property.
|
void |
JaxbHbmNativeQueryJoinReturnType.setLockMode(LockMode value)
Sets the value of the lockMode property.
|
void |
JaxbHbmNativeQueryReturnType.setLockMode(LockMode value)
Sets the value of the lockMode property.
|
Modifier and Type | Method and Description |
---|---|
LockMode |
QueryHintDefinition.getLockMode(java.lang.String query) |
Modifier and Type | Method and Description |
---|---|
DetachedCriteria |
DetachedCriteria.setLockMode(LockMode lockMode)
Set the lock mode to use.
|
DetachedCriteria |
DetachedCriteria.setLockMode(java.lang.String alias,
LockMode lockMode)
Set an alias-specific lock mode.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
Dialect.appendLockHint(LockMode mode,
java.lang.String tableName)
Deprecated.
use
appendLockHint(LockOptions,String) instead |
java.lang.String |
Dialect.getForUpdateString(LockMode lockMode)
Given a lock mode, determine the appropriate for update fragment to use.
|
LockingStrategy |
FrontBaseDialect.getLockingStrategy(Lockable lockable,
LockMode lockMode) |
LockingStrategy |
HSQLDialect.getLockingStrategy(Lockable lockable,
LockMode lockMode)
For HSQLDB 2.0, this is a copy of the base class implementation.
|
LockingStrategy |
MckoiDialect.getLockingStrategy(Lockable lockable,
LockMode lockMode) |
LockingStrategy |
PointbaseDialect.getLockingStrategy(Lockable lockable,
LockMode lockMode) |
LockingStrategy |
RDMSOS2200Dialect.getLockingStrategy(Lockable lockable,
LockMode lockMode) |
LockingStrategy |
TimesTenDialect.getLockingStrategy(Lockable lockable,
LockMode lockMode) |
LockingStrategy |
Cache71Dialect.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.
|
Modifier and Type | Method and Description |
---|---|
protected LockMode |
AbstractSelectLockingStrategy.getLockMode() |
protected LockMode |
OptimisticForceIncrementLockingStrategy.getLockMode() |
protected LockMode |
OptimisticLockingStrategy.getLockMode() |
protected LockMode |
PessimisticForceIncrementLockingStrategy.getLockMode()
Retrieve the specific lock mode defined.
|
protected LockMode |
PessimisticReadUpdateLockingStrategy.getLockMode() |
protected LockMode |
PessimisticWriteUpdateLockingStrategy.getLockMode() |
protected LockMode |
UpdateLockingStrategy.getLockMode() |
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
LockMode |
NativeSQLQueryNonScalarReturn.getLockMode()
Retrieve the lock-mode to apply to this return
|
Constructor and Description |
---|
NativeSQLQueryCollectionReturn(java.lang.String alias,
java.lang.String ownerEntityName,
java.lang.String ownerProperty,
java.util.Map propertyResults,
LockMode lockMode)
Construct a native-sql return representing a collection initializer
|
NativeSQLQueryJoinReturn(java.lang.String alias,
java.lang.String ownerAlias,
java.lang.String ownerProperty,
java.util.Map propertyResults,
LockMode lockMode)
Construct a return descriptor representing some form of fetch.
|
NativeSQLQueryNonScalarReturn(java.lang.String alias,
java.util.Map<java.lang.String,java.lang.String[]> propertyResults,
LockMode lockMode)
Constructs some form of non-scalar return descriptor
|
NativeSQLQueryRootReturn(java.lang.String alias,
java.lang.String entityName,
LockMode lockMode)
Construct a return representing an entity returned at the root
of the result.
|
NativeSQLQueryRootReturn(java.lang.String alias,
java.lang.String entityName,
java.util.Map<java.lang.String,java.lang.String[]> propertyResults,
LockMode lockMode) |
Modifier and Type | Method and Description |
---|---|
LockMode |
SessionDelegatorBaseImpl.getCurrentLockMode(java.lang.Object object) |
LockMode |
EntityEntry.getLockMode() |
Modifier and Type | Method and Description |
---|---|
EntityEntry |
PersistenceContext.addEntity(java.lang.Object entity,
Status status,
java.lang.Object[] loadedState,
EntityKey entityKey,
java.lang.Object version,
LockMode lockMode,
boolean existsInDatabase,
EntityPersister persister,
boolean disableVersionIncrement)
Adds an entity to the internal caches.
|
EntityEntry |
PersistenceContext.addEntry(java.lang.Object entity,
Status status,
java.lang.Object[] loadedState,
java.lang.Object rowId,
java.io.Serializable id,
java.lang.Object version,
LockMode lockMode,
boolean existsInDatabase,
EntityPersister persister,
boolean disableVersionIncrement)
Generates an appropriate EntityEntry instance and adds it
to the event source's internal caches.
|
EntityEntry |
EntityEntryFactory.createEntityEntry(Status status,
java.lang.Object[] loadedState,
java.lang.Object rowId,
java.io.Serializable id,
java.lang.Object version,
LockMode lockMode,
boolean existsInDatabase,
EntityPersister persister,
boolean disableVersionIncrement,
PersistenceContext persistenceContext)
Creates
EntityEntry . |
<T> T |
SessionDelegatorBaseImpl.get(java.lang.Class<T> theClass,
java.io.Serializable id,
LockMode lockMode) |
java.lang.Object |
SessionDelegatorBaseImpl.get(java.lang.String entityName,
java.io.Serializable id,
LockMode lockMode) |
<T> T |
SessionDelegatorBaseImpl.load(java.lang.Class<T> theClass,
java.io.Serializable id,
LockMode lockMode) |
java.lang.Object |
SessionDelegatorBaseImpl.load(java.lang.String entityName,
java.io.Serializable id,
LockMode lockMode) |
void |
SessionDelegatorBaseImpl.lock(java.lang.Object object,
LockMode lockMode) |
void |
SessionDelegatorBaseImpl.lock(java.lang.String entityName,
java.lang.Object object,
LockMode lockMode) |
void |
SessionDelegatorBaseImpl.refresh(java.lang.Object object,
LockMode lockMode) |
void |
EntityEntry.setLockMode(LockMode lockMode) |
Modifier and Type | Field and Description |
---|---|
static LockMode |
LoadEvent.DEFAULT_LOCK_MODE |
static LockMode |
ResolveNaturalIdEvent.DEFAULT_LOCK_MODE |
Modifier and Type | Method and Description |
---|---|
LockMode |
LoadEvent.getLockMode() |
LockMode |
LockEvent.getLockMode() |
LockMode |
RefreshEvent.getLockMode() |
Modifier and Type | Method and Description |
---|---|
void |
LoadEvent.setLockMode(LockMode lockMode) |
void |
LockEvent.setLockMode(LockMode lockMode) |
Constructor and Description |
---|
LoadEvent(java.io.Serializable entityId,
java.lang.String entityClassName,
LockMode lockMode,
EventSource source) |
LockEvent(java.lang.Object object,
LockMode lockMode,
EventSource source) |
LockEvent(java.lang.String entityName,
java.lang.Object original,
LockMode lockMode,
EventSource source) |
RefreshEvent(java.lang.Object object,
LockMode lockMode,
EventSource source) |
Modifier and Type | Field and Description |
---|---|
protected LockMode[] |
JoinWalker.lockModeArray |
protected LockMode[] |
OuterJoinLoader.lockModeArray |
Modifier and Type | Method and Description |
---|---|
protected LockMode |
Loader.determineFollowOnLockMode(LockOptions lockOptions) |
LockMode[] |
JoinWalker.getLockModeArray() |
protected abstract LockMode[] |
Loader.getLockModes(LockOptions lockOptions)
What lock options does this load entities with?
|
protected LockMode[] |
OuterJoinLoader.getLockModes(LockOptions lockOptions) |
Modifier and Type | Method and Description |
---|---|
protected void |
Loader.applyPostLoadLocks(java.lang.Object[] row,
LockMode[] lockModesArray,
SharedSessionContractImplementor session) |
protected void |
Loader.extractKeysFromResultSet(Loadable[] persisters,
QueryParameters queryParameters,
java.sql.ResultSet resultSet,
SharedSessionContractImplementor session,
EntityKey[] keys,
LockMode[] lockModes,
java.util.List hydratedObjects) |
protected void |
JoinWalker.initPersisters(java.util.List associations,
LockMode lockMode) |
Modifier and Type | Method and Description |
---|---|
protected LockMode |
CriteriaLoader.determineFollowOnLockMode(LockOptions lockOptions) |
protected LockMode[] |
CriteriaLoader.getLockModes(LockOptions lockOptions) |
Modifier and Type | Method and Description |
---|---|
LockMode |
NonScalarReturn.getLockMode() |
protected LockMode[] |
CustomLoader.getLockModes(LockOptions lockOptions) |
Constructor and Description |
---|
CollectionFetchReturn(java.lang.String alias,
NonScalarReturn owner,
java.lang.String ownerProperty,
CollectionAliases collectionAliases,
EntityAliases elementEntityAliases,
LockMode lockMode) |
CollectionReturn(java.lang.String alias,
java.lang.String ownerEntityName,
java.lang.String ownerProperty,
CollectionAliases collectionAliases,
EntityAliases elementEntityAliases,
LockMode lockMode) |
EntityFetchReturn(java.lang.String alias,
EntityAliases entityAliases,
NonScalarReturn owner,
java.lang.String ownerProperty,
LockMode lockMode) |
FetchReturn(NonScalarReturn owner,
java.lang.String ownerProperty,
java.lang.String alias,
LockMode lockMode)
Creates a return descriptor for an association fetch.
|
NonScalarReturn(java.lang.String alias,
LockMode lockMode) |
RootReturn(java.lang.String alias,
java.lang.String entityName,
EntityAliases entityAliases,
LockMode lockMode) |
Modifier and Type | Method and Description |
---|---|
protected abstract UniqueEntityLoader |
BatchingEntityLoaderBuilder.buildBatchingLoader(OuterJoinLoadable persister,
int batchSize,
LockMode lockMode,
SessionFactoryImplementor factory,
LoadQueryInfluencers influencers) |
protected UniqueEntityLoader |
DynamicBatchingEntityLoaderBuilder.buildBatchingLoader(OuterJoinLoadable persister,
int batchSize,
LockMode lockMode,
SessionFactoryImplementor factory,
LoadQueryInfluencers influencers) |
protected UniqueEntityLoader |
LegacyBatchingEntityLoaderBuilder.buildBatchingLoader(OuterJoinLoadable persister,
int batchSize,
LockMode lockMode,
SessionFactoryImplementor factory,
LoadQueryInfluencers influencers) |
UniqueEntityLoader |
BatchingEntityLoaderBuilder.buildLoader(OuterJoinLoadable persister,
int batchSize,
LockMode lockMode,
SessionFactoryImplementor factory,
LoadQueryInfluencers influencers)
Builds a batch-fetch capable loader based on the given persister, lock-mode, etc.
|
protected UniqueEntityLoader |
BatchingEntityLoaderBuilder.buildNonBatchingLoader(OuterJoinLoadable persister,
LockMode lockMode,
SessionFactoryImplementor factory,
LoadQueryInfluencers influencers) |
Constructor and Description |
---|
DynamicBatchingEntityLoader(OuterJoinLoadable persister,
int maxBatchSize,
LockMode lockMode,
SessionFactoryImplementor factory,
LoadQueryInfluencers loadQueryInfluencers) |
EntityJoinWalker(OuterJoinLoadable persister,
java.lang.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,
java.lang.String[] uniqueKey,
Type uniqueKeyType,
int batchSize,
LockMode lockMode,
SessionFactoryImplementor factory,
LoadQueryInfluencers loadQueryInfluencers) |
LegacyBatchingEntityLoader(OuterJoinLoadable persister,
int maxBatchSize,
LockMode lockMode,
SessionFactoryImplementor factory,
LoadQueryInfluencers loadQueryInfluencers) |
Modifier and Type | Method and Description |
---|---|
protected UniqueEntityLoader |
LegacyBatchingEntityLoaderBuilder.buildBatchingLoader(OuterJoinLoadable persister,
int batchSize,
LockMode lockMode,
SessionFactoryImplementor factory,
LoadQueryInfluencers influencers) |
protected UniqueEntityLoader |
AbstractBatchingEntityLoaderBuilder.buildNonBatchingLoader(OuterJoinLoadable persister,
LockMode lockMode,
SessionFactoryImplementor factory,
LoadQueryInfluencers influencers) |
EntityLoader.Builder |
EntityLoader.Builder.withLockMode(LockMode lockMode) |
Constructor and Description |
---|
LegacyBatchingEntityLoader(OuterJoinLoadable persister,
int maxBatchSize,
LockMode lockMode,
LockOptions lockOptions,
SessionFactoryImplementor factory,
LoadQueryInfluencers loadQueryInfluencers) |
LegacyBatchingEntityLoader(OuterJoinLoadable persister,
int maxBatchSize,
LockMode lockMode,
SessionFactoryImplementor factory,
LoadQueryInfluencers loadQueryInfluencers) |
Modifier and Type | Method and Description |
---|---|
protected LockMode[] |
QueryLoader.getLockModes(LockOptions lockOptions) |
Modifier and Type | Method and Description |
---|---|
protected void |
QueryLoader.applyPostLoadLocks(java.lang.Object[] row,
LockMode[] lockModesArray,
SharedSessionContractImplementor session) |
Modifier and Type | Method and Description |
---|---|
LockMode |
ResultSetProcessingContext.EntityKeyResolutionContext.getLockMode() |
Modifier and Type | Method and Description |
---|---|
LockMode |
QueryBuildingParameters.getLockMode()
Gets the lock mode.
|
Modifier and Type | Method and Description |
---|---|
LockMode |
LockModeResolver.resolveLockMode(EntityReference entityReference) |
Modifier and Type | Method and Description |
---|---|
protected UniqueEntityLoader |
AbstractEntityPersister.createEntityLoader(LockMode lockMode)
Used internally to create static loaders.
|
protected UniqueEntityLoader |
AbstractEntityPersister.createEntityLoader(LockMode lockMode,
LoadQueryInfluencers loadQueryInfluencers) |
protected LockingStrategy |
AbstractEntityPersister.generateLocker(LockMode lockMode) |
protected java.lang.String |
UnionSubclassEntityPersister.generateSelectString(LockMode lockMode)
Generate the SQL that selects a row by id
|
protected UniqueEntityLoader |
AbstractEntityPersister.getLoaderByLockMode(LockMode lockMode) |
java.lang.Object |
AbstractEntityPersister.load(java.io.Serializable id,
java.lang.Object optionalObject,
LockMode lockMode,
SharedSessionContractImplementor session)
Load an instance using either the forUpdateLoader or the outer joining loader,
depending upon the value of the lock parameter
|
java.lang.Object |
EntityPersister.load(java.io.Serializable id,
java.lang.Object optionalObject,
LockMode lockMode,
SharedSessionContractImplementor session)
Load an instance of the persistent class.
|
void |
AbstractEntityPersister.lock(java.io.Serializable id,
java.lang.Object version,
java.lang.Object object,
LockMode lockMode,
SharedSessionContractImplementor session) |
void |
EntityPersister.lock(java.io.Serializable id,
java.lang.Object version,
java.lang.Object object,
LockMode lockMode,
SharedSessionContractImplementor session)
Do a version check (optional operation)
|
Modifier and Type | Method and Description |
---|---|
NativeQuery<T> |
NativeQuery.addEntity(java.lang.String tableAlias,
java.lang.Class entityClass,
LockMode lockMode) |
NativeQuery<T> |
NativeQuery.addEntity(java.lang.String tableAlias,
java.lang.String entityName,
LockMode lockMode) |
NativeQuery<T> |
NativeQuery.addJoin(java.lang.String tableAlias,
java.lang.String path,
LockMode lockMode) |
NativeQuery<T> |
NativeQuery.setLockMode(java.lang.String alias,
LockMode lockMode) |
Query<R> |
Query.setLockMode(java.lang.String alias,
LockMode lockMode) |
Modifier and Type | Method and Description |
---|---|
NativeQueryImplementor<T> |
NativeQueryImplementor.addEntity(java.lang.String tableAlias,
java.lang.Class entityClass,
LockMode lockMode) |
NativeQueryImplementor<T> |
NativeQueryImplementor.addEntity(java.lang.String tableAlias,
java.lang.String entityName,
LockMode lockMode) |
NativeQueryImplementor<T> |
NativeQueryImplementor.addJoin(java.lang.String tableAlias,
java.lang.String path,
LockMode lockMode) |
NativeQueryImplementor<T> |
NativeQueryImplementor.setLockMode(java.lang.String alias,
LockMode lockMode) |
Modifier and Type | Method and Description |
---|---|
LockMode |
Select.getLockMode()
Deprecated.
Instead use getLockOptions
|
Modifier and Type | Method and Description |
---|---|
Select |
Select.setLockMode(LockMode lockMode)
Deprecated.
Instead use setLockOptions
|
SimpleSelect |
SimpleSelect.setLockMode(LockMode lockMode) |
Copyright © 2001-2020 Red Hat, Inc. All Rights Reserved.