Uses of Class
org.hibernate.LockOptions
-
Packages that use LockOptions Package Description org.hibernate org.hibernate.cfg.annotations org.hibernate.dialect org.hibernate.engine.spi org.hibernate.event.spi org.hibernate.jpa.spi org.hibernate.loader org.hibernate.loader.criteria org.hibernate.loader.custom org.hibernate.loader.entity org.hibernate.loader.entity.plan Support for entity loaders built on top of theorg.hibernate.loader.planAPI to apply entity-graphsorg.hibernate.loader.hql org.hibernate.loader.plan.exec.query.spi Defines the SPI for obtaining values for options that impact the load query.org.hibernate.persister.entity org.hibernate.query org.hibernate.query.spi org.hibernate.sql -
-
Uses of LockOptions in org.hibernate
Fields in org.hibernate declared as LockOptions Modifier and Type Field Description static LockOptionsLockOptions. NONERepresents LockMode.NONE (timeout + scope do not apply).static LockOptionsLockOptions. READRepresents LockMode.READ (timeout + scope do not apply).static LockOptionsLockOptions. UPGRADERepresents LockMode.UPGRADE (will wait forever for lock and scope of false meaning only entity is locked).Methods in org.hibernate that return LockOptions Modifier and Type Method Description static LockOptionsLockOptions. copy(LockOptions source, LockOptions destination)Perform a shallow copy.LockOptionsQuery. getLockOptions()Deprecated.Obtains the LockOptions in effect for this query.static LockOptionsLockOptions. interpret(LockMode lockMode)LockOptionsLockOptions. makeCopy()Make a copy.LockOptionsLockOptions. setAliasSpecificLockMode(String alias, LockMode lockMode)Specify theLockModeto be used for a specific query alias.LockOptionsLockOptions. setFollowOnLocking(Boolean followOnLocking)Set the the follow-on-locking setting.LockOptionsLockOptions. setLockMode(LockMode lockMode)Set the overallLockModeto be used.LockOptionsLockOptions. setScope(boolean scope)Set the scope.LockOptionsLockOptions. setTimeOut(int timeout)Set the timeout setting.Methods in org.hibernate with parameters of type LockOptions Modifier and Type Method Description Session.LockRequestSession. buildLockRequest(LockOptions lockOptions)Build a LockRequest that specifies the LockMode, pessimistic lock timeout and lock scope.static LockOptionsLockOptions. copy(LockOptions source, LockOptions destination)Perform a shallow copy.<T> TSession. get(Class<T> entityType, Serializable id, LockOptions lockOptions)Return the persistent instance of the given entity class with the given identifier, or null if there is no such persistent instance.ObjectSession. get(String entityName, Serializable id, LockOptions lockOptions)Return the persistent instance of the given entity class with the given identifier, or null if there is no such persistent instance.<T> TSession. load(Class<T> theClass, Serializable id, LockOptions lockOptions)Return the persistent instance of the given entity class with the given identifier, obtaining the specified lock mode, assuming the instance exists.ObjectSession. load(String entityName, Serializable id, LockOptions lockOptions)Return the persistent instance of the given entity class with the given identifier, obtaining the specified lock mode, assuming the instance exists.voidSession. refresh(Object object, LockOptions lockOptions)Re-read the state of the given instance from the underlying database, with the given LockMode.voidSession. refresh(String entityName, Object object, LockOptions lockOptions)Re-read the state of the given instance from the underlying database, with the given LockMode.Query<R>Query. setLockOptions(LockOptions lockOptions)Deprecated.Set the lock options for the query.NativeQuery<T>SQLQuery. setLockOptions(LockOptions lockOptions)Deprecated.IdentifierLoadAccess<T>IdentifierLoadAccess. with(LockOptions lockOptions)Specify theLockOptionsto use when retrieving the entity.MultiIdentifierLoadAccess<T>MultiIdentifierLoadAccess. with(LockOptions lockOptions)Specify theLockOptionsto use when retrieving the entity.NaturalIdLoadAccess<T>NaturalIdLoadAccess. with(LockOptions lockOptions)Specify theLockOptionsto use when retrieving the entity.SimpleNaturalIdLoadAccess<T>SimpleNaturalIdLoadAccess. with(LockOptions lockOptions)Specify theLockOptionsto use when retrieving the entity. -
Uses of LockOptions in org.hibernate.cfg.annotations
Methods in org.hibernate.cfg.annotations that return LockOptions Modifier and Type Method Description LockOptionsQueryHintDefinition. determineLockOptions(NamedQuery namedQueryAnnotation) -
Uses of LockOptions in org.hibernate.dialect
Methods in org.hibernate.dialect with parameters of type LockOptions Modifier and Type Method Description StringDialect. appendLockHint(LockOptions lockOptions, String tableName)Some dialects support an alternative means to SELECT FOR UPDATE, whereby a "lock hint" is appended to the table name in the from clause.StringSQLServer2005Dialect. appendLockHint(LockOptions lockOptions, String tableName)StringSQLServerDialect. appendLockHint(LockOptions lockOptions, String tableName)StringSybaseASE157Dialect. appendLockHint(LockOptions mode, String tableName)StringDialect. applyLocksToSql(String sql, LockOptions aliasedLockOptions, Map<String,String[]> keyColumnNames)Modifies the given SQL by applying the appropriate updates for the specified lock modes and key columns.StringSybaseASE157Dialect. applyLocksToSql(String sql, LockOptions aliasedLockOptions, Map<String,String[]> keyColumnNames)StringTeradata14Dialect. applyLocksToSql(String sql, LockOptions aliasedLockOptions, Map keyColumnNames)StringAbstractHANADialect. getForUpdateString(String aliases, LockOptions lockOptions)StringCockroachDB192Dialect. getForUpdateString(String aliases, LockOptions lockOptions)StringDialect. getForUpdateString(String aliases, LockOptions lockOptions)Get the FOR UPDATE OF column_list fragment appropriate for this dialect given the aliases of the columns to be write locked.StringDialect. getForUpdateString(LockOptions lockOptions)Given LockOptions (lockMode, timeout), determine the appropriate for update fragment to use.StringPostgreSQL81Dialect. getForUpdateString(String aliases, LockOptions lockOptions) -
Uses of LockOptions in org.hibernate.engine.spi
Fields in org.hibernate.engine.spi declared as LockOptions Modifier and Type Field Description protected LockOptionsNamedQueryDefinitionBuilder. lockOptionsMethods in org.hibernate.engine.spi that return LockOptions Modifier and Type Method Description LockOptionsSessionDelegatorBaseImpl. buildLockOptions(LockModeType lockModeType, Map<String,Object> properties)LockOptionsNamedQueryDefinition. getLockOptions()LockOptionsQueryParameters. getLockOptions()LockOptionsSessionDelegatorBaseImpl. getLockRequest(LockModeType lockModeType, Map<String,Object> properties)Methods in org.hibernate.engine.spi with parameters of type LockOptions Modifier and Type Method Description Session.LockRequestSessionDelegatorBaseImpl. buildLockRequest(LockOptions lockOptions)Session.LockRequestSessionLazyDelegator. buildLockRequest(LockOptions lockOptions)RuntimeExceptionExceptionConverter. convert(RuntimeException e, LockOptions lockOptions)RuntimeExceptionExceptionConverter. 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> theClass, Serializable id, LockOptions lockOptions)ObjectSessionDelegatorBaseImpl. get(String entityName, Serializable id, LockOptions lockOptions)<T> TSessionLazyDelegator. get(Class<T> entityType, Serializable id, LockOptions lockOptions)ObjectSessionLazyDelegator. get(String entityName, Serializable id, LockOptions lockOptions)<T> TSessionDelegatorBaseImpl. load(Class<T> theClass, Serializable id, LockOptions lockOptions)ObjectSessionDelegatorBaseImpl. load(String entityName, Serializable id, LockOptions lockOptions)<T> TSessionLazyDelegator. load(Class<T> theClass, Serializable id, LockOptions lockOptions)ObjectSessionLazyDelegator. load(String entityName, Serializable id, LockOptions lockOptions)voidSessionDelegatorBaseImpl. refresh(Object object, LockOptions lockOptions)voidSessionDelegatorBaseImpl. refresh(String entityName, Object object, LockOptions lockOptions)voidSessionLazyDelegator. refresh(Object object, LockOptions lockOptions)voidSessionLazyDelegator. refresh(String entityName, Object object, LockOptions lockOptions)NamedQueryDefinitionBuilderNamedQueryDefinitionBuilder. setLockOptions(LockOptions lockOptions)NamedSQLQueryDefinitionBuilderNamedSQLQueryDefinitionBuilder. setLockOptions(LockOptions lockOptions)voidQueryParameters. setLockOptions(LockOptions lockOptions)Constructors in org.hibernate.engine.spi with parameters of type LockOptions Constructor Description QueryParameters(QueryParameterBindings queryParameterBindings, LockOptions lockOptions, RowSelection selection, boolean isReadOnlyInitialized, boolean readOnly, boolean cacheable, String cacheRegion, String comment, List<String> dbHints, Serializable[] collectionKeys, Object optionalObject, String optionalEntityName, Serializable optionalId, ResultTransformer resultTransformer)QueryParameters(Type[] positionalParameterTypes, Object[] positionalParameterValues, Map<String,TypedValue> namedParameters, LockOptions lockOptions, RowSelection rowSelection, boolean isReadOnlyInitialized, boolean readOnly, boolean cacheable, String cacheRegion, String comment, List<String> queryHints, Serializable[] collectionKeys, Object optionalObject, String optionalEntityName, Serializable optionalId, ResultTransformer transformer)QueryParameters(Type[] positionalParameterTypes, Object[] positionalParameterValues, Map<String,TypedValue> namedParameters, LockOptions lockOptions, RowSelection rowSelection, boolean isReadOnlyInitialized, boolean readOnly, boolean cacheable, String cacheRegion, String comment, List<String> queryHints, Serializable[] collectionKeys, ResultTransformer transformer)QueryParameters(Type[] positionalParameterTypes, Object[] positionalParameterValues, LockOptions lockOptions, RowSelection rowSelection, boolean isReadOnlyInitialized, boolean readOnly, boolean cacheable, String cacheRegion, String comment, List<String> queryHints, boolean isLookupByNaturalKey, ResultTransformer transformer) -
Uses of LockOptions in org.hibernate.event.spi
Fields in org.hibernate.event.spi declared as LockOptions Modifier and Type Field Description static LockOptionsLoadEvent. DEFAULT_LOCK_OPTIONSMethods in org.hibernate.event.spi that return LockOptions Modifier and Type Method Description LockOptionsLoadEvent. getLockOptions()LockOptionsLockEvent. getLockOptions()LockOptionsRefreshEvent. getLockOptions()LockOptionsResolveNaturalIdEvent. getLockOptions()Constructors in org.hibernate.event.spi with parameters of type LockOptions Constructor Description LoadEvent(Serializable entityId, String entityClassName, LockOptions lockOptions, EventSource source, Boolean readOnly)LockEvent(Object object, LockOptions lockOptions, EventSource source)LockEvent(String entityName, Object original, LockOptions lockOptions, EventSource source)RefreshEvent(Object object, LockOptions lockOptions, EventSource source)RefreshEvent(String entityName, Object object, LockOptions lockOptions, EventSource source)ResolveNaturalIdEvent(Map<String,Object> naturalIdValues, EntityPersister entityPersister, LockOptions lockOptions, EventSource source) -
Uses of LockOptions in org.hibernate.jpa.spi
Methods in org.hibernate.jpa.spi that return LockOptions Modifier and Type Method Description default LockOptionsHibernateEntityManagerImplementor. buildLockOptions(LockModeType lockModeType, Map<String,Object> properties)Deprecated.Given a JPALockModeTypeand properties, build a HibernateLockOptionsLockOptionsHibernateEntityManagerImplementor. getLockRequest(LockModeType lockModeType, Map<String,Object> properties)Deprecated.(since 5.2) useHibernateEntityManagerImplementor.buildLockOptions(LockModeType, Map)instead -
Uses of LockOptions in org.hibernate.loader
Fields in org.hibernate.loader declared as LockOptions Modifier and Type Field Description protected LockOptionsJoinWalker. lockOptionsMethods in org.hibernate.loader that return LockOptions Modifier and Type Method Description LockOptionsJoinWalker. getLockModeOptions()protected LockOptionsOuterJoinLoader. getLockOptions()Methods in org.hibernate.loader with parameters of type LockOptions Modifier and Type Method Description protected LockModeLoader. determineFollowOnLockMode(LockOptions lockOptions)protected abstract LockMode[]Loader. getLockModes(LockOptions lockOptions)What lock options does this load entities with?protected LockMode[]OuterJoinLoader. getLockModes(LockOptions lockOptions)protected voidAbstractEntityJoinWalker. initAll(String whereString, String orderByString, LockOptions lockOptions)protected voidAbstractEntityJoinWalker. initAll(String whereString, String orderByString, LockOptions lockOptions, JoinWalker.AssociationInitCallback callback)protected voidJoinWalker. initPersisters(List associations, LockOptions lockOptions)protected voidJoinWalker. initPersisters(List associations, LockOptions lockOptions, JoinWalker.AssociationInitCallback callback)protected voidAbstractEntityJoinWalker. initProjection(String projectionString, String whereString, String orderByString, String groupByString, LockOptions lockOptions)protected ListLoader. loadEntity(SharedSessionContractImplementor session, Object id, Type identifierType, Object optionalObject, String optionalEntityName, Serializable optionalIdentifier, EntityPersister persister, LockOptions lockOptions, Boolean readOnly)Called by subclasses that load entitiesListLoader. loadEntityBatch(SharedSessionContractImplementor session, Serializable[] ids, Type idType, Object optionalObject, String optionalEntityName, Serializable optionalId, EntityPersister persister, LockOptions lockOptions)Called by wrappers that batch load entitiesListLoader. loadEntityBatch(SharedSessionContractImplementor session, Serializable[] ids, Type idType, Object optionalObject, String optionalEntityName, Serializable optionalId, EntityPersister persister, LockOptions lockOptions, Boolean readOnly)Called by wrappers that batch load entities -
Uses of LockOptions in org.hibernate.loader.criteria
Methods in org.hibernate.loader.criteria with parameters of type LockOptions Modifier and Type Method Description protected LockModeCriteriaLoader. determineFollowOnLockMode(LockOptions lockOptions)protected LockMode[]CriteriaLoader. getLockModes(LockOptions lockOptions) -
Uses of LockOptions in org.hibernate.loader.custom
Methods in org.hibernate.loader.custom with parameters of type LockOptions Modifier and Type Method Description protected LockMode[]CustomLoader. getLockModes(LockOptions lockOptions) -
Uses of LockOptions in org.hibernate.loader.entity
Methods in org.hibernate.loader.entity with parameters of type LockOptions Modifier and Type Method Description protected abstract UniqueEntityLoaderBatchingEntityLoaderBuilder. buildBatchingLoader(OuterJoinLoadable persister, int batchSize, LockOptions lockOptions, SessionFactoryImplementor factory, LoadQueryInfluencers influencers)UniqueEntityLoaderBatchingEntityLoaderBuilder. buildLoader(OuterJoinLoadable persister, int batchSize, LockOptions lockOptions, SessionFactoryImplementor factory, LoadQueryInfluencers influencers)Builds a batch-fetch capable loader based on the given persister, lock-options, etc.protected UniqueEntityLoaderBatchingEntityLoaderBuilder. buildNonBatchingLoader(OuterJoinLoadable persister, LockOptions lockOptions, SessionFactoryImplementor factory, LoadQueryInfluencers influencers)ObjectAbstractEntityLoader. load(Serializable id, Object optionalObject, SharedSessionContractImplementor session, LockOptions lockOptions)ObjectAbstractEntityLoader. load(Serializable id, Object optionalObject, SharedSessionContractImplementor session, LockOptions lockOptions, Boolean readOnly)ObjectAbstractEntityLoader. load(Object id, SharedSessionContractImplementor session, LockOptions lockOptions)protected ObjectAbstractEntityLoader. load(SharedSessionContractImplementor session, Object id, Object optionalObject, Serializable optionalId, LockOptions lockOptions, Boolean readOnly)ObjectUniqueEntityLoader. load(Serializable id, Object optionalObject, SharedSessionContractImplementor session, LockOptions lockOptions)Load an entity instance by id.default ObjectUniqueEntityLoader. load(Serializable id, Object optionalObject, SharedSessionContractImplementor session, LockOptions lockOptions, Boolean readOnly)default ObjectUniqueEntityLoader. load(Object id, SharedSessionContractImplementor session, LockOptions lockOptions)Constructors in org.hibernate.loader.entity with parameters of type LockOptions Constructor Description EntityJoinWalker(OuterJoinLoadable persister, String[] uniqueKey, int batchSize, LockOptions lockOptions, SessionFactoryImplementor factory, LoadQueryInfluencers loadQueryInfluencers)EntityLoader(OuterJoinLoadable persister, boolean[] valueNullness, int batchSize, LockOptions lockOptions, SessionFactoryImplementor factory, LoadQueryInfluencers loadQueryInfluencers)EntityLoader(OuterJoinLoadable persister, int batchSize, LockOptions lockOptions, SessionFactoryImplementor factory, LoadQueryInfluencers loadQueryInfluencers)EntityLoader(OuterJoinLoadable persister, String[] uniqueKey, Type uniqueKeyType, int batchSize, LockOptions lockOptions, SessionFactoryImplementor factory, LoadQueryInfluencers loadQueryInfluencers)EntityLoader(OuterJoinLoadable persister, LockOptions lockOptions, SessionFactoryImplementor factory, LoadQueryInfluencers loadQueryInfluencers)NaturalIdEntityJoinWalker(OuterJoinLoadable persister, boolean[] valueNullness, int batchSize, LockOptions lockOptions, SessionFactoryImplementor factory, LoadQueryInfluencers loadQueryInfluencers) -
Uses of LockOptions in org.hibernate.loader.entity.plan
Methods in org.hibernate.loader.entity.plan with parameters of type LockOptions Modifier and Type Method Description protected UniqueEntityLoaderDynamicBatchingEntityLoaderBuilder. buildBatchingLoader(OuterJoinLoadable persister, int batchSize, LockOptions lockOptions, SessionFactoryImplementor factory, LoadQueryInfluencers influencers)protected UniqueEntityLoaderLegacyBatchingEntityLoaderBuilder. buildBatchingLoader(OuterJoinLoadable persister, int batchSize, LockOptions lockOptions, SessionFactoryImplementor factory, LoadQueryInfluencers influencers)protected UniqueEntityLoaderPaddedBatchingEntityLoaderBuilder. buildBatchingLoader(OuterJoinLoadable persister, int batchSize, LockOptions lockOptions, SessionFactoryImplementor factory, LoadQueryInfluencers influencers)static QueryParametersMultiEntityLoadingSupport. buildMultiLoadQueryParameters(OuterJoinLoadable persister, Serializable[] ids, LockOptions lockOptions)protected UniqueEntityLoaderAbstractBatchingEntityLoaderBuilder. buildNonBatchingLoader(OuterJoinLoadable persister, LockOptions lockOptions, SessionFactoryImplementor factory, LoadQueryInfluencers influencers)protected QueryParametersBatchingEntityLoader. buildQueryParameters(Serializable id, Serializable[] ids, Object optionalObject, LockOptions lockOptions)protected ObjectBatchingEntityLoader. doBatchLoad(Serializable id, Loader loaderToUse, SharedSessionContractImplementor session, Serializable[] ids, Object optionalObject, LockOptions lockOptions)ObjectAbstractLoadPlanBasedEntityLoader. load(Serializable id, Object optionalObject, SharedSessionContractImplementor session, LockOptions lockOptions)ObjectAbstractLoadPlanBasedEntityLoader. load(Serializable id, Object optionalObject, SharedSessionContractImplementor session, LockOptions lockOptions, Boolean readOnly)ObjectDynamicBatchingEntityLoader. load(Serializable id, Object optionalObject, SharedSessionContractImplementor session, LockOptions lockOptions)ObjectDynamicBatchingEntityLoader. load(Serializable id, Object optionalObject, SharedSessionContractImplementor session, LockOptions lockOptions, Boolean readOnly)ObjectLegacyBatchingEntityLoaderBuilder.LegacyBatchingEntityLoader. load(Serializable id, Object optionalObject, SharedSessionContractImplementor session, LockOptions lockOptions)ObjectLegacyBatchingEntityLoaderBuilder.LegacyBatchingEntityLoader. load(Serializable id, Object optionalObject, SharedSessionContractImplementor session, LockOptions lockOptions, Boolean readOnly)ObjectPaddedBatchingEntityLoader. load(Serializable id, Object optionalObject, SharedSessionContractImplementor session, LockOptions lockOptions)ObjectPaddedBatchingEntityLoader. load(Serializable id, Object optionalObject, SharedSessionContractImplementor session, LockOptions lockOptions, Boolean readOnly)List<?>AbstractLoadPlanBasedEntityLoader. loadEntityBatch(Serializable[] idsInBatch, OuterJoinLoadable persister, LockOptions lockOptions, SharedSessionContractImplementor session)ListAbstractLoadPlanBasedEntityLoader. loadEntityBatch(SharedSessionContractImplementor session, Serializable[] ids, Type idType, Object optionalObject, String optionalEntityName, Serializable optionalId, EntityPersister persister, LockOptions lockOptions)Called by wrappers that batch load entitiesListAbstractLoadPlanBasedEntityLoader. loadEntityBatch(SharedSessionContractImplementor session, Serializable[] ids, Type idType, Object optionalObject, String optionalEntityName, Serializable optionalId, EntityPersister persister, LockOptions lockOptions, Boolean readOnly)EntityLoader.BuilderEntityLoader.Builder. withLockOptions(LockOptions lockOptions)Constructors in org.hibernate.loader.entity.plan with parameters of type LockOptions Constructor Description DynamicBatchingEntityLoader(OuterJoinLoadable persister, int maxBatchSize, LockOptions lockOptions, SessionFactoryImplementor factory, LoadQueryInfluencers loadQueryInfluencers)LegacyBatchingEntityLoader(OuterJoinLoadable persister, int maxBatchSize, LockMode lockMode, LockOptions lockOptions, SessionFactoryImplementor factory, LoadQueryInfluencers loadQueryInfluencers)LegacyBatchingEntityLoader(OuterJoinLoadable persister, int maxBatchSize, LockOptions lockOptions, SessionFactoryImplementor factory, LoadQueryInfluencers loadQueryInfluencers)PaddedBatchingEntityLoader(OuterJoinLoadable persister, int maxBatchSize, LockOptions lockOptions, SessionFactoryImplementor factory, LoadQueryInfluencers loadQueryInfluencers) -
Uses of LockOptions in org.hibernate.loader.hql
Methods in org.hibernate.loader.hql with parameters of type LockOptions Modifier and Type Method Description protected LockMode[]QueryLoader. getLockModes(LockOptions lockOptions) -
Uses of LockOptions in org.hibernate.loader.plan.exec.query.spi
Methods in org.hibernate.loader.plan.exec.query.spi that return LockOptions Modifier and Type Method Description LockOptionsQueryBuildingParameters. getLockOptions()Gets the lock options. -
Uses of LockOptions in org.hibernate.persister.entity
Methods in org.hibernate.persister.entity that return LockOptions Modifier and Type Method Description LockOptionsMultiLoadOptions. getLockOptions()Specify the lock options applied during loading.Methods in org.hibernate.persister.entity with parameters of type LockOptions Modifier and Type Method Description protected UniqueEntityLoaderAbstractEntityPersister. createEntityLoader(LockOptions lockOptions, LoadQueryInfluencers loadQueryInfluencers)protected UniqueEntityLoaderAbstractEntityPersister. getAppropriateLoader(LockOptions lockOptions, SharedSessionContractImplementor session)ObjectAbstractEntityPersister. load(Serializable id, Object optionalObject, LockOptions lockOptions, SharedSessionContractImplementor session)Load an instance using either the forUpdateLoader or the outer joining loader, depending upon the value of the lock parameterObjectAbstractEntityPersister. load(Serializable id, Object optionalObject, LockOptions lockOptions, SharedSessionContractImplementor session, Boolean readOnly)ObjectEntityPersister. load(Serializable id, Object optionalObject, LockOptions lockOptions, SharedSessionContractImplementor session)Load an instance of the persistent class.default ObjectEntityPersister. load(Serializable id, Object optionalObject, LockOptions lockOptions, SharedSessionContractImplementor session, Boolean readOnly)ObjectNamedQueryLoader. load(Serializable id, Object optionalObject, SharedSessionContractImplementor session, LockOptions lockOptions)ObjectNamedQueryLoader. load(Serializable id, Object optionalObject, SharedSessionContractImplementor session, LockOptions lockOptions, Boolean readOnly)ObjectAbstractEntityPersister. loadByNaturalId(Object[] naturalIdValues, LockOptions lockOptions, SharedSessionContractImplementor session)ObjectUniqueKeyLoadable. loadByNaturalId(Object[] naturalIds, LockOptions lockOptions, SharedSessionContractImplementor session)Load an instance of the persistent class, by a natural id.SerializableAbstractEntityPersister. loadEntityIdByNaturalId(Object[] naturalIdValues, LockOptions lockOptions, SharedSessionContractImplementor session)Deprecated.SerializableEntityPersister. loadEntityIdByNaturalId(Object[] naturalIdValues, LockOptions lockOptions, SharedSessionContractImplementor session)voidAbstractEntityPersister. lock(Serializable id, Object version, Object object, LockOptions lockOptions, SharedSessionContractImplementor session)voidEntityPersister. lock(Serializable id, Object version, Object object, LockOptions lockOptions, SharedSessionContractImplementor session)Do a version check (optional operation) -
Uses of LockOptions in org.hibernate.query
Methods in org.hibernate.query that return LockOptions Modifier and Type Method Description LockOptionsQuery. getLockOptions()Methods in org.hibernate.query with parameters of type LockOptions Modifier and Type Method Description NativeQuery<T>NativeQuery. setLockOptions(LockOptions lockOptions)Query<R>Query. setLockOptions(LockOptions lockOptions) -
Uses of LockOptions in org.hibernate.query.spi
Methods in org.hibernate.query.spi with parameters of type LockOptions Modifier and Type Method Description NativeQueryImplementor<T>NativeQueryImplementor. setLockOptions(LockOptions lockOptions) -
Uses of LockOptions in org.hibernate.sql
Fields in org.hibernate.sql declared as LockOptions Modifier and Type Field Description protected LockOptionsSelect. lockOptionsprotected LockOptionsSimpleSelect. lockOptionsMethods in org.hibernate.sql that return LockOptions Modifier and Type Method Description LockOptionsSelect. getLockOptions()Get the current lock optionsMethods in org.hibernate.sql with parameters of type LockOptions Modifier and Type Method Description SelectSelect. setLockOptions(LockOptions lockOptions)Set the lock optionsSimpleSelectSimpleSelect. setLockOptions(LockOptions lockOptions)Constructors in org.hibernate.sql with parameters of type LockOptions Constructor Description ForUpdateFragment(Dialect dialect, LockOptions lockOptions, Map<String,String[]> keyColumnNames)
-