Uses of Enum Class
org.hibernate.LockMode
Packages that useLockMode
Package
Description
This package defines the central Hibernate APIs, beginning with
SessionFactory, which represents an instance of Hibernate at runtime and is the source of new instances ofSession andStatelessSession, the most important APIs exposing persistence-related operations for entities.JAXB details.
This package defines the SPI of a framework for lazy-initializing and state-tracking collection wrappers.
This package abstracts over the multifarious dialects of SQL understood by the databases supported by Hibernate.
Support for
Dialect-specific locking strategies.Internal package containing dialect-specific extensions of
AbstractSqlAstTranslator.Support for many of the internal workings of Hibernate.
This package defines some central internal SPI abstractions used throughout the implementation of Hibernate.
An SPI for services which collect, report, or monitor diagnostic events.
Defines the event types and event listener interfaces for events produced by the stateful
Session.An internal package containing implementations of central Hibernate APIs, mostly defined in
org.hibernate.Internal utility classes
This package abstracts persistence mechanisms for entities.
Defines the internal implementation of the stored procedure SPI.
Everything related to HQL/JPQL, native SQL, and criteria queries.
SPIs for HQL support.
Support for immutable result/fetch builder graph nodes built from static sources such as
SqlResultSetMapping,orm.xml,mapping.xml orhbm.xml.Support for mutable result/fetch builder graphs nodes built dynamically.
Contains a range of internal abstractions for dealing with query execution, query plans, query options, and query parameters.
Implementation of the SPIs for native SQL query support.
SPIs for native SQL query support.
Package for the SQM-backed Query implementation details
SPI-level SQM contracts
Package for the translation of SQM into SQL AST
This package contains helper classes for rendering SQL fragments and SQL statements.
Package defining support for creating and consuming a SQL AST.
Uses ofLockMode inorg.hibernate
Methods inorg.hibernate that returnLockModeModifier and TypeMethodDescriptionLockOptions.findGreatestLockMode()Deprecated, for removal: This API element is subject to removal in a future version.Currently needed for follow-on locking.staticLockModeLockMode.fromExternalForm(String externalForm) staticLockModeLockMode.fromJpaLockMode(LockModeType lockMode) LockOptions.getAliasSpecificLockMode(String alias) Deprecated, for removal: This API element is subject to removal in a future version.Get theLockModeexplicitly specified for the given alias viaLockOptions.setAliasSpecificLockMode(String, LockMode).Session.getCurrentLockMode(Object object) Determine the currentlock mode held on the given managed instance associated with this session.LockOptions.getEffectiveLockMode(String alias) Deprecated, for removal: This API element is subject to removal in a future version.Determine theLockModeto apply to the given alias.LockOptions.getLockMode()Deprecated, for removal: This API element is subject to removal in a future version.Retrieve the overall lock mode in effect for this set of options.staticLockModeReturns the enum constant of this class with the specified name.staticLockMode[]LockMode.values()Returns an array containing the constants of this enum class, inthe order they are declared.Methods inorg.hibernate that return types with arguments of typeLockModeModifier and TypeMethodDescriptionLockOptions.getAliasLockIterator()Deprecated.LockOptions.getAliasSpecificLocks()Deprecated, for removal: This API element is subject to removal in a future version.Methods inorg.hibernate with parameters of typeLockModeModifier and TypeMethodDescription<T> TDeprecated, for removal: This API element is subject to removal in a future version.UseEntityManager.find(Class, Object, FindOption...)instead.Deprecated, for removal: This API element is subject to removal in a future version.The semantics of this method may change in a future release.<T> TStatelessSession.get(EntityGraph<T> graph,Object id,LockMode lockMode) Retrieve a record, fetching associations specified by the givenEntityGraph, which is interpreted as aload graph, and obtaining the specified lock mode.<T> TStatelessSession.get(EntityGraph<T> graph,GraphSemantic graphSemantic,Object id,LockMode lockMode) Retrieve a record, fetching associations specified by the givenEntityGraph, and obtaining the specified lock mode.<T> TRetrieve a record, obtaining the specified lock mode.Retrieve a record, obtaining the specified lock mode.<T> List<T>StatelessSession.getMultiple(Class<T> entityClass,List<?> ids,LockMode lockMode) Retrieve multiple rows, obtaining the specified lock mode, and returning entity instances in a list where the position of an instance in the list matches the position of its identifier in the given array, and the list contains a null value if there is no persistent instance matching a given identifier.booleanLockMode.greaterThan(LockMode mode) Check if this lock mode is more restrictive than the given lock mode.booleanCheck if this lock mode is less restrictive than the given lock mode.voidObtain the specified lock level on the given managed instance associated with this session.voidSession.lock(Object object,LockMode lockMode,LockOption... lockOptions) Obtain the specified lock level on the given managed instance associated with this session, applying any other specified options.voidRefresh the entity instance state from the database.voidRefresh the entity instance state from the database.LockOptions.setAliasSpecificLockMode(String alias,LockMode lockMode) Deprecated, for removal: This API element is subject to removal in a future version.Specify theLockModeto be used for the given query alias.LockOptions.setLockMode(LockMode lockMode) Deprecated, for removal: This API element is subject to removal in a future version.Set the overalllock mode.staticLockModeTypeLockMode.toJpaLockMode(LockMode lockMode) defaultIdentifierLoadAccess<T>Specify thelock mode to use when querying the database.IdentifierLoadAccess.with(LockMode lockMode,PessimisticLockScope lockScope) Specify thelock mode to use when querying the database.defaultMultiIdentifierLoadAccess<T>Specify thelock mode to use when querying the database.MultiIdentifierLoadAccess.with(LockMode lockMode,PessimisticLockScope lockScope) Specify thelock mode to use when querying the database.defaultNaturalIdLoadAccess<T>Specify thelock mode to use when querying the database.NaturalIdLoadAccess.with(LockMode lockMode,PessimisticLockScope lockScope) Specify thelock mode to use when querying the database.defaultNaturalIdMultiLoadAccess<T>Specify thelock mode to use when querying the database.NaturalIdMultiLoadAccess.with(LockMode lockMode,PessimisticLockScope lockScope) Specify thelock mode to use when querying the database.defaultSimpleNaturalIdLoadAccess<T>Specify thelock mode to use when querying the database.SimpleNaturalIdLoadAccess.with(LockMode lockMode,PessimisticLockScope lockScope) Specify thelock mode to use when querying the database.Constructors inorg.hibernate with parameters of typeLockModeModifierConstructorDescriptionprotectedLockOptions(boolean immutable,LockMode lockMode) Deprecated, for removal: This API element is subject to removal in a future version.Internal operation used to create immutable global instances.LockOptions(LockMode lockMode) Deprecated, for removal: This API element is subject to removal in a future version.Construct an instance with the givenmode and no timeout.LockOptions(LockMode lockMode, int timeout) Deprecated.UseLockOptions(LockMode, Timeout) insteadLockOptions(LockMode lockMode, int timeout,PessimisticLockScope scope) Deprecated.LockOptions(LockMode lockMode,Timeout timeout) Deprecated, for removal: This API element is subject to removal in a future version.Construct an instance with the givenmode and timeout.LockOptions(LockMode lockMode,Timeout timeout,PessimisticLockScope scope) Uses ofLockMode inorg.hibernate.boot.jaxb.hbm.internal
Methods inorg.hibernate.boot.jaxb.hbm.internal that returnLockModeMethods inorg.hibernate.boot.jaxb.hbm.internal with parameters of typeLockModeUses ofLockMode inorg.hibernate.boot.jaxb.hbm.spi
Fields inorg.hibernate.boot.jaxb.hbm.spi declared asLockModeModifier and TypeFieldDescriptionprotectedLockModeJaxbHbmNativeQueryCollectionLoadReturnType.lockModeprotectedLockModeJaxbHbmNativeQueryJoinReturnType.lockModeprotectedLockModeJaxbHbmNativeQueryReturnType.lockModeMethods inorg.hibernate.boot.jaxb.hbm.spi that returnLockModeModifier and TypeMethodDescriptionJaxbHbmNativeQueryCollectionLoadReturnType.getLockMode()Gets the value of the lockMode property.JaxbHbmNativeQueryJoinReturnType.getLockMode()Gets the value of the lockMode property.JaxbHbmNativeQueryReturnType.getLockMode()Gets the value of the lockMode property.NativeQueryNonScalarRootReturn.getLockMode()Access the LockMode associated with this returnMethods inorg.hibernate.boot.jaxb.hbm.spi with parameters of typeLockModeModifier and TypeMethodDescriptionvoidJaxbHbmNativeQueryCollectionLoadReturnType.setLockMode(LockMode value) Sets the value of the lockMode property.voidJaxbHbmNativeQueryJoinReturnType.setLockMode(LockMode value) Sets the value of the lockMode property.voidJaxbHbmNativeQueryReturnType.setLockMode(LockMode value) Sets the value of the lockMode property.Uses ofLockMode inorg.hibernate.boot.model.internal
Methods inorg.hibernate.boot.model.internal that returnLockModeUses ofLockMode inorg.hibernate.collection.spi
Methods inorg.hibernate.collection.spi with parameters of typeLockModeModifier and TypeMethodDescriptionCollectionInitializerProducer.produceInitializer(NavigablePath navigablePath,PluralAttributeMapping attribute,InitializerParent<?> parent,LockMode lockMode,DomainResult<?> collectionKeyResult,DomainResult<?> collectionValueKeyResult, boolean isResultInitializer,AssemblerCreationState creationState) Create an initializer for the given attribute relative to the given navigable path.Uses ofLockMode inorg.hibernate.dialect
Methods inorg.hibernate.dialect with parameters of typeLockModeModifier and TypeMethodDescriptionDialect.getForUpdateString(LockMode lockMode) Given aLockMode, determine the appropriatefor updatefragment to use to obtain the lock.Dialect.getForUpdateString(LockMode lockMode, int timeout) Deprecated.UseDialect.getForUpdateString(LockMode,Timeout) insteadDialect.getForUpdateString(LockMode lockMode,Timeout timeout) Given alock level and timeout, determine the appropriatefor updatefragment to use to obtain the lock.HANADialect.getForUpdateString(LockMode lockMode) Dialect.getLockingStrategy(EntityPersister lockable,LockMode lockMode) ALockingStrategywhich is able to acquire a database-level lock with the specifiedlevel.SpannerDialect.getLockingStrategy(EntityPersister lockable,LockMode lockMode) Dialect.getLockRowIdentifier(LockMode lockMode) Obtain aRowLockStrategyfor the givenLockMode.Uses ofLockMode inorg.hibernate.dialect.lock
Methods inorg.hibernate.dialect.lock that returnLockModeModifier and TypeMethodDescriptionprotectedLockModeAbstractSelectLockingStrategy.getLockMode()protectedLockModeOptimisticForceIncrementLockingStrategy.getLockMode()protectedLockModeOptimisticLockingStrategy.getLockMode()protectedLockModePessimisticForceIncrementLockingStrategy.getLockMode()Retrieve the specific lock mode defined.protectedLockModePessimisticReadUpdateLockingStrategy.getLockMode()protectedLockModePessimisticWriteUpdateLockingStrategy.getLockMode()protectedLockModeUpdateLockingStrategy.getLockMode()Constructors inorg.hibernate.dialect.lock with parameters of typeLockModeModifierConstructorDescriptionprotectedAbstractSelectLockingStrategy(EntityPersister lockable,LockMode lockMode) OptimisticForceIncrementLockingStrategy(EntityPersister lockable,LockMode lockMode) Construct locking strategy.OptimisticLockingStrategy(EntityPersister lockable,LockMode lockMode) Construct locking strategy.PessimisticForceIncrementLockingStrategy(EntityPersister lockable,LockMode lockMode) Construct locking strategy.PessimisticReadSelectLockingStrategy(EntityPersister lockable,LockMode lockMode) Construct a locking strategy based on SQL SELECT statements.PessimisticReadUpdateLockingStrategy(EntityPersister lockable,LockMode lockMode) Construct a locking strategy based on SQL UPDATE statements.PessimisticWriteSelectLockingStrategy(EntityPersister lockable,LockMode lockMode) Construct a locking strategy based on SQL SELECT statements.PessimisticWriteUpdateLockingStrategy(EntityPersister lockable,LockMode lockMode) Construct a locking strategy based on SQL UPDATE statements.SelectLockingStrategy(EntityPersister lockable,LockMode lockMode) Construct a locking strategy based on SQL SELECT statements.UpdateLockingStrategy(EntityPersister lockable,LockMode lockMode) Construct a locking strategy based on SQL UPDATE statements.Uses ofLockMode inorg.hibernate.dialect.sql.ast
Methods inorg.hibernate.dialect.sql.ast with parameters of typeLockModeModifier and TypeMethodDescriptionprotected booleanSQLServerSqlAstTranslator.renderNamedTableReference(NamedTableReference tableReference,LockMode lockMode) protected booleanSybaseASESqlAstTranslator.renderNamedTableReference(NamedTableReference tableReference,LockMode lockMode) protected booleanSybaseSqlAstTranslator.renderNamedTableReference(NamedTableReference tableReference,LockMode lockMode) protected booleanH2SqlAstTranslator.renderPrimaryTableReference(TableGroup tableGroup,LockMode lockMode) Uses ofLockMode inorg.hibernate.engine.internal
Fields inorg.hibernate.engine.internal with type parameters of typeLockModeModifier and TypeFieldDescriptionprotected static finalAbstractEntityEntry.EnumState<LockMode>AbstractEntityEntry.EnumState.LOCK_MODEMethods inorg.hibernate.engine.internal that returnLockModeMethods inorg.hibernate.engine.internal with parameters of typeLockModeModifier and TypeMethodDescriptionstatic voidTwoPhaseLoad.addUninitializedCachedEntity(EntityKey key,Object object,EntityPersister persister,LockMode lockMode,Object version,SharedSessionContractImplementor session) ImmutableEntityEntryFactory.createEntityEntry(Status status,Object[] loadedState,Object rowId,Object id,Object version,LockMode lockMode, boolean existsInDatabase,EntityPersister persister, boolean disableVersionIncrement,PersistenceContext persistenceContext) Deprecated, for removal: This API element is subject to removal in a future version.MutableEntityEntryFactory.createEntityEntry(Status status,Object[] loadedState,Object rowId,Object id,Object version,LockMode lockMode, boolean existsInDatabase,EntityPersister persister, boolean disableVersionIncrement,PersistenceContext persistenceContext) Deprecated, for removal: This API element is subject to removal in a future version.voidAbstractEntityEntry.setLockMode(LockMode lockMode) voidImmutableEntityEntry.setLockMode(LockMode lockMode) Constructors inorg.hibernate.engine.internal with parameters of typeLockModeModifierConstructorDescriptionprotectedAbstractEntityEntry(SessionFactoryImplementor factory,String entityName,Object 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 handlingAbstractEntityEntry(Status status,Object[] loadedState,Object rowId,Object id,Object version,LockMode lockMode, boolean existsInDatabase,EntityPersister persister, boolean disableVersionIncrement,PersistenceContext persistenceContext) ImmutableEntityEntry(Status status,Object[] loadedState,Object rowId,Object id,Object version,LockMode lockMode, boolean existsInDatabase,EntityPersister persister, boolean disableVersionIncrement) MutableEntityEntry(Status status,Object[] loadedState,Object rowId,Object id,Object version,LockMode lockMode, boolean existsInDatabase,EntityPersister persister, boolean disableVersionIncrement,PersistenceContext persistenceContext) Uses ofLockMode inorg.hibernate.engine.spi
Methods inorg.hibernate.engine.spi that returnLockModeModifier and TypeMethodDescriptionSessionDelegatorBaseImpl.getCurrentLockMode(Object object) SessionLazyDelegator.getCurrentLockMode(Object object) EntityEntry.getLockMode()Methods inorg.hibernate.engine.spi with parameters of typeLockModeModifier and TypeMethodDescriptionPersistenceContext.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.PersistenceContext.addEntry(Object entity,Status status,Object[] loadedState,Object rowId,Object 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.EntityEntryFactory.createEntityEntry(Status status,Object[] loadedState,Object rowId,Object id,Object version,LockMode lockMode, boolean existsInDatabase,EntityPersister persister, boolean disableVersionIncrement,PersistenceContext persistenceContext) Deprecated, for removal: This API element is subject to removal in a future version.CreatesEntityEntry.<T> T<T> TSessionDelegatorBaseImpl.loadFromSecondLevelCache(EntityPersister persister,EntityKey entityKey,Object instanceToLoad,LockMode lockMode) SharedSessionContractImplementor.loadFromSecondLevelCache(EntityPersister persister,EntityKey entityKey,Object instanceToLoad,LockMode lockMode) Attempts to load the entity from the second-level cache.SharedSessionDelegatorBaseImpl.loadFromSecondLevelCache(EntityPersister persister,EntityKey entityKey,Object instanceToLoad,LockMode lockMode) voidvoidSessionDelegatorBaseImpl.lock(Object object,LockMode lockMode,LockOption... lockOptions) voidvoidSessionLazyDelegator.lock(Object object,LockMode lockMode,LockOption... lockOptions) voidEntityEntry.setLockMode(LockMode lockMode) Uses ofLockMode inorg.hibernate.envers.query
Methods inorg.hibernate.envers.query with parameters of typeLockModeModifier and TypeMethodDescriptionAuditAssociationQuery.setLockMode(LockMode lockMode) AuditQuery.setLockMode(LockMode lockMode) Uses ofLockMode inorg.hibernate.envers.query.internal.impl
Methods inorg.hibernate.envers.query.internal.impl with parameters of typeLockModeModifier and TypeMethodDescriptionAbstractAuditAssociationQuery.setLockMode(LockMode lockMode) AbstractAuditQuery.setLockMode(LockMode lockMode) Deprecated.Instead use setLockOptionsUses ofLockMode inorg.hibernate.event.monitor.internal
Methods inorg.hibernate.event.monitor.internal with parameters of typeLockModeModifier and TypeMethodDescriptionvoidEmptyEventMonitor.completeEntityLockEvent(DiagnosticEvent event,Object id,String entityName,LockMode lockMode, boolean success,SharedSessionContractImplementor session) Uses ofLockMode inorg.hibernate.event.monitor.spi
Methods inorg.hibernate.event.monitor.spi with parameters of typeLockModeModifier and TypeMethodDescriptionvoidEventMonitor.completeEntityLockEvent(DiagnosticEvent event,Object id,String entityName,LockMode lockMode, boolean success,SharedSessionContractImplementor session) Uses ofLockMode inorg.hibernate.event.spi
Methods inorg.hibernate.event.spi that returnLockModeModifier and TypeMethodDescriptionLoadEvent.getLockMode()LockEvent.getLockMode()RefreshEvent.getLockMode()Constructors inorg.hibernate.event.spi with parameters of typeLockModeModifierConstructorDescriptionLoadEvent(Object entityId,String entityClassName,LockMode lockMode,EventSource source,Boolean readOnly) LockEvent(Object object,LockMode lockMode,EventSource source) LockEvent(String entityName,Object original,LockMode lockMode,EventSource source) RefreshEvent(Object object,LockMode lockMode,EventSource source) Uses ofLockMode inorg.hibernate.internal
Methods inorg.hibernate.internal that returnLockModeMethods inorg.hibernate.internal with parameters of typeLockModeModifier and TypeMethodDescriptionvoidCoreMessageLogger.aliasSpecificLockingWithFollowOnLocking(LockMode lockMode) protected voidSessionImpl.checkTransactionNeededForLock(LockMode lockMode) <T> TDeprecated.Deprecated.<T> TStatelessSessionImpl.get(EntityGraph<T> graph,Object id,LockMode lockMode) <T> TStatelessSessionImpl.get(EntityGraph<T> graph,GraphSemantic graphSemantic,Object id,LockMode lockMode) <T> T<T> List<T>StatelessSessionImpl.getMultiple(Class<T> entityClass,List<?> ids,LockMode lockMode) SessionImpl.loadFromSecondLevelCache(EntityPersister persister,EntityKey entityKey,Object instanceToLoad,LockMode lockMode) StatelessSessionImpl.loadFromSecondLevelCache(EntityPersister persister,EntityKey entityKey,Object instanceToLoad,LockMode lockMode) voidvoidSessionImpl.lock(Object object,LockMode lockMode,LockOption... lockOptions) voidvoidNaturalIdMultiLoadAccessStandard.with(LockMode lockMode,PessimisticLockScope lockScope) Uses ofLockMode inorg.hibernate.internal.util
Methods inorg.hibernate.internal.util that returnLockModeModifier and TypeMethodDescriptionstaticLockModeLockModeConverter.convertToLockMode(LockModeType lockModeType) Convert from JPA definedLockModeTypeto Hibernate-specificLockMode.Methods inorg.hibernate.internal.util with parameters of typeLockModeModifier and TypeMethodDescriptionstaticLockModeTypeLockModeConverter.convertToLockModeType(LockMode lockMode) Convert from the Hibernate-specificLockModeto the JPA definedLockModeType.Uses ofLockMode inorg.hibernate.internal.util.collections
Methods inorg.hibernate.internal.util.collections that returnLockModeMethods inorg.hibernate.internal.util.collections with parameters of typeLockModeModifier and TypeMethodDescriptionLockModeEnumMap.computeIfAbsent(LockMode key,Function<LockMode, V> valueGenerator) staticLockMode[]Method parameters inorg.hibernate.internal.util.collections with type arguments of typeLockModeUses ofLockMode inorg.hibernate.jpa.internal.util
Methods inorg.hibernate.jpa.internal.util that returnLockModeModifier and TypeMethodDescriptionstaticLockModeLockModeTypeHelper.getLockMode(LockModeType lockModeType) staticLockModeLockModeTypeHelper.interpretLockMode(Object value) Methods inorg.hibernate.jpa.internal.util with parameters of typeLockModeModifier and TypeMethodDescriptionstaticLockModeTypeLockModeTypeHelper.getLockModeType(LockMode lockMode) Uses ofLockMode inorg.hibernate.loader.ast.internal
Methods inorg.hibernate.loader.ast.internal with parameters of typeLockModeModifier and TypeMethodDescriptionvoidLoaderSqlAstCreationState.registerLockMode(String identificationVariable,LockMode explicitLockMode) Uses ofLockMode inorg.hibernate.loader.internal
Methods inorg.hibernate.loader.internal with parameters of typeLockModeModifier and TypeMethodDescriptionstaticObjectCacheLoadHelper.loadFromSecondLevelCache(SharedSessionContractImplementor source,Object entity,LockMode lockMode,EntityPersister persister,EntityKey entityKey) Attempts to load the entity from the second-level cache.protectedObjectBaseNaturalIdLoadAccessImpl.with(LockMode lockMode,PessimisticLockScope lockScope) IdentifierLoadAccessImpl.with(LockMode lockMode,PessimisticLockScope lockScope) NaturalIdLoadAccessImpl.with(LockMode lockMode,PessimisticLockScope lockScope) SimpleNaturalIdLoadAccessImpl.with(LockMode lockMode,PessimisticLockScope lockScope) Uses ofLockMode inorg.hibernate.persister.entity
Methods inorg.hibernate.persister.entity with parameters of typeLockModeModifier and TypeMethodDescriptionprotectedLockingStrategyAbstractEntityPersister.generateLocker(LockMode lockMode) AbstractEntityPersister.load(Object id,Object optionalObject,LockMode lockMode,SharedSessionContractImplementor session) Load an instance using either theforUpdateLoaderor the outer joiningloader, depending upon the value of thelockparameterEntityPersister.load(Object id,Object optionalObject,LockMode lockMode,SharedSessionContractImplementor session) Load an instance of the persistent class.defaultObjectEntityPersister.load(Object id,Object optionalObject,LockMode lockMode,SharedSessionContractImplementor session,Boolean readOnly) voidAbstractEntityPersister.lock(Object id,Object version,Object object,LockMode lockMode,SharedSessionContractImplementor session) voidAbstractEntityPersister.lock(Object id,Object version,Object object,LockMode lockMode,EventSource session) voidEntityPersister.lock(Object id,Object version,Object object,LockMode lockMode,SharedSessionContractImplementor session) Do a version check (optional operation)default voidUses ofLockMode inorg.hibernate.procedure.internal
Methods inorg.hibernate.procedure.internal with parameters of typeLockModeUses ofLockMode inorg.hibernate.query
Methods inorg.hibernate.query that returnLockModeModifier and TypeMethodDescriptionNativeQuery.getHibernateLockMode()SelectionQuery.getHibernateLockMode()Get the rootLockModefor the queryNativeQuery.RootReturn.getLockMode()Methods inorg.hibernate.query with parameters of typeLockModeModifier and TypeMethodDescriptionDeclare a "root" entity, specifying a lock mode.Declare a "root" entity, specifying a lock mode.Declare a join fetch result, specifying a lock mode.NativeQuery.setHibernateLockMode(LockMode lockMode) SelectionQuery.setHibernateLockMode(LockMode lockMode) Specify the rootLockModefor the queryNativeQuery.FetchReturn.setLockMode(LockMode lockMode) Set the lock mode for this return.NativeQuery.RootReturn.setLockMode(LockMode lockMode) Set the lock mode for this return.NativeQuery.setLockMode(String alias,LockMode lockMode) Not applicable to native SQL queries.Query.setLockMode(String alias,LockMode lockMode) Set theLockModeto use for particular alias defined in theFROMclause of the query.SelectionQuery.setLockMode(String alias,LockMode lockMode) Specify aLockModeto apply to a specific alias defined in the queryUses ofLockMode inorg.hibernate.query.hql.spi
Methods inorg.hibernate.query.hql.spi with parameters of typeLockModeUses ofLockMode inorg.hibernate.query.internal
Constructors inorg.hibernate.query.internal with parameters of typeLockModeModifierConstructorDescriptionFetchMementoHbmStandard(NavigablePath navigablePath,String ownerTableAlias,String tableAlias,List<String> keyColumnNames,LockMode lockMode,FetchMementoHbmStandard.FetchParentMemento parent,Map<String, FetchMemento> fetchMementoMap,Fetchable fetchable) ResultMementoEntityJpa(EntityMappingType entityDescriptor,LockMode lockMode,FetchMementoBasic discriminatorMemento,Map<String, FetchMemento> explicitFetchMementoMap) ResultMementoEntityStandard(String tableAlias,EntityMappingType entityDescriptor,LockMode lockMode,FetchMementoBasic discriminatorMemento,Map<String, FetchMemento> fetchMementoMap) Uses ofLockMode inorg.hibernate.query.results.internal
Methods inorg.hibernate.query.results.internal that returnLockModeModifier and TypeMethodDescriptionJdbcValuesMappingImpl.determineDefaultLockMode(String alias,LockMode defaultLockMode) Methods inorg.hibernate.query.results.internal that return types with arguments of typeLockModeMethods inorg.hibernate.query.results.internal with parameters of typeLockModeModifier and TypeMethodDescriptionJdbcValuesMappingImpl.determineDefaultLockMode(String alias,LockMode defaultLockMode) Builders.entityCalculated(String tableAlias,String entityName,LockMode explicitLockMode,SessionFactoryImplementor sessionFactory) Creates a EntityResultBuilder that does not allow any further configuring of the mapping.voidDomainResultCreationStateImpl.registerLockMode(String identificationVariable,LockMode explicitLockMode) Constructor parameters inorg.hibernate.query.results.internal with type arguments of typeLockModeModifierConstructorDescriptionJdbcValuesMappingImpl(List<SqlSelection> sqlSelections,List<DomainResult<?>> domainResults, int rowSize, @NullableMap<String, LockMode> registeredLockModes) Uses ofLockMode inorg.hibernate.query.results.internal.complete
Methods inorg.hibernate.query.results.internal.complete that returnLockModeMethods inorg.hibernate.query.results.internal.complete with parameters of typeLockModeModifier and TypeMethodDescriptionCompleteResultBuilderEntityStandard.setLockMode(LockMode lockMode) Constructors inorg.hibernate.query.results.internal.complete with parameters of typeLockModeModifierConstructorDescriptionCompleteResultBuilderEntityJpa(NavigablePath navigablePath,EntityMappingType entityDescriptor,LockMode lockMode,FetchBuilderBasicValued discriminatorFetchBuilder,HashMap<Fetchable, FetchBuilder> explicitFetchBuilderMap) CompleteResultBuilderEntityStandard(String tableAlias,NavigablePath navigablePath,EntityMappingType entityDescriptor,LockMode lockMode,FetchBuilderBasicValued discriminatorFetchBuilder,HashMap<Fetchable, FetchBuilder> explicitFetchBuilderMap) EntityResultImpl(NavigablePath navigablePath,EntityValuedModelPart entityValuedModelPart,String resultAlias,LockMode lockMode,Function<EntityResultImpl, BasicFetch<?>> discriminatorFetchBuilder,DomainResultCreationState creationState) Uses ofLockMode inorg.hibernate.query.results.internal.dynamic
Methods inorg.hibernate.query.results.internal.dynamic that returnLockModeModifier and TypeMethodDescriptionDynamicResultBuilderEntityCalculated.getLockMode()DynamicResultBuilderEntityStandard.getLockMode()Methods inorg.hibernate.query.results.internal.dynamic with parameters of typeLockModeModifier and TypeMethodDescriptionDynamicFetchBuilderLegacy.setLockMode(LockMode lockMode) DynamicResultBuilderEntityCalculated.setLockMode(LockMode lockMode) DynamicResultBuilderEntityStandard.setLockMode(LockMode lockMode) Constructors inorg.hibernate.query.results.internal.dynamic with parameters of typeLockModeModifierConstructorDescriptionDynamicResultBuilderEntityCalculated(EntityMappingType entityMapping,String tableAlias,LockMode explicitLockMode) Uses ofLockMode inorg.hibernate.query.spi
Methods inorg.hibernate.query.spi that returnLockModeModifier and TypeMethodDescriptionAbstractSelectionQuery.getHibernateLockMode()Get the root LockMode for the queryMethods inorg.hibernate.query.spi with parameters of typeLockModeModifier and TypeMethodDescriptionprotected voidAbstractCommonQueryContract.applyHibernateLockMode(LockMode value) protected booleanAbstractSelectionQuery.requiresTxn(LockMode lockMode) AbstractSelectionQuery.setHibernateLockMode(LockMode lockMode) Specify the root LockMode for the queryAbstractQuery.setLockMode(String alias,LockMode lockMode) AbstractSelectionQuery.setLockMode(String alias,LockMode lockMode) Uses ofLockMode inorg.hibernate.query.sql.internal
Methods inorg.hibernate.query.sql.internal with parameters of typeLockModeModifier and TypeMethodDescriptionNativeQueryImpl.setHibernateLockMode(LockMode lockMode) NativeQueryImpl.setLockMode(String alias,LockMode lockMode) Uses ofLockMode inorg.hibernate.query.sql.spi
Methods inorg.hibernate.query.sql.spi with parameters of typeLockModeModifier and TypeMethodDescriptionNativeQueryImplementor.setHibernateLockMode(LockMode lockMode) NativeQueryImplementor.setLockMode(String alias,LockMode lockMode) Uses ofLockMode inorg.hibernate.query.sqm.internal
Methods inorg.hibernate.query.sqm.internal with parameters of typeLockModeModifier and TypeMethodDescriptionprotected voidQuerySqmImpl.applyHibernateLockMode(LockMode value) SqmSelectionQueryImpl.setHibernateLockMode(LockMode lockMode) Specify the rootLockModefor the queryQuerySqmImpl.setLockMode(String alias,LockMode lockMode) SqmSelectionQueryImpl.setLockMode(String alias,LockMode lockMode) Specify aLockModeto apply to a specific alias defined in the queryUses ofLockMode inorg.hibernate.query.sqm.spi
Methods inorg.hibernate.query.sqm.spi that returnLockModeMethods inorg.hibernate.query.sqm.spi with parameters of typeLockModeModifier and TypeMethodDescriptionDelegatingSqmSelectionQueryImplementor.setHibernateLockMode(LockMode lockMode) DelegatingSqmSelectionQueryImplementor.setLockMode(String alias,LockMode lockMode) Uses ofLockMode inorg.hibernate.query.sqm.sql
Methods inorg.hibernate.query.sqm.sql with parameters of typeLockModeModifier and TypeMethodDescriptionvoidBaseSqmToSqlAstConverter.registerLockMode(String identificationVariable,LockMode explicitLockMode) voidFakeSqmToSqlAstConverter.registerLockMode(String identificationVariable,LockMode explicitLockMode) Uses ofLockMode inorg.hibernate.sql
Methods inorg.hibernate.sql with parameters of typeLockModeUses ofLockMode inorg.hibernate.sql.ast.spi
Methods inorg.hibernate.sql.ast.spi that returnLockModeModifier and TypeMethodDescriptionprotectedLockModeAbstractSqlAstTranslator.getEffectiveLockMode(String alias) protectedLockModeAbstractSqlAstTranslator.getEffectiveLockMode(String alias, boolean isRoot) AbstractSqlAstTranslator.ForUpdateClause.getLockMode()Methods inorg.hibernate.sql.ast.spi with parameters of typeLockModeModifier and TypeMethodDescriptionprotected intAbstractSqlAstTranslator.getEffectiveLockTimeout(LockMode lockMode) protected voidAbstractSqlAstTranslator.inlineCteTableGroup(TableGroup tableGroup,LockMode lockMode) voidSqlAstCreationState.registerLockMode(String identificationVariable,LockMode explicitLockMode) protected booleanAbstractSqlAstTranslator.renderNamedTableReference(NamedTableReference tableReference,LockMode lockMode) protected booleanAbstractSqlAstTranslator.renderPrimaryTableReference(TableGroup tableGroup,LockMode lockMode) voidAbstractSqlAstTranslator.ForUpdateClause.setLockMode(LockMode lockMode) Constructors inorg.hibernate.sql.ast.spi with parameters of typeLockModeUses ofLockMode inorg.hibernate.sql.results.graph.collection.internal
Methods inorg.hibernate.sql.results.graph.collection.internal with parameters of typeLockModeModifier and TypeMethodDescriptionArrayInitializerProducer.produceInitializer(NavigablePath navigablePath,PluralAttributeMapping attribute,InitializerParent<?> parent,LockMode lockMode,DomainResult<?> collectionKeyResult,DomainResult<?> collectionValueKeyResult, boolean isResultInitializer,AssemblerCreationState creationState) BagInitializerProducer.produceInitializer(NavigablePath navigablePath,PluralAttributeMapping attribute,InitializerParent<?> parent,LockMode lockMode,DomainResult<?> collectionKeyResult,DomainResult<?> collectionValueKeyResult, boolean isResultInitializer,AssemblerCreationState creationState) ListInitializerProducer.produceInitializer(NavigablePath navigablePath,PluralAttributeMapping attribute,InitializerParent<?> parent,LockMode lockMode,DomainResult<?> collectionKeyResult,DomainResult<?> collectionValueKeyResult, boolean isResultInitializer,AssemblerCreationState creationState) MapInitializerProducer.produceInitializer(NavigablePath navigablePath,PluralAttributeMapping attribute,InitializerParent<?> parent,LockMode lockMode,DomainResult<?> collectionKeyResult,DomainResult<?> collectionValueKeyResult, boolean isResultInitializer,AssemblerCreationState creationState) SetInitializerProducer.produceInitializer(NavigablePath navigablePath,PluralAttributeMapping attribute,InitializerParent<?> parent,LockMode lockMode,DomainResult<?> collectionKeyResult,DomainResult<?> collectionValueKeyResult, boolean isResultInitializer,AssemblerCreationState creationState) Constructors inorg.hibernate.sql.results.graph.collection.internal with parameters of typeLockModeModifierConstructorDescriptionAbstractImmediateCollectionInitializer(NavigablePath collectionPath,PluralAttributeMapping collectionAttributeMapping,InitializerParent<?> parent,LockMode lockMode,DomainResult<?> collectionKeyResult,DomainResult<?> collectionValueKeyResult, boolean isResultInitializer,AssemblerCreationState creationState) ArrayInitializer(NavigablePath navigablePath,PluralAttributeMapping arrayDescriptor,InitializerParent<?> parent,LockMode lockMode,DomainResult<?> collectionKeyResult,DomainResult<?> collectionValueKeyResult, boolean isResultInitializer,AssemblerCreationState creationState,Fetch listIndexFetch,Fetch elementFetch) BagInitializer(NavigablePath navigablePath,PluralAttributeMapping bagDescriptor,InitializerParent<?> parent,LockMode lockMode,DomainResult<?> collectionKeyResult,DomainResult<?> collectionValueKeyResult, boolean isResultInitializer,AssemblerCreationState creationState,Fetch elementFetch, @NullableFetch collectionIdFetch) ListInitializer(NavigablePath navigablePath,PluralAttributeMapping attributeMapping,InitializerParent<?> parent,LockMode lockMode,DomainResult<?> collectionKeyResult,DomainResult<?> collectionValueKeyResult, boolean isResultInitializer,AssemblerCreationState creationState,Fetch listIndexFetch,Fetch elementFetch) MapInitializer(NavigablePath navigablePath,PluralAttributeMapping attributeMapping,InitializerParent<?> parent,LockMode lockMode,DomainResult<?> collectionKeyResult,DomainResult<?> collectionValueKeyResult, boolean isResultInitializer,AssemblerCreationState creationState,Fetch mapKeyFetch,Fetch mapValueFetch) SetInitializer(NavigablePath navigablePath,PluralAttributeMapping setDescriptor,InitializerParent<?> parent,LockMode lockMode,DomainResult<?> collectionKeyResult,DomainResult<?> collectionValueKeyResult, boolean isResultInitializer,AssemblerCreationState creationState,Fetch elementFetch) Uses ofLockMode inorg.hibernate.sql.results.graph.embeddable.internal
Methods inorg.hibernate.sql.results.graph.embeddable.internal that returnLockModeUses ofLockMode inorg.hibernate.sql.results.graph.entity.internal
Fields inorg.hibernate.sql.results.graph.entity.internal declared asLockModeUses ofLockMode inorg.hibernate.sql.results.internal
Methods inorg.hibernate.sql.results.internal that returnLockModeModifier and TypeMethodDescriptionRowProcessingStateStandardImpl.determineEffectiveLockMode(String alias) Uses ofLockMode inorg.hibernate.sql.results.jdbc.internal
Methods inorg.hibernate.sql.results.jdbc.internal that returnLockModeModifier and TypeMethodDescriptionStandardJdbcValuesMapping.determineDefaultLockMode(String alias,LockMode defaultLockMode) protectedLockModeDeferredResultSetAccess.determineFollowOnLockMode(LockOptions lockOptions) Methods inorg.hibernate.sql.results.jdbc.internal with parameters of typeLockModeModifier and TypeMethodDescriptionStandardJdbcValuesMapping.determineDefaultLockMode(String alias,LockMode defaultLockMode) Uses ofLockMode inorg.hibernate.sql.results.jdbc.spi
Methods inorg.hibernate.sql.results.jdbc.spi that returnLockModeModifier and TypeMethodDescriptionJdbcValuesMapping.determineDefaultLockMode(String alias,LockMode defaultLockMode) RowProcessingState.determineEffectiveLockMode(String alias) Methods inorg.hibernate.sql.results.jdbc.spi with parameters of typeLockModeModifier and TypeMethodDescriptionJdbcValuesMapping.determineDefaultLockMode(String alias,LockMode defaultLockMode)