Package | Description |
---|---|
org.hibernate |
This package defines the central Hibernate APIs.
|
org.hibernate.boot.jaxb.hbm.internal |
JAXB details.
|
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.internal |
Support for many of the internal workings of Hibernate.
|
org.hibernate.engine.query.spi.sql | |
org.hibernate.engine.spi | |
org.hibernate.envers.query | |
org.hibernate.envers.query.internal.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 |
Internal utility classes.
|
org.hibernate.internal.util.collections | |
org.hibernate.jpa.internal.util | |
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.build.internal |
Contains the internal implementations used for building a metamodel-driven LoadPlan.
|
org.hibernate.loader.plan.exec.process.internal | |
org.hibernate.loader.plan.exec.process.spi | |
org.hibernate.loader.plan.exec.query.internal |
Provides the internal implementation for generating the load query for the LoadPlan.
|
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.criteria.internal.compile | |
org.hibernate.query.internal | |
org.hibernate.query.spi | |
org.hibernate.search.query.hibernate.impl | |
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(String externalForm) |
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.
|
Modifier and Type | Method and Description |
---|---|
Iterator<Map.Entry<String,LockMode>> |
LockOptions.getAliasLockIterator()
Iterator for accessing Alias (key) and LockMode (value) as Map.Entry.
|
Iterable<Map.Entry<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(String tableAlias,
Class entityClass,
LockMode lockMode)
Deprecated.
Declare a "root" entity, specifying a lock mode.
|
SQLQuery<T> |
SQLQuery.addEntity(String tableAlias,
String entityName,
LockMode lockMode)
Deprecated.
Declare a "root" entity, specifying a lock mode.
|
SQLQuery<T> |
SQLQuery.addJoin(String tableAlias,
String path,
LockMode lockMode)
Deprecated.
Declare a join fetch result, specifying a lock mode.
|
<T> T |
Session.get(Class<T> entityType,
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.
|
Object |
StatelessSession.get(Class entityClass,
Serializable id,
LockMode lockMode)
Retrieve a row, obtaining the specified lock mode.
|
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)
Return the persistent instance of the given entity class with the given identifier,
or null if there is no such persistent instance.
|
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(Class<T> theClass,
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.
|
Object |
Session.load(String entityName,
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(Object object,
LockMode lockMode)
Obtain the specified lock level upon the given object.
|
void |
Session.lock(String entityName,
Object object,
LockMode lockMode)
Obtain the specified lock level upon the given object.
|
void |
StatelessSession.refresh(Object entity,
LockMode lockMode)
Refresh the entity instance state from the database.
|
void |
Session.refresh(Object object,
LockMode lockMode)
Re-read the state of the given instance from the underlying database, with
the given LockMode.
|
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.
|
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(LockMode lockMode)
Set the lock mode of the current entity.
|
NativeQuery<T> |
SQLQuery.setLockMode(String alias,
LockMode lockMode)
Deprecated.
|
Query<R> |
Query.setLockMode(String alias,
LockMode lockMode)
Deprecated.
Set the LockMode to use for specific alias (as defined in the query's FROM clause).
|
Criteria |
Criteria.setLockMode(String alias,
LockMode lockMode)
Set the lock mode of the aliased entity.
|
Constructor and Description |
---|
LockOptions(LockMode lockMode)
Constructs a LockOptions with the given lock mode.
|
Modifier and Type | Method and Description |
---|---|
static LockMode |
LockModeConverter.fromXml(String name) |
Modifier and Type | Method and Description |
---|---|
static String |
LockModeConverter.toXml(LockMode lockMode) |
Modifier and Type | Field and Description |
---|---|
protected LockMode |
JaxbHbmNativeQueryReturnType.lockMode |
protected LockMode |
JaxbHbmNativeQueryJoinReturnType.lockMode |
protected LockMode |
JaxbHbmNativeQueryCollectionLoadReturnType.lockMode |
Modifier and Type | Method and Description |
---|---|
LockMode |
NativeQueryNonScalarRootReturn.getLockMode()
Access the LockMode associated with this return
|
LockMode |
JaxbHbmNativeQueryReturnType.getLockMode()
Gets the value of the lockMode property.
|
LockMode |
JaxbHbmNativeQueryJoinReturnType.getLockMode()
Gets the value of the lockMode property.
|
LockMode |
JaxbHbmNativeQueryCollectionLoadReturnType.getLockMode()
Gets the value of the lockMode property.
|
LockMode |
Adapter8.unmarshal(String value) |
Modifier and Type | Method and Description |
---|---|
String |
Adapter8.marshal(LockMode value) |
void |
JaxbHbmNativeQueryReturnType.setLockMode(LockMode value)
Sets the value of the lockMode property.
|
void |
JaxbHbmNativeQueryJoinReturnType.setLockMode(LockMode value)
Sets the value of the lockMode property.
|
void |
JaxbHbmNativeQueryCollectionLoadReturnType.setLockMode(LockMode value)
Sets the value of the lockMode property.
|
Modifier and Type | Method and Description |
---|---|
LockMode |
QueryHintDefinition.getLockMode(String query) |
Modifier and Type | Method and Description |
---|---|
DetachedCriteria |
DetachedCriteria.setLockMode(LockMode lockMode)
Set the lock mode to use.
|
DetachedCriteria |
DetachedCriteria.setLockMode(String alias,
LockMode lockMode)
Set an alias-specific lock mode.
|
Modifier and Type | Method and Description |
---|---|
String |
Dialect.appendLockHint(LockMode mode,
String tableName)
Deprecated.
use
appendLockHint(LockOptions,String) instead |
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 |
PointbaseDialect.getLockingStrategy(Lockable lockable,
LockMode lockMode) |
LockingStrategy |
MckoiDialect.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 |
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 |
Cache71Dialect.getLockingStrategy(Lockable lockable,
LockMode lockMode) |
Modifier and Type | Method and Description |
---|---|
protected LockMode |
UpdateLockingStrategy.getLockMode() |
protected LockMode |
PessimisticWriteUpdateLockingStrategy.getLockMode() |
protected LockMode |
PessimisticReadUpdateLockingStrategy.getLockMode() |
protected LockMode |
PessimisticForceIncrementLockingStrategy.getLockMode()
Retrieve the specific lock mode defined.
|
protected LockMode |
OptimisticLockingStrategy.getLockMode() |
protected LockMode |
OptimisticForceIncrementLockingStrategy.getLockMode() |
protected LockMode |
AbstractSelectLockingStrategy.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 | Field and Description |
---|---|
protected static AbstractEntityEntry.EnumState<LockMode> |
AbstractEntityEntry.EnumState.LOCK_MODE |
Modifier and Type | Method and Description |
---|---|
LockMode |
AbstractEntityEntry.getLockMode() |
Modifier and Type | Method and Description |
---|---|
EntityEntry |
StatefulPersistenceContext.addEntity(Object entity,
Status status,
Object[] loadedState,
EntityKey entityKey,
Object version,
LockMode lockMode,
boolean existsInDatabase,
EntityPersister persister,
boolean disableVersionIncrement) |
EntityEntry |
StatefulPersistenceContext.addEntry(Object entity,
Status status,
Object[] loadedState,
Object rowId,
Serializable id,
Object version,
LockMode lockMode,
boolean existsInDatabase,
EntityPersister persister,
boolean disableVersionIncrement) |
static void |
TwoPhaseLoad.addUninitializedCachedEntity(EntityKey key,
Object object,
EntityPersister persister,
LockMode lockMode,
Object version,
SharedSessionContractImplementor session)
Same as
TwoPhaseLoad.addUninitializedEntity(org.hibernate.engine.spi.EntityKey, java.lang.Object, org.hibernate.persister.entity.EntityPersister, org.hibernate.LockMode, org.hibernate.engine.spi.SharedSessionContractImplementor) , but here for an entity from the second level cache |
static void |
TwoPhaseLoad.addUninitializedEntity(EntityKey key,
Object object,
EntityPersister persister,
LockMode lockMode,
SharedSessionContractImplementor session)
Add an uninitialized instance of an entity class, as a placeholder to ensure object
identity.
|
EntityEntry |
MutableEntityEntryFactory.createEntityEntry(Status status,
Object[] loadedState,
Object rowId,
Serializable id,
Object version,
LockMode lockMode,
boolean existsInDatabase,
EntityPersister persister,
boolean disableVersionIncrement,
PersistenceContext persistenceContext) |
EntityEntry |
ImmutableEntityEntryFactory.createEntityEntry(Status status,
Object[] loadedState,
Object rowId,
Serializable id,
Object version,
LockMode lockMode,
boolean existsInDatabase,
EntityPersister persister,
boolean disableVersionIncrement,
PersistenceContext persistenceContext) |
static void |
TwoPhaseLoad.postHydrate(EntityPersister persister,
Serializable id,
Object[] values,
Object rowId,
Object object,
LockMode lockMode,
SharedSessionContractImplementor session)
Register the "hydrated" state of an entity instance, after the first step of 2-phase loading.
|
void |
ImmutableEntityEntry.setLockMode(LockMode lockMode) |
void |
AbstractEntityEntry.setLockMode(LockMode lockMode) |
Constructor and Description |
---|
AbstractEntityEntry(SessionFactoryImplementor factory,
String entityName,
Serializable id,
Status status,
Status previousStatus,
Object[] loadedState,
Object[] deletedState,
Object version,
LockMode lockMode,
boolean existsInDatabase,
boolean isBeingReplicated,
PersistenceContext persistenceContext)
This for is used during custom deserialization handling
|
AbstractEntityEntry(Status status,
Object[] loadedState,
Object rowId,
Serializable id,
Object version,
LockMode lockMode,
boolean existsInDatabase,
EntityPersister persister,
boolean disableVersionIncrement,
PersistenceContext persistenceContext) |
AbstractEntityEntry(Status status,
Object[] loadedState,
Object rowId,
Serializable id,
Object version,
LockMode lockMode,
boolean existsInDatabase,
EntityPersister persister,
EntityMode entityMode,
String tenantId,
boolean disableVersionIncrement,
PersistenceContext persistenceContext)
Deprecated.
the tenantId and entityMode parameters where removed: this constructor accepts but ignores them.
Use the other constructor!
|
ImmutableEntityEntry(Status status,
Object[] loadedState,
Object rowId,
Serializable id,
Object version,
LockMode lockMode,
boolean existsInDatabase,
EntityPersister persister,
boolean disableVersionIncrement,
PersistenceContext persistenceContext) |
ImmutableEntityEntry(Status status,
Object[] loadedState,
Object rowId,
Serializable id,
Object version,
LockMode lockMode,
boolean existsInDatabase,
EntityPersister persister,
EntityMode entityMode,
String tenantId,
boolean disableVersionIncrement,
PersistenceContext persistenceContext)
Deprecated.
the tenantId and entityMode parameters where removed: this constructor accepts but ignores them.
Use the other constructor!
|
MutableEntityEntry(Status status,
Object[] loadedState,
Object rowId,
Serializable id,
Object version,
LockMode lockMode,
boolean existsInDatabase,
EntityPersister persister,
boolean disableVersionIncrement,
PersistenceContext persistenceContext) |
MutableEntityEntry(Status status,
Object[] loadedState,
Object rowId,
Serializable id,
Object version,
LockMode lockMode,
boolean existsInDatabase,
EntityPersister persister,
EntityMode entityMode,
String tenantId,
boolean disableVersionIncrement,
PersistenceContext persistenceContext)
Deprecated.
the tenantId and entityMode parameters where removed: this constructor accepts but ignores them.
Use the other constructor!
|
Modifier and Type | Method and Description |
---|---|
LockMode |
NativeSQLQueryNonScalarReturn.getLockMode()
Retrieve the lock-mode to apply to this return
|
Constructor and Description |
---|
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) |
Modifier and Type | Method and Description |
---|---|
LockMode |
SessionDelegatorBaseImpl.getCurrentLockMode(Object object) |
LockMode |
EntityEntry.getLockMode() |
Modifier and Type | Method and Description |
---|---|
EntityEntry |
PersistenceContext.addEntity(Object entity,
Status status,
Object[] loadedState,
EntityKey entityKey,
Object version,
LockMode lockMode,
boolean existsInDatabase,
EntityPersister persister,
boolean disableVersionIncrement)
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)
Generates an appropriate EntityEntry instance and adds it
to the event source's internal caches.
|
EntityEntry |
EntityEntryFactory.createEntityEntry(Status status,
Object[] loadedState,
Object rowId,
Serializable id,
Object version,
LockMode lockMode,
boolean existsInDatabase,
EntityPersister persister,
boolean disableVersionIncrement,
PersistenceContext persistenceContext)
Creates
EntityEntry . |
<T> T |
SessionDelegatorBaseImpl.get(Class<T> theClass,
Serializable id,
LockMode lockMode) |
Object |
SessionDelegatorBaseImpl.get(String entityName,
Serializable id,
LockMode lockMode) |
<T> T |
SessionDelegatorBaseImpl.load(Class<T> theClass,
Serializable id,
LockMode lockMode) |
Object |
SessionDelegatorBaseImpl.load(String entityName,
Serializable id,
LockMode lockMode) |
void |
SessionDelegatorBaseImpl.lock(Object object,
LockMode lockMode) |
void |
SessionDelegatorBaseImpl.lock(String entityName,
Object object,
LockMode lockMode) |
void |
SessionDelegatorBaseImpl.refresh(Object object,
LockMode lockMode) |
void |
EntityEntry.setLockMode(LockMode lockMode) |
Modifier and Type | Method and Description |
---|---|
AuditQuery |
AuditQuery.setLockMode(LockMode lockMode) |
AuditAssociationQuery<Q> |
AuditAssociationQuery.setLockMode(LockMode lockMode) |
Modifier and Type | Method and Description |
---|---|
AuditAssociationQueryImpl<Q> |
AuditAssociationQueryImpl.setLockMode(LockMode lockMode) |
AuditQuery |
AbstractAuditQuery.setLockMode(LockMode lockMode)
Deprecated.
Instead use setLockOptions
|
Modifier and Type | Field and Description |
---|---|
static LockMode |
DefaultLoadEventListener.DEFAULT_LOCK_MODE |
Modifier and Type | Field and Description |
---|---|
static LockMode |
ResolveNaturalIdEvent.DEFAULT_LOCK_MODE |
static LockMode |
LoadEvent.DEFAULT_LOCK_MODE |
Modifier and Type | Method and Description |
---|---|
LockMode |
RefreshEvent.getLockMode() |
LockMode |
LockEvent.getLockMode() |
LockMode |
LoadEvent.getLockMode() |
Modifier and Type | Method and Description |
---|---|
void |
LockEvent.setLockMode(LockMode lockMode) |
void |
LoadEvent.setLockMode(LockMode lockMode) |
Constructor and Description |
---|
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) |
Modifier and Type | Method and Description |
---|---|
protected LockMode[] |
QueryTranslatorImpl.getLockModes(LockOptions lockOptions) |
Modifier and Type | Method and Description |
---|---|
LockMode |
SessionImpl.getCurrentLockMode(Object object) |
LockMode |
CriteriaImpl.Subcriteria.getLockMode() |
Modifier and Type | Method and Description |
---|---|
Map<String,LockMode> |
CriteriaImpl.getLockModes() |
Modifier and Type | Method and Description |
---|---|
void |
CoreMessageLogger.aliasSpecificLockingWithFollowOnLocking(LockMode lockMode) |
<T> T |
SessionImpl.get(Class<T> entityClass,
Serializable id,
LockMode lockMode) |
Object |
StatelessSessionImpl.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) |
<T> T |
SessionImpl.load(Class<T> 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) |
Modifier and Type | Method and Description |
---|---|
static LockMode |
LockModeConverter.convertToLockMode(LockModeType lockMode)
Convert from JPA defined LockModeType to Hibernate specific LockMode.
|
Modifier and Type | Method and Description |
---|---|
static LockModeType |
LockModeConverter.convertToLockModeType(LockMode lockMode)
Convert from the Hibernate specific LockMode to the JPA defined LockModeType.
|
Modifier and Type | Method and Description |
---|---|
static LockMode[] |
ArrayHelper.fillArray(LockMode lockMode,
int length) |
Modifier and Type | Method and Description |
---|---|
static LockMode[] |
ArrayHelper.fillArray(LockMode lockMode,
int length) |
Modifier and Type | Method and Description |
---|---|
static LockMode |
LockModeTypeHelper.getLockMode(LockModeType lockModeType) |
static LockMode |
LockModeTypeHelper.interpretLockMode(Object value) |
Modifier and Type | Method and Description |
---|---|
static LockModeType |
LockModeTypeHelper.getLockModeType(LockMode lockMode) |
Modifier and Type | Field and Description |
---|---|
protected LockMode[] |
OuterJoinLoader.lockModeArray |
protected LockMode[] |
JoinWalker.lockModeArray |
Modifier and Type | Method and Description |
---|---|
protected LockMode |
Loader.determineFollowOnLockMode(LockOptions lockOptions) |
LockMode[] |
JoinWalker.getLockModeArray() |
protected LockMode[] |
OuterJoinLoader.getLockModes(LockOptions lockOptions) |
protected abstract LockMode[] |
Loader.getLockModes(LockOptions lockOptions)
What lock options does this load entities with?
|
Modifier and Type | Method and Description |
---|---|
protected void |
Loader.applyPostLoadLocks(Object[] row,
LockMode[] lockModesArray,
SharedSessionContractImplementor session) |
protected void |
Loader.extractKeysFromResultSet(Loadable[] persisters,
QueryParameters queryParameters,
ResultSet resultSet,
SharedSessionContractImplementor session,
EntityKey[] keys,
LockMode[] lockModes,
List hydratedObjects) |
protected void |
JoinWalker.initPersisters(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(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) |
Modifier and Type | Method and Description |
---|---|
protected UniqueEntityLoader |
LegacyBatchingEntityLoaderBuilder.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 abstract UniqueEntityLoader |
BatchingEntityLoaderBuilder.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) |
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(Object[] row,
LockMode[] lockModesArray,
SharedSessionContractImplementor session) |
Modifier and Type | Method and Description |
---|---|
LockMode |
ResultSetProcessingContextImpl.resolveLockMode(EntityReference entityReference) |
Modifier and Type | Method and Description |
---|---|
LockMode |
ResultSetProcessingContext.EntityKeyResolutionContext.getLockMode() |
Modifier and Type | Method and Description |
---|---|
LockMode |
QueryBuildingParametersImpl.getLockMode() |
Modifier and Type | Method and Description |
---|---|
void |
SelectStatementBuilder.setLockMode(LockMode lockMode)
Sets the lock mode for the select statement.
|
Constructor and Description |
---|
QueryBuildingParametersImpl(LoadQueryInfluencers loadQueryInfluencers,
int batchSize,
LockMode lockMode,
LockOptions lockOptions) |
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 String |
UnionSubclassEntityPersister.generateSelectString(LockMode lockMode)
Generate the SQL that selects a row by id
|
protected UniqueEntityLoader |
AbstractEntityPersister.getLoaderByLockMode(LockMode lockMode) |
Object |
EntityPersister.load(Serializable id,
Object optionalObject,
LockMode lockMode,
SharedSessionContractImplementor session)
Load an instance of the persistent class.
|
Object |
AbstractEntityPersister.load(Serializable id,
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
|
void |
EntityPersister.lock(Serializable id,
Object version,
Object object,
LockMode lockMode,
SharedSessionContractImplementor session)
Do a version check (optional operation)
|
void |
AbstractEntityPersister.lock(Serializable id,
Object version,
Object object,
LockMode lockMode,
SharedSessionContractImplementor session) |
Modifier and Type | Method and Description |
---|---|
NativeQuery<T> |
NativeQuery.addEntity(String tableAlias,
Class entityClass,
LockMode lockMode) |
NativeQuery<T> |
NativeQuery.addEntity(String tableAlias,
String entityName,
LockMode lockMode) |
NativeQuery<T> |
NativeQuery.addJoin(String tableAlias,
String path,
LockMode lockMode) |
Query<R> |
Query.setLockMode(String alias,
LockMode lockMode) |
NativeQuery<T> |
NativeQuery.setLockMode(String alias,
LockMode lockMode) |
Modifier and Type | Method and Description |
---|---|
QueryImplementor |
CriteriaQueryTypeQueryAdapter.setLockMode(String alias,
LockMode lockMode) |
Modifier and Type | Method and Description |
---|---|
NativeQueryImplementor<T> |
NativeQueryImpl.addEntity(String tableAlias,
Class entityClass,
LockMode lockMode) |
NativeQueryImplementor<T> |
NativeQueryImpl.addEntity(String tableAlias,
String entityName,
LockMode lockMode) |
NativeQueryImplementor<T> |
NativeQueryImpl.addJoin(String tableAlias,
String path,
LockMode lockMode) |
protected void |
AbstractProducedQuery.applyAliasSpecificLockModeHint(String alias,
LockMode lockMode)
Apply the alias specific lock modes.
|
protected boolean |
AbstractProducedQuery.applyHibernateLockModeHint(LockMode lockMode) |
SQLQuery.RootReturn |
NativeQueryReturnBuilderRootImpl.setLockMode(LockMode lockMode) |
SQLQuery.FetchReturn |
NativeQueryReturnBuilderFetchImpl.setLockMode(LockMode lockMode) |
NativeQueryImplementor<T> |
NativeQueryImpl.setLockMode(String alias,
LockMode lockMode) |
QueryImplementor |
AbstractProducedQuery.setLockMode(String alias,
LockMode lockMode) |
Modifier and Type | Method and Description |
---|---|
NativeQueryImplementor<T> |
NativeQueryImplementor.addEntity(String tableAlias,
Class entityClass,
LockMode lockMode) |
NativeQueryImplementor<T> |
NativeQueryImplementor.addEntity(String tableAlias,
String entityName,
LockMode lockMode) |
NativeQueryImplementor<T> |
NativeQueryImplementor.addJoin(String tableAlias,
String path,
LockMode lockMode) |
NativeQueryImplementor<T> |
NativeQueryImplementor.setLockMode(String alias,
LockMode lockMode) |
Modifier and Type | Method and Description |
---|---|
QueryImplementor |
FullTextQueryImpl.setLockMode(String alias,
LockMode lockMode) |
Modifier and Type | Method and Description |
---|---|
LockMode |
Select.getLockMode()
Deprecated.
Instead use getLockOptions
|
Modifier and Type | Method and Description |
---|---|
SimpleSelect |
SimpleSelect.setLockMode(LockMode lockMode) |
Select |
Select.setLockMode(LockMode lockMode)
Deprecated.
Instead use setLockOptions
|
Copyright © 2019 JBoss by Red Hat. All rights reserved.