Uses of Enum Class
org.hibernate.LockMode
Packages that use LockMode
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 of
Session and StatelessSession,
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.Support for many of the internal workings of Hibernate.
This package defines some central internal SPI abstractions
used throughout the implementation of Hibernate.
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 defining result set mappings used in
NativeQuery,
ProcedureCall, and StoredProcedureQuery.Support for immutable result/fetch builder graph nodes built from static sources
such as
SqlResultSetMapping or the hbm.xml
mapping element <resultset/>.Support for mutable result/fetch builder graphs nodes built dynamically via
Hibernate's
NativeQuery APIsContains 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 of LockMode in org.hibernate
Methods in org.hibernate that return LockModeModifier and TypeMethodDescriptionLockOptions.findGreatestLockMode()Currently needed for follow-on locking.static LockModeLockMode.fromExternalForm(String externalForm) static LockModeLockMode.fromJpaLockMode(LockModeType lockMode) LockOptions.getAliasSpecificLockMode(String alias) Get theLockModeexplicitly specified for the given alias viaLockOptions.setAliasSpecificLockMode(String, LockMode).Session.getCurrentLockMode(Object object) Determine the currentLockModeof the given managed instance associated with this session.LockOptions.getEffectiveLockMode(String alias) Determine theLockModeto apply to the given alias.LockOptions.getLockMode()Retrieve the overall lock mode in effect for this set of options.Session.LockRequest.getLockMode()Deprecated.Get the lock mode.static LockModeReturns the enum constant of this class with the specified name.static LockMode[]LockMode.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.hibernate that return types with arguments of type LockModeModifier and TypeMethodDescriptionLockOptions.getAliasLockIterator()Deprecated.LockOptions.getAliasSpecificLocks()Methods in org.hibernate with parameters of type LockModeModifier and TypeMethodDescription<T> TReturn the persistent instance of the given entity class with the given identifier, or null if there is no such persistent instance.Return the persistent instance of the given entity class with the given identifier, or null if there is no such persistent instance.<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.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.<T> TDeprecated.Deprecated.voidObtain the specified lock level on the given managed instance associated with this session.voidDeprecated.voidReread the state of the given managed instance from the underlying database, obtaining the givenLockMode.voidRefresh the entity instance state from the database.voidRefresh the entity instance state from the database.LockOptions.setAliasSpecificLockMode(String alias, LockMode lockMode) Specify theLockModeto be used for the given query alias.LockOptions.setLockMode(LockMode lockMode) Set the overall lock mode.Session.LockRequest.setLockMode(LockMode lockMode) Deprecated.Specify theLockModeto be used.static LockModeTypeLockMode.toJpaLockMode(LockMode lockMode) Constructors in org.hibernate with parameters of type LockModeModifierConstructorDescriptionLockOptions(LockMode lockMode) Construct an instance with the given mode andLockOptions.WAIT_FOREVER.LockOptions(LockMode lockMode, int timeout) Construct an instance with the given mode and timeout.LockOptions(LockMode lockMode, int timeout, PessimisticLockScope scope) -
Uses of LockMode in org.hibernate.boot.jaxb.hbm.internal
Methods in org.hibernate.boot.jaxb.hbm.internal that return LockModeMethods in org.hibernate.boot.jaxb.hbm.internal with parameters of type LockMode -
Uses of LockMode in org.hibernate.boot.jaxb.hbm.spi
Fields in org.hibernate.boot.jaxb.hbm.spi declared as LockModeModifier and TypeFieldDescriptionprotected LockModeJaxbHbmNativeQueryCollectionLoadReturnType.lockModeprotected LockModeJaxbHbmNativeQueryJoinReturnType.lockModeprotected LockModeJaxbHbmNativeQueryReturnType.lockModeMethods in org.hibernate.boot.jaxb.hbm.spi that return LockModeModifier 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 in org.hibernate.boot.jaxb.hbm.spi with parameters of type LockModeModifier 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 of LockMode in org.hibernate.boot.model.internal
Methods in org.hibernate.boot.model.internal that return LockMode -
Uses of LockMode in org.hibernate.collection.spi
Methods in org.hibernate.collection.spi with parameters of type LockModeModifier 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 of LockMode in org.hibernate.dialect
Methods in org.hibernate.dialect with parameters of type LockModeModifier and TypeMethodDescriptionDialect.getForUpdateString(LockMode lockMode) Given aLockMode, determine the appropriatefor updatefragment to use to obtain the lock.DialectDelegateWrapper.getForUpdateString(LockMode lockMode) HANADialect.getForUpdateString(LockMode lockMode) Dialect.getLockingStrategy(EntityPersister lockable, LockMode lockMode) ALockingStrategywhich is able to acquire a database-level lock with the specified level.DialectDelegateWrapper.getLockingStrategy(EntityPersister lockable, LockMode lockMode) SpannerDialect.getLockingStrategy(EntityPersister lockable, LockMode lockMode) Dialect.getLockRowIdentifier(LockMode lockMode) Obtain aRowLockStrategyfor the givenLockMode.DialectDelegateWrapper.getLockRowIdentifier(LockMode lockMode) protected booleanSQLServerSqlAstTranslator.renderNamedTableReference(NamedTableReference tableReference, LockMode lockMode) protected booleanSybaseASESqlAstTranslator.renderNamedTableReference(NamedTableReference tableReference, LockMode lockMode) protected booleanSybaseSqlAstTranslator.renderNamedTableReference(NamedTableReference tableReference, LockMode lockMode) protected booleanDB2zSqlAstTranslator.renderPrimaryTableReference(TableGroup tableGroup, LockMode lockMode) protected booleanH2SqlAstTranslator.renderPrimaryTableReference(TableGroup tableGroup, LockMode lockMode) protected booleanSpannerSqlAstTranslator.renderPrimaryTableReference(TableGroup tableGroup, LockMode lockMode) protected booleanSQLServerSqlAstTranslator.renderPrimaryTableReference(TableGroup tableGroup, LockMode lockMode) -
Uses of LockMode in org.hibernate.dialect.lock
Methods in org.hibernate.dialect.lock that return LockModeModifier and TypeMethodDescriptionprotected LockModeAbstractSelectLockingStrategy.getLockMode()protected LockModeOptimisticForceIncrementLockingStrategy.getLockMode()protected LockModeOptimisticLockingStrategy.getLockMode()protected LockModePessimisticForceIncrementLockingStrategy.getLockMode()Retrieve the specific lock mode defined.protected LockModePessimisticReadUpdateLockingStrategy.getLockMode()protected LockModePessimisticWriteUpdateLockingStrategy.getLockMode()protected LockModeUpdateLockingStrategy.getLockMode()Constructors in org.hibernate.dialect.lock with parameters of type LockModeModifierConstructorDescriptionprotectedAbstractSelectLockingStrategy(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 of LockMode in org.hibernate.engine.internal
Fields in org.hibernate.engine.internal with type parameters of type LockModeModifier and TypeFieldDescriptionprotected static final AbstractEntityEntry.EnumState<LockMode>AbstractEntityEntry.EnumState.LOCK_MODEMethods in org.hibernate.engine.internal that return LockModeMethods in org.hibernate.engine.internal with parameters of type LockModeModifier and TypeMethodDescriptionStatefulPersistenceContext.addEntity(Object entity, Status status, Object[] loadedState, EntityKey entityKey, Object version, LockMode lockMode, boolean existsInDatabase, EntityPersister persister, boolean disableVersionIncrement) StatefulPersistenceContext.addEntry(Object entity, Status status, Object[] loadedState, Object rowId, Object id, Object version, LockMode lockMode, boolean existsInDatabase, EntityPersister persister, boolean disableVersionIncrement) static 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) MutableEntityEntryFactory.createEntityEntry(Status status, Object[] loadedState, Object rowId, Object id, Object version, LockMode lockMode, boolean existsInDatabase, EntityPersister persister, boolean disableVersionIncrement, PersistenceContext persistenceContext) voidAbstractEntityEntry.setLockMode(LockMode lockMode) voidImmutableEntityEntry.setLockMode(LockMode lockMode) Constructors in org.hibernate.engine.internal with parameters of type LockModeModifierConstructorDescriptionprotectedAbstractEntityEntry(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 of LockMode in org.hibernate.engine.spi
Methods in org.hibernate.engine.spi that return LockModeModifier and TypeMethodDescriptionSessionDelegatorBaseImpl.getCurrentLockMode(Object object) SessionLazyDelegator.getCurrentLockMode(Object object) EntityEntry.getLockMode()Methods in org.hibernate.engine.spi with parameters of type LockModeModifier 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) CreatesEntityEntry.<T> T<T> T<T> T<T> TDeprecated.Deprecated.voidvoidvoidvoidDeprecated.voidvoidvoidEntityEntry.setLockMode(LockMode lockMode) -
Uses of LockMode in org.hibernate.event.spi
Fields in org.hibernate.event.spi declared as LockModeMethods in org.hibernate.event.spi that return LockModeModifier and TypeMethodDescriptionLoadEvent.getLockMode()LockEvent.getLockMode()RefreshEvent.getLockMode()Constructors in org.hibernate.event.spi with parameters of type LockModeModifierConstructorDescriptionLoadEvent(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 of LockMode in org.hibernate.internal
Methods in org.hibernate.internal that return LockModeMethods in org.hibernate.internal with parameters of type LockModeModifier and TypeMethodDescriptionvoidCoreMessageLogger.aliasSpecificLockingWithFollowOnLocking(LockMode lockMode) <T> T<T> TStatelessSessionImpl.get(EntityGraph<T> graph, GraphSemantic graphSemantic, Object id, LockMode lockMode) <T> T<T> TDeprecated.Deprecated.voidvoidvoidvoidvoid -
Uses of LockMode in org.hibernate.internal.util
Methods in org.hibernate.internal.util that return LockModeModifier and TypeMethodDescriptionstatic LockModeLockModeConverter.convertToLockMode(LockModeType lockMode) Convert from JPA definedLockModeTypeto Hibernate-specificLockMode.Methods in org.hibernate.internal.util with parameters of type LockModeModifier and TypeMethodDescriptionstatic LockModeTypeLockModeConverter.convertToLockModeType(LockMode lockMode) Convert from the Hibernate-specificLockModeto the JPA definedLockModeType. -
Uses of LockMode in org.hibernate.internal.util.collections
Methods in org.hibernate.internal.util.collections that return LockModeMethods in org.hibernate.internal.util.collections with parameters of type LockModeModifier and TypeMethodDescriptionLockModeEnumMap.computeIfAbsent(LockMode key, Function<LockMode, V> valueGenerator) static LockMode[]Method parameters in org.hibernate.internal.util.collections with type arguments of type LockMode -
Uses of LockMode in org.hibernate.jpa.internal.util
Methods in org.hibernate.jpa.internal.util that return LockModeModifier and TypeMethodDescriptionstatic LockModeLockModeTypeHelper.getLockMode(LockModeType lockModeType) static LockModeLockModeTypeHelper.interpretLockMode(Object value) Methods in org.hibernate.jpa.internal.util with parameters of type LockModeModifier and TypeMethodDescriptionstatic LockModeTypeLockModeTypeHelper.getLockModeType(LockMode lockMode) -
Uses of LockMode in org.hibernate.loader.ast.internal
Methods in org.hibernate.loader.ast.internal with parameters of type LockModeModifier and TypeMethodDescriptionCacheEntityLoaderHelper.loadFromSecondLevelCache(EventSource source, Object entity, LockMode lockMode, EntityPersister persister, EntityKey entityKey) Attempts to load the entity from the second-level cache.voidLoaderSqlAstCreationState.registerLockMode(String identificationVariable, LockMode explicitLockMode) -
Uses of LockMode in org.hibernate.persister.entity
Methods in org.hibernate.persister.entity with parameters of type LockModeModifier and TypeMethodDescriptionprotected LockingStrategyAbstractEntityPersister.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.default ObjectEntityPersister.load(Object id, Object optionalObject, LockMode lockMode, SharedSessionContractImplementor session, Boolean readOnly) voidAbstractEntityPersister.lock(Object id, Object version, Object object, LockMode lockMode, EventSource session) voidEntityPersister.lock(Object id, Object version, Object object, LockMode lockMode, EventSource session) Do a version check (optional operation) -
Uses of LockMode in org.hibernate.procedure.internal
Methods in org.hibernate.procedure.internal with parameters of type LockMode -
Uses of LockMode in org.hibernate.query
Methods in org.hibernate.query that return LockModeModifier and TypeMethodDescriptionNativeQuery.getHibernateLockMode()SelectionQuery.getHibernateLockMode()Get the rootLockModefor the queryNativeQuery.RootReturn.getLockMode()Methods in org.hibernate.query with parameters of type LockModeModifier 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.SelectionQuery.setAliasSpecificLockMode(String alias, LockMode lockMode) Deprecated.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 query -
Uses of LockMode in org.hibernate.query.hql.spi
Methods in org.hibernate.query.hql.spi with parameters of type LockModeModifier and TypeMethodDescriptionSqmQueryImplementor.setLockMode(String alias, LockMode lockMode) -
Uses of LockMode in org.hibernate.query.internal
Constructors in org.hibernate.query.internal with parameters of type LockModeModifierConstructorDescriptionFetchMementoHbmStandard(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 of LockMode in org.hibernate.query.results
Methods in org.hibernate.query.results that return LockModeModifier and TypeMethodDescriptionJdbcValuesMappingImpl.determineDefaultLockMode(String alias, LockMode defaultLockMode) Methods in org.hibernate.query.results that return types with arguments of type LockModeMethods in org.hibernate.query.results with parameters of type LockModeModifier 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 in org.hibernate.query.results with type arguments of type LockModeModifierConstructorDescriptionJdbcValuesMappingImpl(List<SqlSelection> sqlSelections, List<DomainResult<?>> domainResults, int rowSize, @Nullable Map<String, LockMode> registeredLockModes) -
Uses of LockMode in org.hibernate.query.results.complete
Methods in org.hibernate.query.results.complete that return LockModeMethods in org.hibernate.query.results.complete with parameters of type LockModeModifier and TypeMethodDescriptionCompleteResultBuilderEntityStandard.setLockMode(LockMode lockMode) Constructors in org.hibernate.query.results.complete with parameters of type LockModeModifierConstructorDescriptionCompleteResultBuilderEntityJpa(NavigablePath navigablePath, EntityMappingType entityDescriptor, LockMode lockMode, BasicValuedFetchBuilder discriminatorFetchBuilder, HashMap<String, FetchBuilder> explicitFetchBuilderMap) CompleteResultBuilderEntityStandard(String tableAlias, NavigablePath navigablePath, EntityMappingType entityDescriptor, LockMode lockMode, BasicValuedFetchBuilder discriminatorFetchBuilder, HashMap<String, FetchBuilder> explicitFetchBuilderMap) EntityResultImpl(NavigablePath navigablePath, EntityValuedModelPart entityValuedModelPart, String resultAlias, LockMode lockMode, Function<EntityResultImpl, BasicFetch<?>> discriminatorFetchBuilder, DomainResultCreationState creationState) -
Uses of LockMode in org.hibernate.query.results.dynamic
Methods in org.hibernate.query.results.dynamic that return LockModeModifier and TypeMethodDescriptionDynamicResultBuilderEntityCalculated.getLockMode()DynamicResultBuilderEntityStandard.getLockMode()Methods in org.hibernate.query.results.dynamic with parameters of type LockModeModifier and TypeMethodDescriptionDynamicFetchBuilderLegacy.setLockMode(LockMode lockMode) DynamicResultBuilderEntityCalculated.setLockMode(LockMode lockMode) DynamicResultBuilderEntityStandard.setLockMode(LockMode lockMode) Constructors in org.hibernate.query.results.dynamic with parameters of type LockModeModifierConstructorDescriptionDynamicResultBuilderEntityCalculated(EntityMappingType entityMapping, String tableAlias, LockMode explicitLockMode) -
Uses of LockMode in org.hibernate.query.spi
Methods in org.hibernate.query.spi that return LockModeModifier and TypeMethodDescriptionAbstractSelectionQuery.getHibernateLockMode()Get the root LockMode for the queryMethods in org.hibernate.query.spi with parameters of type LockModeModifier and TypeMethodDescriptionprotected voidAbstractCommonQueryContract.applyHibernateLockMode(LockMode value) protected booleanAbstractSelectionQuery.requiresTxn(LockMode lockMode) AbstractSelectionQuery.setAliasSpecificLockMode(String alias, LockMode lockMode) Deprecated.AbstractSelectionQuery.setHibernateLockMode(LockMode lockMode) Specify the root LockMode for the queryAbstractQuery.setLockMode(String alias, LockMode lockMode) AbstractSelectionQuery.setLockMode(String alias, LockMode lockMode) -
Uses of LockMode in org.hibernate.query.sql.internal
Methods in org.hibernate.query.sql.internal with parameters of type LockModeModifier and TypeMethodDescriptionNativeQueryImpl.setHibernateLockMode(LockMode lockMode) NativeQueryImpl.setLockMode(String alias, LockMode lockMode) -
Uses of LockMode in org.hibernate.query.sql.spi
Methods in org.hibernate.query.sql.spi with parameters of type LockModeModifier and TypeMethodDescriptionNativeQueryImplementor.setHibernateLockMode(LockMode lockMode) NativeQueryImplementor.setLockMode(String alias, LockMode lockMode) -
Uses of LockMode in org.hibernate.query.sqm.internal
Methods in org.hibernate.query.sqm.internal with parameters of type LockModeModifier and TypeMethodDescriptionprotected voidQuerySqmImpl.applyHibernateLockMode(LockMode value) SqmSelectionQueryImpl.setAliasSpecificLockMode(String alias, LockMode lockMode) Deprecated.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 query -
Uses of LockMode in org.hibernate.query.sqm.spi
Methods in org.hibernate.query.sqm.spi that return LockModeMethods in org.hibernate.query.sqm.spi with parameters of type LockModeModifier and TypeMethodDescriptionDelegatingSqmSelectionQueryImplementor.setAliasSpecificLockMode(String alias, LockMode lockMode) Deprecated.DelegatingSqmSelectionQueryImplementor.setHibernateLockMode(LockMode lockMode) DelegatingSqmSelectionQueryImplementor.setLockMode(String alias, LockMode lockMode) -
Uses of LockMode in org.hibernate.query.sqm.sql
Methods in org.hibernate.query.sqm.sql with parameters of type LockModeModifier and TypeMethodDescriptionvoidBaseSqmToSqlAstConverter.registerLockMode(String identificationVariable, LockMode explicitLockMode) voidFakeSqmToSqlAstConverter.registerLockMode(String identificationVariable, LockMode explicitLockMode) -
Uses of LockMode in org.hibernate.sql
Methods in org.hibernate.sql with parameters of type LockMode -
Uses of LockMode in org.hibernate.sql.ast.spi
Methods in org.hibernate.sql.ast.spi that return LockModeModifier and TypeMethodDescriptionprotected LockModeAbstractSqlAstTranslator.getEffectiveLockMode(String alias) protected LockModeAbstractSqlAstTranslator.getEffectiveLockMode(String alias, boolean isRoot) AbstractSqlAstTranslator.ForUpdateClause.getLockMode()Methods in org.hibernate.sql.ast.spi with parameters of type LockModeModifier 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 in org.hibernate.sql.ast.spi with parameters of type LockMode -
Uses of LockMode in org.hibernate.sql.results.graph.collection.internal
Methods in org.hibernate.sql.results.graph.collection.internal with parameters of type LockModeModifier 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 in org.hibernate.sql.results.graph.collection.internal with parameters of type LockModeModifierConstructorDescriptionAbstractImmediateCollectionInitializer(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, @Nullable Fetch 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 of LockMode in org.hibernate.sql.results.graph.embeddable.internal
Methods in org.hibernate.sql.results.graph.embeddable.internal that return LockModeModifier and TypeMethodDescriptionNestedRowProcessingState.determineEffectiveLockMode(String alias) -
Uses of LockMode in org.hibernate.sql.results.graph.entity.internal
Fields in org.hibernate.sql.results.graph.entity.internal declared as LockMode -
Uses of LockMode in org.hibernate.sql.results.internal
Methods in org.hibernate.sql.results.internal that return LockModeModifier and TypeMethodDescriptionRowProcessingStateStandardImpl.determineEffectiveLockMode(String alias) -
Uses of LockMode in org.hibernate.sql.results.jdbc.internal
Methods in org.hibernate.sql.results.jdbc.internal that return LockModeModifier and TypeMethodDescriptionStandardJdbcValuesMapping.determineDefaultLockMode(String alias, LockMode defaultLockMode) protected LockModeDeferredResultSetAccess.determineFollowOnLockMode(LockOptions lockOptions) Methods in org.hibernate.sql.results.jdbc.internal with parameters of type LockModeModifier and TypeMethodDescriptionStandardJdbcValuesMapping.determineDefaultLockMode(String alias, LockMode defaultLockMode) -
Uses of LockMode in org.hibernate.sql.results.jdbc.spi
Methods in org.hibernate.sql.results.jdbc.spi that return LockModeModifier and TypeMethodDescriptionJdbcValuesMapping.determineDefaultLockMode(String alias, LockMode defaultLockMode) RowProcessingState.determineEffectiveLockMode(String alias) Methods in org.hibernate.sql.results.jdbc.spi with parameters of type LockModeModifier and TypeMethodDescriptionJdbcValuesMapping.determineDefaultLockMode(String alias, LockMode defaultLockMode)
LockOptions.getAliasSpecificLocks()