Uses of Class
org.hibernate.LockOptions
Packages that use LockOptions
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.Support for handling named queries during the bootstrap process.
A range of SPIs allowing integration with—and customization of—the process of building metadata.
This package abstracts over the multifarious dialects of SQL
understood by the databases supported by Hibernate.
Support for
Dialect-specific pagination strategies.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.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.
Implementation of the SPIs for HQL support.
SPIs for HQL support.
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
This package contains helper classes for rendering SQL fragments and SQL statements.
Package defining support for creating and consuming a SQL AST.
-
Uses of LockOptions in org.hibernate
Fields in org.hibernate declared as LockOptionsModifier and TypeFieldDescriptionstatic final LockOptionsLockOptions.NONEDeprecated, for removal: This API element is subject to removal in a future version.This, and the other constants on this class, will be removed.static final LockOptionsLockOptions.READDeprecated, for removal: This API element is subject to removal in a future version.This, and the other constants on this class, will be removed.static final LockOptionsLockOptions.UPGRADEDeprecated, for removal: This API element is subject to removal in a future version.This, and the other constants on this class, will be removed.Methods in org.hibernate that return LockOptionsModifier and TypeMethodDescriptionstatic LockOptionsLockOptions.copy(LockOptions source, LockOptions destination) Deprecated, for removal: This API element is subject to removal in a future version.LockOptions will be made into a record.LockOptions.makeCopy()Deprecated, for removal: This API element is subject to removal in a future version.LockOptions will be made into a record.LockOptions.makeDefensiveCopy()Deprecated, for removal: This API element is subject to removal in a future version.LockOptions will be made into a record.LockOptions.setAliasSpecificLockMode(String alias, LockMode lockMode) Deprecated, for removal: This API element is subject to removal in a future version.Alias-specific locks are no longer supported, roughly replaced with locking scope.LockOptions.setFollowOnLocking(Boolean followOnLocking) Deprecated.Use setFollowOnStrategy(org.hibernate.Locking.FollowOn) instead.LockOptions.setFollowOnStrategy(Locking.FollowOn followOnStrategy) Deprecated, for removal: This API element is subject to removal in a future version.How to handle cases where Hibernate has determined it would need to use follow-on locking.LockOptions.setLockMode(LockMode lockMode) Deprecated, for removal: This API element is subject to removal in a future version.Set the overall lock mode.LockOptions.setLockScope(PessimisticLockScope jpaScope) Deprecated, for removal: This API element is subject to removal in a future version.Use setScope(org.hibernate.Locking.Scope) insteadLockOptions.setScope(Locking.Scope scope) Deprecated, for removal: This API element is subject to removal in a future version.Set the associated lock scopeLockOptions.setTimeout(Timeout timeout) Deprecated, for removal: This API element is subject to removal in a future version.Set the timeout associated withthisoptions.LockOptions.setTimeOut(int timeout) Deprecated, for removal: This API element is subject to removal in a future version.Set the timeout, in milliseconds, associated withthisoptions.LockMode.toLockOptions()Deprecated, for removal: This API element is subject to removal in a future version.With no replacement; LockOptions is no longer considered an API.Methods in org.hibernate with parameters of type LockOptionsModifier and TypeMethodDescriptionstatic LockOptionsLockOptions.copy(LockOptions source, LockOptions destination) Deprecated, for removal: This API element is subject to removal in a future version.LockOptions will be made into a record.<T> TSession.get(Class<T> entityType, Object id, LockOptions lockOptions) Deprecated, for removal: This API element is subject to removal in a future version.This method will be removed.Session.get(String entityName, Object id, LockOptions lockOptions) Deprecated, for removal: This API element is subject to removal in a future version.This method will be removed.voidSession.lock(Object object, LockOptions lockOptions) Deprecated, for removal: This API element is subject to removal in a future version.This method will be removed.voidLockOptions.overlay(LockOptions lockOptions) Deprecated, for removal: This API element is subject to removal in a future version.LockOptions will be made into a record.voidSession.refresh(Object object, LockOptions lockOptions) Deprecated, for removal: This API element is subject to removal in a future version.This method will be removed.IdentifierLoadAccess.with(LockOptions lockOptions) Deprecated, for removal: This API element is subject to removal in a future version.MultiIdentifierLoadAccess.with(LockOptions lockOptions) Deprecated, for removal: This API element is subject to removal in a future version.NaturalIdLoadAccess.with(LockOptions lockOptions) Deprecated, for removal: This API element is subject to removal in a future version.NaturalIdMultiLoadAccess.with(LockOptions lockOptions) Deprecated, for removal: This API element is subject to removal in a future version.SimpleNaturalIdLoadAccess.with(LockOptions lockOptions) Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of LockOptions in org.hibernate.boot.internal
Methods in org.hibernate.boot.internal that return LockOptionsConstructors in org.hibernate.boot.internal with parameters of type LockOptionsModifierConstructorDescriptionNamedHqlQueryDefinitionImpl(String name, @Nullable Class<E> resultType, String hqlString, Integer firstResult, Integer maxResults, Boolean cacheable, String cacheRegion, CacheMode cacheMode, FlushMode flushMode, Boolean readOnly, LockOptions lockOptions, Integer timeout, Integer fetchSize, String comment, Map<String, String> parameterTypes, Map<String, Object> hints, String location) -
Uses of LockOptions in org.hibernate.boot.model.internal
Methods in org.hibernate.boot.model.internal that return LockOptionsModifier and TypeMethodDescriptionQueryHintDefinition.determineLockOptions(NamedQuery namedQueryAnnotation) -
Uses of LockOptions in org.hibernate.boot.query
Methods in org.hibernate.boot.query that return LockOptionsMethods in org.hibernate.boot.query with parameters of type LockOptionsModifier and TypeMethodDescriptionAbstractNamedQueryBuilder.setLockOptions(LockOptions lockOptions) -
Uses of LockOptions in org.hibernate.boot.spi
Methods in org.hibernate.boot.spi that return LockOptionsModifier and TypeMethodDescriptionAbstractDelegatingSessionFactoryOptions.getDefaultLockOptions()SessionFactoryOptions.getDefaultLockOptions()The default lock scope and lock timeout.AbstractNamedQueryDefinition.getLockOptions()Constructors in org.hibernate.boot.spi with parameters of type LockOptionsModifierConstructorDescriptionAbstractNamedQueryDefinition(String name, @Nullable Class<R> resultType, Boolean cacheable, String cacheRegion, CacheMode cacheMode, FlushMode flushMode, Boolean readOnly, LockOptions lockOptions, Integer timeout, Integer fetchSize, String comment, Map<String, Object> hints, String location) -
Uses of LockOptions in org.hibernate.dialect
Methods in org.hibernate.dialect with parameters of type LockOptionsModifier and TypeMethodDescriptionAbstractTransactSQLDialect.appendLockHint(LockOptions lockOptions, String tableName) Dialect.appendLockHint(LockOptions lockOptions, String tableName) Some dialects support an alternative means toSELECT FOR UPDATE, whereby a "lock hint" is appended to the table name in thefromclause.SQLServerDialect.appendLockHint(LockOptions lockOptions, String tableName) SybaseASEDialect.appendLockHint(LockOptions mode, String tableName) AbstractTransactSQLDialect.applyLocksToSql(String sql, LockOptions lockOptions, Map<String, String[]> keyColumnNameMap) Dialect.applyLocksToSql(String sql, LockOptions aliasedLockOptions, Map<String, String[]> keyColumnNames) Modifies the given SQL, applying the appropriate updates for the specified lock modes and key columns.SpannerDialect.applyLocksToSql(String sql, LockOptions aliasedLockOptions, Map<String, String[]> keyColumnNames) protected LockingClauseStrategyDialect.buildLockingClauseStrategy(PessimisticLockKind lockKind, RowLockStrategy rowLockStrategy, LockOptions lockOptions) CockroachDialect.getForUpdateString(String aliases, LockOptions lockOptions) CockroachDialect.getForUpdateString(LockOptions lockOptions) Dialect.getForUpdateString(String aliases, LockOptions lockOptions) Get theFOR UPDATE OForFOR SHARE OFfragment appropriate for this dialect, given the aliases of the columns to be locked.Dialect.getForUpdateString(LockOptions lockOptions) Given a set ofLockOptions(lock level, timeout), determine the appropriatefor updatefragment to use to obtain the lock.HANADialect.getForUpdateString(String aliases, LockOptions lockOptions) PostgreSQLDialect.getForUpdateString(String aliases, LockOptions lockOptions) SpannerDialect.getForUpdateString(String aliases, LockOptions lockOptions) SpannerDialect.getForUpdateString(LockOptions lockOptions) AbstractTransactSQLDialect.getLockingClauseStrategy(QuerySpec querySpec, LockOptions lockOptions) Dialect.getLockingClauseStrategy(QuerySpec querySpec, LockOptions lockOptions) Strategy for handling locking clause as part of SqlAstTranslator.HSQLDialect.getLockingClauseStrategy(QuerySpec querySpec, LockOptions lockOptions) SpannerDialect.getLockingClauseStrategy(QuerySpec querySpec, LockOptions lockOptions) -
Uses of LockOptions in org.hibernate.dialect.pagination
Methods in org.hibernate.dialect.pagination with parameters of type LockOptionsModifier and TypeMethodDescriptionprotected StringOracle12LimitHandler.processSql(String sql, boolean hasFirstRow, boolean hasMaxRows, int jdbcParameterCount, @Nullable ParameterMarkerStrategy parameterMarkerStrategy, LockOptions lockOptions) protected StringOracle12LimitHandler.processSql(String sql, boolean hasFirstRow, boolean hasMaxRows, LockOptions lockOptions) -
Uses of LockOptions in org.hibernate.engine.jdbc.mutation.internal
Methods in org.hibernate.engine.jdbc.mutation.internal that return LockOptions -
Uses of LockOptions in org.hibernate.engine.spi
Fields in org.hibernate.engine.spi with type parameters of type LockOptionsModifier and TypeFieldDescriptionstatic final CascadingAction<LockOptions> CascadingActions.LOCKDeprecated, for removal: This API element is subject to removal in a future version.becauseCascadeType.LOCKis deprecatedMethods in org.hibernate.engine.spi with parameters of type LockOptionsModifier and TypeMethodDescriptionExceptionConverter.convert(RuntimeException e, LockOptions lockOptions) ExceptionConverter.convert(HibernateException e, LockOptions lockOptions) Converts a Hibernate-specific exception into a JPA-specified exception; note that the JPA specification makes use of exceptions outside its exception hierarchy, though they are all runtime exceptions.<T> TSessionDelegatorBaseImpl.get(Class<T> entityType, Object id, LockOptions lockOptions) SessionDelegatorBaseImpl.get(String entityName, Object id, LockOptions lockOptions) <T> TSessionLazyDelegator.get(Class<T> entityType, Object id, LockOptions lockOptions) SessionLazyDelegator.get(String entityName, Object id, LockOptions lockOptions) voidSessionDelegatorBaseImpl.lock(Object object, LockOptions lockOptions) voidSessionDelegatorBaseImpl.lock(String entityName, Object object, LockOptions lockOptions) voidSessionLazyDelegator.lock(Object object, LockOptions lockOptions) voidSharedSessionContractImplementor.lock(String entityName, Object child, LockOptions lockOptions) Cascade the lock operation to the given child entity.voidSharedSessionDelegatorBaseImpl.lock(String entityName, Object child, LockOptions lockOptions) voidSessionDelegatorBaseImpl.refresh(Object object, LockOptions lockOptions) voidSessionLazyDelegator.refresh(Object object, LockOptions lockOptions) -
Uses of LockOptions in org.hibernate.envers.query.internal.impl
Methods in org.hibernate.envers.query.internal.impl with parameters of type LockOptionsModifier and TypeMethodDescriptionAbstractAuditQuery.setLockOptions(LockOptions lockOptions) Set lock options -
Uses of LockOptions in org.hibernate.event.spi
Methods in org.hibernate.event.spi that return LockOptionsModifier and TypeMethodDescriptionLoadEvent.getLockOptions()LockEvent.getLockOptions()RefreshEvent.getLockOptions()Methods in org.hibernate.event.spi with parameters of type LockOptionsConstructors in org.hibernate.event.spi with parameters of type LockOptionsModifierConstructorDescriptionLoadEvent(Object entityId, String entityClassName, LockOptions lockOptions, EventSource source, Boolean readOnly) LockEvent(Object object, LockOptions lockOptions, EventSource source) LockEvent(String entityName, Object object, LockOptions lockOptions, EventSource source) RefreshEvent(Object object, LockOptions lockOptions, EventSource source) RefreshEvent(String entityName, Object object, LockOptions lockOptions, EventSource source) Deprecated.useRefreshEvent(Object, LockOptions, EventSource)instead. -
Uses of LockOptions in org.hibernate.internal
Methods in org.hibernate.internal that return LockOptionsMethods in org.hibernate.internal with parameters of type LockOptionsModifier and TypeMethodDescriptionExceptionConverterImpl.convert(RuntimeException exception, LockOptions lockOptions) ExceptionConverterImpl.convert(HibernateException exception, LockOptions lockOptions) <T> TSessionImpl.get(Class<T> entityClass, Object id, LockOptions lockOptions) Deprecated.SessionImpl.get(String entityName, Object id, LockOptions lockOptions) Deprecated.SessionImpl.load(LoadEventListener.LoadType loadType, Object id, String entityName, LockOptions lockOptions, Boolean readOnly) voidSessionImpl.lock(Object object, LockOptions lockOptions) voidSessionImpl.lock(String entityName, Object object, LockOptions lockOptions) voidStatelessSessionImpl.lock(String entityName, Object child, LockOptions lockOptions) protected LoadEventSessionImpl.makeLoadEvent(String entityName, Object id, Boolean readOnly, LockOptions lockOptions) Helper to avoid creating many new instances ofLoadEvent.voidSessionImpl.refresh(Object object, LockOptions lockOptions) NaturalIdMultiLoadAccessStandard.with(LockOptions lockOptions) protected PersistenceExceptionExceptionConverterImpl.wrapLockException(LockingStrategyException exception, LockOptions lockOptions) protected PersistenceExceptionExceptionConverterImpl.wrapLockException(PessimisticLockException exception, LockOptions lockOptions) Method parameters in org.hibernate.internal with type arguments of type LockOptionsModifier and TypeMethodDescriptionstatic voidLockOptionsHelper.applyPropertiesToLockOptions(Map<String, Object> props, Supplier<LockOptions> lockOptions) Applies configuration properties on aLockOptionsinstance, passed as a supplier so to make it possible to skip allocating theLockOptionsinstance if there's nothing to set. -
Uses of LockOptions in org.hibernate.internal.util.collections
Methods in org.hibernate.internal.util.collections that return LockOptionsModifier and TypeMethodDescriptionstatic LockOptions[]ArrayHelper.fillArray(LockOptions lockOptions, int length) Methods in org.hibernate.internal.util.collections with parameters of type LockOptionsModifier and TypeMethodDescriptionstatic LockOptions[]ArrayHelper.fillArray(LockOptions lockOptions, int length) -
Uses of LockOptions in org.hibernate.loader.ast.internal
Methods in org.hibernate.loader.ast.internal that return LockOptionsModifier and TypeMethodDescriptionLoaderSqlAstCreationState.getLockOptions()protected LockOptionsSingleIdLoadPlan.getLockOptions()Methods in org.hibernate.loader.ast.internal with parameters of type LockOptionsModifier and TypeMethodDescriptionstatic SelectStatementLoaderSelectBuilder.createSelect(Loadable loadable, List<? extends ModelPart> partsToSelect, List<ModelPart> restrictedParts, DomainResult<?> cachedDomainResult, int numberOfKeysToLoad, LoadQueryInfluencers loadQueryInfluencers, LockOptions lockOptions, Consumer<JdbcParameter> jdbcParameterConsumer, SessionFactoryImplementor sessionFactory) static SelectStatementLoaderSelectBuilder.createSelect(Loadable loadable, List<? extends ModelPart> partsToSelect, ModelPart restrictedPart, DomainResult<?> cachedDomainResult, int numberOfKeysToLoad, LoadQueryInfluencers loadQueryInfluencers, LockOptions lockOptions, Consumer<JdbcParameter> jdbcParameterConsumer, SessionFactoryImplementor sessionFactory) Create an SQL AST select-statement based on matching one-or-more keysstatic SelectStatementLoaderSelectBuilder.createSelectBySingleArrayParameter(Loadable loadable, ValuedModelPart restrictedPart, LoadQueryInfluencers influencers, LockOptions lockOptions, JdbcParameter jdbcArrayParameter, SessionFactoryImplementor sessionFactory) Create a select-statement (SQL AST) for loading by multiple keys using a single SQL ARRAY parameterstatic SelectStatementLoaderSelectBuilder.createSelectByUniqueKey(Loadable loadable, List<? extends ModelPart> partsToSelect, ModelPart restrictedPart, DomainResult<?> cachedDomainResult, LoadQueryInfluencers loadQueryInfluencers, LockOptions lockOptions, Consumer<JdbcParameter> jdbcParameterConsumer, SessionFactoryImplementor sessionFactory) Create an SQL AST select-statement for loading by unique keystatic SelectStatementLoaderSelectBuilder.createSubSelectFetchSelect(PluralAttributeMapping attributeMapping, SubselectFetch subselect, DomainResult<?> cachedDomainResult, LoadQueryInfluencers loadQueryInfluencers, LockOptions lockOptions, Consumer<JdbcParameter> jdbcParameterConsumer, SessionFactoryImplementor sessionFactory) Create an SQL AST select-statement used for subselect-based CollectionLoaderprotected <R> RAbstractNaturalIdLoader.executeNaturalIdQuery(Object naturalIdValue, LockOptions lockOptions, SelectStatement sqlSelect, TableGroup rootTableGroup, Consumer<Predicate> predicateConsumer, LoaderSqlAstCreationState sqlAstCreationState, SharedSessionContractImplementor session) protected abstract voidAbstractEntityBatchLoader.initializeEntities(Object[] idsToInitialize, Object pkValue, Object entityInstance, LockOptions lockOptions, Boolean readOnly, SharedSessionContractImplementor session) protected voidEntityBatchLoaderArrayParam.initializeEntities(Object[] idsToInitialize, Object id, Object entityInstance, LockOptions lockOptions, Boolean readOnly, SharedSessionContractImplementor session) protected voidEntityBatchLoaderInPredicate.initializeEntities(Object[] idsToInitialize, Object pkValue, Object entityInstance, LockOptions lockOptions, Boolean readOnly, SharedSessionContractImplementor session) final TAbstractEntityBatchLoader.load(Object id, Object entityInstance, LockOptions lockOptions, Boolean readOnly, SharedSessionContractImplementor session) AbstractEntityBatchLoader.load(Object id, Object entityInstance, LockOptions lockOptions, SharedSessionContractImplementor session) EntityBatchLoaderArrayParam.load(Object pkValue, LockOptions lockOptions, Boolean readOnly, SharedSessionContractImplementor session) final TEntityBatchLoaderInPredicate.load(Object pkValue, LockOptions lockOptions, Boolean readOnly, SharedSessionContractImplementor session) SingleIdEntityLoaderProvidedQueryImpl.load(Object pkValue, Object entityInstance, LockOptions lockOptions, Boolean readOnly, SharedSessionContractImplementor session) SingleIdEntityLoaderProvidedQueryImpl.load(Object pkValue, LockOptions lockOptions, Boolean readOnly, SharedSessionContractImplementor session) SingleIdEntityLoaderStandardImpl.load(Object key, Object entityInstance, LockOptions lockOptions, Boolean readOnly, SharedSessionContractImplementor session) SingleIdEntityLoaderStandardImpl.load(Object key, LockOptions lockOptions, Boolean readOnly, SharedSessionContractImplementor session) SingleUniqueKeyEntityLoaderStandard.load(Object ukValue, LockOptions lockOptions, Boolean readOnly, SharedSessionContractImplementor session) static <R,K> List <R> LoaderHelper.loadByArrayParameter(K[] idsToInitialize, SelectStatement sqlAst, JdbcOperationQuerySelect jdbcOperation, JdbcParameter jdbcParameter, JdbcMapping arrayJdbcMapping, Object entityId, Object entityInstance, EntityMappingType rootEntityDescriptor, LockOptions lockOptions, Boolean readOnly, SharedSessionContractImplementor session) Load one or more instances of a model part (an entity or collection) based on a SQL ARRAY parameter to specify the keys (as opposed to the more traditional SQL IN predicate approach).protected abstract voidAbstractMultiIdEntityLoader.loadEntitiesById(List<Object> idsInBatch, LockOptions lockOptions, MultiIdLoadOptions loadOptions, SharedSessionContractImplementor session) protected voidMultiIdEntityLoaderArrayParam.loadEntitiesById(List<Object> idsInBatch, LockOptions lockOptions, MultiIdLoadOptions loadOptions, SharedSessionContractImplementor session) protected voidMultiIdEntityLoaderInPredicate.loadEntitiesById(List<Object> idsInBatch, LockOptions lockOptions, MultiIdLoadOptions loadOptions, SharedSessionContractImplementor session) protected abstract voidAbstractMultiIdEntityLoader.loadEntitiesWithUnresolvedIds(Object[] unresolvableIds, MultiIdLoadOptions loadOptions, LockOptions lockOptions, List<T> results, SharedSessionContractImplementor session) AbstractMultiNaturalIdLoader.loadEntitiesWithUnresolvedIds(Object[] unresolvedIds, MultiNaturalIdLoadOptions loadOptions, LockOptions lockOptions, SharedSessionContractImplementor session) protected voidMultiIdEntityLoaderArrayParam.loadEntitiesWithUnresolvedIds(Object[] unresolvableIds, MultiIdLoadOptions loadOptions, LockOptions lockOptions, List<E> results, SharedSessionContractImplementor session) protected voidMultiIdEntityLoaderInPredicate.loadEntitiesWithUnresolvedIds(Object[] unresolvableIds, MultiIdLoadOptions loadOptions, LockOptions lockOptions, List<T> results, SharedSessionContractImplementor session) MultiNaturalIdLoaderArrayParam.loadEntitiesWithUnresolvedIds(Object[] naturalIds, MultiNaturalIdLoadOptions loadOptions, LockOptions lockOptions, SharedSessionContractImplementor session) MultiNaturalIdLoaderInPredicate.loadEntitiesWithUnresolvedIds(Object[] naturalIds, MultiNaturalIdLoadOptions loadOptions, LockOptions lockOptions, SharedSessionContractImplementor session) SingleIdEntityLoaderStandardImpl.resolveLoadPlan(LockOptions lockOptions, LoadQueryInfluencers influencers) static voidLoaderHelper.upgradeLock(Object object, EntityEntry entry, LockOptions lockOptions, SharedSessionContractImplementor session) Ensure the LockMode associated with the entity in relation to a persistence context is great or equal to the requested mode, performing a pessimistic lock upgrade on a given entity, if needed.Constructors in org.hibernate.loader.ast.internal with parameters of type LockOptionsModifierConstructorDescriptionLoaderSqlAstCreationState(QueryPart queryPart, SqlAliasBaseManager sqlAliasBaseManager, FromClauseAccess fromClauseAccess, LockOptions lockOptions, LoaderSqlAstCreationState.FetchProcessor fetchProcessor, boolean forceIdentifierSelection, LoadQueryInfluencers loadQueryInfluencers, SqlAstCreationContext sf) MultiNaturalIdLoadingBatcher(EntityMappingType entityDescriptor, ModelPart restrictedPart, int batchSize, org.hibernate.loader.ast.internal.MultiNaturalIdLoadingBatcher.KeyValueResolver keyValueResolver, LoadQueryInfluencers loadQueryInfluencers, LockOptions lockOptions, SessionFactoryImplementor sessionFactory) SingleIdArrayLoadPlan(EntityMappingType entityMappingType, ModelPart restrictivePart, SelectStatement sqlAst, JdbcParametersList jdbcParameters, LockOptions lockOptions, SessionFactoryImplementor sessionFactory) SingleIdLoadPlan(EntityMappingType entityMappingType, ModelPart restrictivePart, SelectStatement sqlAst, JdbcParametersList jdbcParameters, LockOptions lockOptions, SessionFactoryImplementor sessionFactory) Constructor parameters in org.hibernate.loader.ast.internal with type arguments of type LockOptionsModifierConstructorDescriptionprotectedSingleIdEntityLoaderStandardImpl(EntityMappingType entityDescriptor, LoadQueryInfluencers influencers, BiFunction<LockOptions, LoadQueryInfluencers, SingleIdLoadPlan<T>> loadPlanCreator) For Hibernate Reactive. -
Uses of LockOptions in org.hibernate.loader.ast.spi
Methods in org.hibernate.loader.ast.spi that return LockOptionsModifier and TypeMethodDescriptionMultiLoadOptions.getLockOptions()Specify the lock options applied during loading.NaturalIdLoadOptions.getLockOptions()The locking options for the loaded entityMethods in org.hibernate.loader.ast.spi with parameters of type LockOptionsModifier and TypeMethodDescriptionSingleEntityLoader.load(Object key, LockOptions lockOptions, Boolean readOnly, SharedSessionContractImplementor session) Load an entity by a primary or unique key value.SingleIdEntityLoader.load(Object pkValue, Object entityInstance, LockOptions lockOptions, Boolean readOnly, SharedSessionContractImplementor session) default TSingleIdEntityLoader.load(Object pkValue, Object entityInstance, LockOptions lockOptions, SharedSessionContractImplementor session) Load by primary key value, populating the passed entity instance.SingleIdEntityLoader.load(Object pkValue, LockOptions lockOptions, Boolean readOnly, SharedSessionContractImplementor session) Load by primary key valueSingleUniqueKeyEntityLoader.load(Object ukValue, LockOptions lockOptions, Boolean readOnly, SharedSessionContractImplementor session) Load by unique key value -
Uses of LockOptions in org.hibernate.loader.internal
Methods in org.hibernate.loader.internal that return LockOptionsModifier and TypeMethodDescriptionBaseNaturalIdLoadAccessImpl.getLockOptions()protected LockOptionsIdentifierLoadAccessImpl.getLockOptions()SimpleNaturalIdLoadAccessImpl.getLockOptions()Methods in org.hibernate.loader.internal with parameters of type LockOptionsModifier and TypeMethodDescriptionLoadAccessContext.load(LoadEventListener.LoadType loadType, Object id, String entityName, LockOptions lockOptions, Boolean readOnly) Efficiently fire aLoadEventwith the given type and return the resulting entity instance or proxy.CacheLoadHelper.loadFromSessionCache(EntityKey keyToLoad, LockOptions lockOptions, LoadEventListener.LoadType options, SharedSessionContractImplementor session) Attempts to locate the entity in the session-level cache.BaseNaturalIdLoadAccessImpl.with(LockOptions lockOptions) final IdentifierLoadAccessImpl<T> IdentifierLoadAccessImpl.with(LockOptions lockOptions) NaturalIdLoadAccessImpl.with(LockOptions lockOptions) final SimpleNaturalIdLoadAccessImpl<T> SimpleNaturalIdLoadAccessImpl.with(LockOptions lockOptions) -
Uses of LockOptions in org.hibernate.persister.entity
Methods in org.hibernate.persister.entity with parameters of type LockOptionsModifier and TypeMethodDescriptionprotected SingleIdEntityLoader<?> AbstractEntityPersister.determineLoaderToUse(SharedSessionContractImplementor session, LockOptions lockOptions) AbstractEntityPersister.load(Object id, Object optionalObject, LockOptions lockOptions, SharedSessionContractImplementor session) Load an instance using either theforUpdateLoaderor the outer joiningloader, depending upon the value of thelockparameterAbstractEntityPersister.load(Object id, Object optionalObject, LockOptions lockOptions, SharedSessionContractImplementor session, Boolean readOnly) EntityPersister.load(Object id, Object optionalObject, LockOptions lockOptions, SharedSessionContractImplementor session) Load an instance of the persistent class.default ObjectEntityPersister.load(Object id, Object optionalObject, LockOptions lockOptions, SharedSessionContractImplementor session, Boolean readOnly) AbstractEntityPersister.loadEntityIdByNaturalId(Object[] naturalIdValues, LockOptions lockOptions, SharedSessionContractImplementor session) EntityPersister.loadEntityIdByNaturalId(Object[] naturalIdValues, LockOptions lockOptions, SharedSessionContractImplementor session) Load the id for the entity based on the natural id.voidAbstractEntityPersister.lock(Object id, Object version, Object object, LockOptions lockOptions, SharedSessionContractImplementor session) voidAbstractEntityPersister.lock(Object id, Object version, Object object, LockOptions lockOptions, EventSource session) voidEntityPersister.lock(Object id, Object version, Object object, LockOptions lockOptions, SharedSessionContractImplementor session) Do a version check (optional operation)default voidEntityPersister.lock(Object id, Object version, Object object, LockOptions lockOptions, EventSource session) -
Uses of LockOptions in org.hibernate.procedure.internal
Methods in org.hibernate.procedure.internal with parameters of type LockOptionsModifier and TypeMethodDescriptionProcedureCallImpl.setLockOptions(LockOptions lockOptions) Deprecated. -
Uses of LockOptions in org.hibernate.query
Methods in org.hibernate.query that return LockOptionsModifier and TypeMethodDescriptionNativeQuery.getLockOptions()Deprecated, for removal: This API element is subject to removal in a future version.Query.getLockOptions()Deprecated, for removal: This API element is subject to removal in a future version.SinceLockOptionsis transitioning to a new role as an SPI.SelectionQuery.getLockOptions()Deprecated, for removal: This API element is subject to removal in a future version.SinceLockOptionsis transitioning to a new role as an SPI.Methods in org.hibernate.query with parameters of type LockOptionsModifier and TypeMethodDescriptionNativeQuery.setLockOptions(LockOptions lockOptions) Deprecated, for removal: This API element is subject to removal in a future version.Query.setLockOptions(LockOptions lockOptions) Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of LockOptions in org.hibernate.query.criteria.internal
Methods in org.hibernate.query.criteria.internal that return LockOptionsConstructors in org.hibernate.query.criteria.internal with parameters of type LockOptionsModifierConstructorDescriptionNamedCriteriaQueryMementoImpl(String name, @Nullable Class<E> resultType, SqmStatement<E> sqmStatement, Integer firstResult, Integer maxResults, Boolean cacheable, String cacheRegion, CacheMode cacheMode, FlushMode flushMode, Boolean readOnly, LockOptions lockOptions, Integer timeout, Integer fetchSize, String comment, Map<String, String> parameterTypes, Map<String, Object> hints) -
Uses of LockOptions in org.hibernate.query.hql.internal
Methods in org.hibernate.query.hql.internal that return LockOptionsConstructors in org.hibernate.query.hql.internal with parameters of type LockOptionsModifierConstructorDescriptionNamedHqlQueryMementoImpl(String name, @Nullable Class<R> resultType, String hqlString, Integer firstResult, Integer maxResults, Boolean cacheable, String cacheRegion, CacheMode cacheMode, FlushMode flushMode, Boolean readOnly, LockOptions lockOptions, Integer timeout, Integer fetchSize, String comment, Map<String, String> parameterTypes, Map<String, Object> hints) -
Uses of LockOptions in org.hibernate.query.hql.spi
Methods in org.hibernate.query.hql.spi with parameters of type LockOptionsModifier and TypeMethodDescriptionSqmQueryImplementor.setLockOptions(LockOptions lockOptions) Deprecated. -
Uses of LockOptions in org.hibernate.query.internal
Methods in org.hibernate.query.internal that return LockOptionsModifier and TypeMethodDescriptionQueryOptionsImpl.getLockOptions()SimpleQueryOptions.getLockOptions()Constructors in org.hibernate.query.internal with parameters of type LockOptionsModifierConstructorDescriptionSimpleQueryOptions(LockOptions lockOptions, Boolean readOnlyEnabled) -
Uses of LockOptions in org.hibernate.query.spi
Methods in org.hibernate.query.spi that return LockOptionsModifier and TypeMethodDescriptionAbstractQuery.getLockOptions()Deprecated.AbstractSelectionQuery.getLockOptions()Deprecated.DelegatingQueryOptions.getLockOptions()QueryOptions.getLockOptions()Describes the locking to apply to the query resultsQueryOptionsAdapter.getLockOptions()SqlOmittingQueryOptions.getLockOptions()Methods in org.hibernate.query.spi with parameters of type LockOptionsModifier and TypeMethodDescriptionAbstractQuery.setLockOptions(LockOptions lockOptions) Deprecated. -
Uses of LockOptions in org.hibernate.query.sql.internal
Methods in org.hibernate.query.sql.internal with parameters of type LockOptionsModifier and TypeMethodDescriptionNativeQueryImpl.setLockOptions(LockOptions lockOptions) Deprecated. -
Uses of LockOptions in org.hibernate.query.sql.spi
Methods in org.hibernate.query.sql.spi with parameters of type LockOptionsModifier and TypeMethodDescriptionNativeQueryImplementor.setLockOptions(LockOptions lockOptions) Deprecated. -
Uses of LockOptions in org.hibernate.query.sqm.internal
Methods in org.hibernate.query.sqm.internal with parameters of type LockOptionsModifier and TypeMethodDescriptionSqmQueryImpl.setLockOptions(LockOptions lockOptions) Deprecated. -
Uses of LockOptions in org.hibernate.query.sqm.spi
Methods in org.hibernate.query.sqm.spi that return LockOptionsModifier and TypeMethodDescriptionDelegatingSqmSelectionQueryImplementor.getLockOptions()Deprecated.NamedSqmQueryMemento.getLockOptions() -
Uses of LockOptions in org.hibernate.sql
Fields in org.hibernate.sql declared as LockOptionsMethods in org.hibernate.sql with parameters of type LockOptionsConstructors in org.hibernate.sql with parameters of type LockOptionsModifierConstructorDescriptionForUpdateFragment(Dialect dialect, LockOptions lockOptions, Map<String, String[]> keyColumnNameMap) -
Uses of LockOptions in org.hibernate.sql.ast.internal
Constructors in org.hibernate.sql.ast.internal with parameters of type LockOptionsModifierConstructorDescriptionStandardLockingClauseStrategy(Dialect dialect, PessimisticLockKind lockKind, RowLockStrategy rowLockStrategy, LockOptions lockOptions) -
Uses of LockOptions in org.hibernate.sql.ast.spi
Methods in org.hibernate.sql.ast.spi that return LockOptionsModifier and TypeMethodDescriptionprotected LockOptionsAbstractSqlAstTranslator.getLockOptions() -
Uses of LockOptions in org.hibernate.sql.results.jdbc.internal
Methods in org.hibernate.sql.results.jdbc.internal with parameters of type LockOptionsModifier and TypeMethodDescriptionprotected LockModeDeferredResultSetAccess.determineFollowOnLockMode(LockOptions lockOptions) protected voidDeferredResultSetAccess.registerAfterLoadAction(ExecutionContext executionContext, LockOptions lockOptionsToUse) For Hibernate Reactive