类的使用
org.hibernate.LockOptions
-
使用LockOptions的程序包 程序包 说明 org.hibernate This package defines the central Hibernate APIs.org.hibernate.cfg.annotations org.hibernate.dialect This package abstracts the SQL dialect of the underlying database.org.hibernate.engine.spi org.hibernate.event.internal This package defines a default set of event listeners that implements the default behaviors of Hibernate.org.hibernate.event.spi org.hibernate.hql.internal.classic This package contains the Hibernate 2.x query parser which is being end-of-lifed.org.hibernate.internal An internal package containing mostly implementations of central Hibernate APIs.org.hibernate.internal.util.collections org.hibernate.jpa.internal.util org.hibernate.jpa.spi org.hibernate.loader This package defines functionality for processing JDBC result sets and returning complex graphs of persistent objects.org.hibernate.loader.criteria This package defines the criteria query compiler and loaderorg.hibernate.loader.custom This package defines a framework for custom loaders that accept handwritten SQLorg.hibernate.loader.entity This package defines entity loadersorg.hibernate.loader.entity.plan org.hibernate.loader.hql This package defines a loader for the AST-based query parserorg.hibernate.loader.plan.exec.query.internal Provides the internal implementation for generating the load query for the LoadPlan.org.hibernate.loader.plan.exec.query.spi Defines the SPI for obtaining values for options that impact the load query.org.hibernate.persister.entity This package abstracts persistence mechanisms for entities, and defines the Hibernate runtime metamodel.org.hibernate.query org.hibernate.query.criteria.internal.compile org.hibernate.query.internal org.hibernate.query.spi org.hibernate.sql This package defines helper classes for rendering SQL fragments and SQL statements. -
-
org.hibernate中LockOptions的使用
声明为LockOptions的org.hibernate中的字段 修饰符和类型 字段 说明 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).返回LockOptions的org.hibernate中的方法 修饰符和类型 方法 说明 static LockOptionsLockOptions. copy(LockOptions source, LockOptions destination)Perform a shallow copy.LockOptionsQuery. getLockOptions()已过时。Obtains the LockOptions in effect for this query.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.参数类型为LockOptions的org.hibernate中的方法 修饰符和类型 方法 说明 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)已过时。Set the lock options for the query.NativeQuery<T>SQLQuery. setLockOptions(LockOptions lockOptions)已过时。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. -
org.hibernate.cfg.annotations中LockOptions的使用
返回LockOptions的org.hibernate.cfg.annotations中的方法 修饰符和类型 方法 说明 LockOptionsQueryHintDefinition. determineLockOptions(javax.persistence.NamedQuery namedQueryAnnotation) -
org.hibernate.dialect中LockOptions的使用
参数类型为LockOptions的org.hibernate.dialect中的方法 修饰符和类型 方法 说明 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)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) -
org.hibernate.engine.spi中LockOptions的使用
声明为LockOptions的org.hibernate.engine.spi中的字段 修饰符和类型 字段 说明 protected LockOptionsNamedQueryDefinitionBuilder. lockOptions返回LockOptions的org.hibernate.engine.spi中的方法 修饰符和类型 方法 说明 LockOptionsSessionDelegatorBaseImpl. buildLockOptions(javax.persistence.LockModeType lockModeType, Map<String,Object> properties)LockOptionsNamedQueryDefinition. getLockOptions()LockOptionsQueryParameters. getLockOptions()LockOptionsSessionDelegatorBaseImpl. getLockRequest(javax.persistence.LockModeType lockModeType, Map<String,Object> properties)参数类型为LockOptions的org.hibernate.engine.spi中的方法 修饰符和类型 方法 说明 Session.LockRequestSessionDelegatorBaseImpl. 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> TSessionDelegatorBaseImpl. load(Class<T> theClass, Serializable id, LockOptions lockOptions)ObjectSessionDelegatorBaseImpl. load(String entityName, Serializable id, LockOptions lockOptions)voidSessionDelegatorBaseImpl. refresh(Object object, LockOptions lockOptions)voidSessionDelegatorBaseImpl. refresh(String entityName, Object object, LockOptions lockOptions)NamedQueryDefinitionBuilderNamedQueryDefinitionBuilder. setLockOptions(LockOptions lockOptions)NamedSQLQueryDefinitionBuilderNamedSQLQueryDefinitionBuilder. setLockOptions(LockOptions lockOptions)voidQueryParameters. setLockOptions(LockOptions lockOptions)参数类型为LockOptions的org.hibernate.engine.spi中的构造器 构造器 说明 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) -
org.hibernate.event.internal中LockOptions的使用
参数类型为LockOptions的org.hibernate.event.internal中的方法 修饰符和类型 方法 说明 protected voidAbstractLockUpgradeEventListener. upgradeLock(Object object, EntityEntry entry, LockOptions lockOptions, EventSource source)Performs a pessimistic lock upgrade on a given entity, if needed. -
org.hibernate.event.spi中LockOptions的使用
声明为LockOptions的org.hibernate.event.spi中的字段 修饰符和类型 字段 说明 static LockOptionsLoadEvent. DEFAULT_LOCK_OPTIONS返回LockOptions的org.hibernate.event.spi中的方法 修饰符和类型 方法 说明 LockOptionsLoadEvent. getLockOptions()LockOptionsLockEvent. getLockOptions()LockOptionsRefreshEvent. getLockOptions()LockOptionsResolveNaturalIdEvent. getLockOptions()参数类型为LockOptions的org.hibernate.event.spi中的构造器 构造器 说明 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) -
org.hibernate.hql.internal.classic中LockOptions的使用
参数类型为LockOptions的org.hibernate.hql.internal.classic中的方法 修饰符和类型 方法 说明 protected LockMode[]QueryTranslatorImpl. getLockModes(LockOptions lockOptions) -
org.hibernate.internal中LockOptions的使用
返回LockOptions的org.hibernate.internal中的方法 修饰符和类型 方法 说明 LockOptionsSessionImpl. getLockRequest(javax.persistence.LockModeType lockModeType, Map<String,Object> properties)参数类型为LockOptions的org.hibernate.internal中的方法 修饰符和类型 方法 说明 Session.LockRequestSessionImpl. buildLockRequest(LockOptions lockOptions)RuntimeExceptionExceptionConverterImpl. convert(RuntimeException e, LockOptions lockOptions)RuntimeExceptionExceptionConverterImpl. convert(HibernateException e, LockOptions lockOptions)<T> TSessionImpl. get(Class<T> entityClass, Serializable id, LockOptions lockOptions)ObjectSessionImpl. get(String entityName, Serializable id, LockOptions lockOptions)<T> TSessionImpl. load(Class<T> entityClass, Serializable id, LockOptions lockOptions)ObjectSessionImpl. load(String entityName, Serializable id, LockOptions lockOptions)voidSessionImpl. refresh(Object object, LockOptions lockOptions)voidSessionImpl. refresh(String entityName, Object object, LockOptions lockOptions)protected javax.persistence.PersistenceExceptionExceptionConverterImpl. wrapLockException(HibernateException e, LockOptions lockOptions) -
org.hibernate.internal.util.collections中LockOptions的使用
返回LockOptions的org.hibernate.internal.util.collections中的方法 修饰符和类型 方法 说明 static LockOptions[]ArrayHelper. fillArray(LockOptions lockOptions, int length)参数类型为LockOptions的org.hibernate.internal.util.collections中的方法 修饰符和类型 方法 说明 static LockOptions[]ArrayHelper. fillArray(LockOptions lockOptions, int length) -
org.hibernate.jpa.internal.util中LockOptions的使用
类型变量类型为LockOptions的org.hibernate.jpa.internal.util中的方法参数 修饰符和类型 方法 说明 static voidLockOptionsHelper. applyPropertiesToLockOptions(Map<String,Object> props, Supplier<LockOptions> lockOptionsSupplier)Applies configuration properties on aLockOptionsinstance, passed as a supplier so to make it possible to skip allocating theLockOptionsinstance if there's nothing to set. -
org.hibernate.jpa.spi中LockOptions的使用
返回LockOptions的org.hibernate.jpa.spi中的方法 修饰符和类型 方法 说明 default LockOptionsHibernateEntityManagerImplementor. buildLockOptions(javax.persistence.LockModeType lockModeType, Map<String,Object> properties)已过时。Given a JPALockModeTypeand properties, build a HibernateLockOptionsLockOptionsHibernateEntityManagerImplementor. getLockRequest(javax.persistence.LockModeType lockModeType, Map<String,Object> properties)已过时。(since 5.2) useHibernateEntityManagerImplementor.buildLockOptions(LockModeType, Map)instead -
org.hibernate.loader中LockOptions的使用
声明为LockOptions的org.hibernate.loader中的字段 修饰符和类型 字段 说明 protected LockOptionsJoinWalker. lockOptions返回LockOptions的org.hibernate.loader中的方法 修饰符和类型 方法 说明 LockOptionsJoinWalker. getLockModeOptions()protected LockOptionsOuterJoinLoader. getLockOptions()参数类型为LockOptions的org.hibernate.loader中的方法 修饰符和类型 方法 说明 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 -
org.hibernate.loader.criteria中LockOptions的使用
参数类型为LockOptions的org.hibernate.loader.criteria中的方法 修饰符和类型 方法 说明 protected LockModeCriteriaLoader. determineFollowOnLockMode(LockOptions lockOptions)protected LockMode[]CriteriaLoader. getLockModes(LockOptions lockOptions) -
org.hibernate.loader.custom中LockOptions的使用
参数类型为LockOptions的org.hibernate.loader.custom中的方法 修饰符和类型 方法 说明 protected LockMode[]CustomLoader. getLockModes(LockOptions lockOptions) -
org.hibernate.loader.entity中LockOptions的使用
参数类型为LockOptions的org.hibernate.loader.entity中的方法 修饰符和类型 方法 说明 protected abstract UniqueEntityLoaderBatchingEntityLoaderBuilder. buildBatchingLoader(OuterJoinLoadable persister, int batchSize, LockOptions lockOptions, SessionFactoryImplementor factory, LoadQueryInfluencers influencers)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)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.static QueryParametersDynamicBatchingEntityLoaderBuilder. buildMultiLoadQueryParameters(OuterJoinLoadable persister, Serializable[] ids, LockOptions lockOptions)protected UniqueEntityLoaderBatchingEntityLoaderBuilder. buildNonBatchingLoader(OuterJoinLoadable persister, LockOptions lockOptions, SessionFactoryImplementor factory, LoadQueryInfluencers influencers)protected QueryParametersBatchingEntityLoader. buildQueryParameters(Serializable id, Serializable[] ids, Object optionalObject, LockOptions lockOptions, Boolean readOnly)protected ObjectBatchingEntityLoader. doBatchLoad(Serializable id, Loader loaderToUse, SharedSessionContractImplementor session, Serializable[] ids, Object optionalObject, LockOptions lockOptions, Boolean readOnly)ObjectAbstractEntityLoader. load(Serializable id, Object optionalObject, SharedSessionContractImplementor session, LockOptions lockOptions)ObjectAbstractEntityLoader. load(Serializable id, Object optionalObject, SharedSessionContractImplementor session, LockOptions lockOptions, Boolean readOnly)protected ObjectAbstractEntityLoader. load(SharedSessionContractImplementor session, Object id, Object optionalObject, Serializable optionalId, LockOptions lockOptions, Boolean readOnly)ObjectBatchingEntityLoader. load(Serializable id, Object optionalObject, SharedSessionContractImplementor session, LockOptions lockOptions, Boolean readOnly)ObjectDynamicBatchingEntityLoaderBuilder.DynamicBatchingEntityLoader. load(Serializable id, Object optionalObject, SharedSessionContractImplementor session, LockOptions lockOptions)ObjectDynamicBatchingEntityLoaderBuilder.DynamicBatchingEntityLoader. 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)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) -
org.hibernate.loader.entity.plan中LockOptions的使用
参数类型为LockOptions的org.hibernate.loader.entity.plan中的方法 修饰符和类型 方法 说明 protected UniqueEntityLoaderLegacyBatchingEntityLoaderBuilder. buildBatchingLoader(OuterJoinLoadable persister, int batchSize, LockOptions lockOptions, SessionFactoryImplementor factory, LoadQueryInfluencers influencers)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)ObjectLegacyBatchingEntityLoaderBuilder.LegacyBatchingEntityLoader. load(Serializable id, Object optionalObject, SharedSessionContractImplementor session, LockOptions lockOptions)ObjectLegacyBatchingEntityLoaderBuilder.LegacyBatchingEntityLoader. load(Serializable id, Object optionalObject, SharedSessionContractImplementor session, LockOptions lockOptions, Boolean readOnly)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)参数类型为LockOptions的org.hibernate.loader.entity.plan中的构造器 构造器 说明 LegacyBatchingEntityLoader(OuterJoinLoadable persister, int maxBatchSize, LockMode lockMode, LockOptions lockOptions, SessionFactoryImplementor factory, LoadQueryInfluencers loadQueryInfluencers)LegacyBatchingEntityLoader(OuterJoinLoadable persister, int maxBatchSize, LockOptions lockOptions, SessionFactoryImplementor factory, LoadQueryInfluencers loadQueryInfluencers) -
org.hibernate.loader.hql中LockOptions的使用
参数类型为LockOptions的org.hibernate.loader.hql中的方法 修饰符和类型 方法 说明 protected LockMode[]QueryLoader. getLockModes(LockOptions lockOptions) -
org.hibernate.loader.plan.exec.query.internal中LockOptions的使用
返回LockOptions的org.hibernate.loader.plan.exec.query.internal中的方法 修饰符和类型 方法 说明 LockOptionsQueryBuildingParametersImpl. getLockOptions()参数类型为LockOptions的org.hibernate.loader.plan.exec.query.internal中的方法 修饰符和类型 方法 说明 voidSelectStatementBuilder. setLockOptions(LockOptions lockOptions)Sets the lock options for the select statement.参数类型为LockOptions的org.hibernate.loader.plan.exec.query.internal中的构造器 构造器 说明 QueryBuildingParametersImpl(LoadQueryInfluencers loadQueryInfluencers, int batchSize, LockMode lockMode, LockOptions lockOptions) -
org.hibernate.loader.plan.exec.query.spi中LockOptions的使用
返回LockOptions的org.hibernate.loader.plan.exec.query.spi中的方法 修饰符和类型 方法 说明 LockOptionsQueryBuildingParameters. getLockOptions()Gets the lock options. -
org.hibernate.persister.entity中LockOptions的使用
返回LockOptions的org.hibernate.persister.entity中的方法 修饰符和类型 方法 说明 LockOptionsMultiLoadOptions. getLockOptions()Specify the lock options applied during loading.参数类型为LockOptions的org.hibernate.persister.entity中的方法 修饰符和类型 方法 说明 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)SerializableAbstractEntityPersister. loadEntityIdByNaturalId(Object[] naturalIdValues, LockOptions lockOptions, SharedSessionContractImplementor session)SerializableEntityPersister. loadEntityIdByNaturalId(Object[] naturalIdValues, LockOptions lockOptions, SharedSessionContractImplementor session)Load the id for the entity based on the natural id.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) -
org.hibernate.query中LockOptions的使用
返回LockOptions的org.hibernate.query中的方法 修饰符和类型 方法 说明 LockOptionsQuery. getLockOptions()参数类型为LockOptions的org.hibernate.query中的方法 修饰符和类型 方法 说明 NativeQuery<T>NativeQuery. setLockOptions(LockOptions lockOptions)Query<R>Query. setLockOptions(LockOptions lockOptions) -
org.hibernate.query.criteria.internal.compile中LockOptions的使用
返回LockOptions的org.hibernate.query.criteria.internal.compile中的方法 修饰符和类型 方法 说明 LockOptionsCriteriaQueryTypeQueryAdapter. getLockOptions()参数类型为LockOptions的org.hibernate.query.criteria.internal.compile中的方法 修饰符和类型 方法 说明 QueryImplementorCriteriaQueryTypeQueryAdapter. setLockOptions(LockOptions lockOptions) -
org.hibernate.query.internal中LockOptions的使用
返回LockOptions的org.hibernate.query.internal中的方法 修饰符和类型 方法 说明 LockOptionsAbstractProducedQuery. getLockOptions()参数类型为LockOptions的org.hibernate.query.internal中的方法 修饰符和类型 方法 说明 QueryImplementorAbstractProducedQuery. setLockOptions(LockOptions lockOptions)NativeQueryImplementor<T>NativeQueryImpl. setLockOptions(LockOptions lockOptions) -
org.hibernate.query.spi中LockOptions的使用
参数类型为LockOptions的org.hibernate.query.spi中的方法 修饰符和类型 方法 说明 NativeQueryImplementor<T>NativeQueryImplementor. setLockOptions(LockOptions lockOptions) -
org.hibernate.sql中LockOptions的使用
声明为LockOptions的org.hibernate.sql中的字段 修饰符和类型 字段 说明 protected LockOptionsSelect. lockOptionsprotected LockOptionsSimpleSelect. lockOptions返回LockOptions的org.hibernate.sql中的方法 修饰符和类型 方法 说明 LockOptionsSelect. getLockOptions()Get the current lock options参数类型为LockOptions的org.hibernate.sql中的方法 修饰符和类型 方法 说明 SelectSelect. setLockOptions(LockOptions lockOptions)Set the lock optionsSimpleSelectSimpleSelect. setLockOptions(LockOptions lockOptions)参数类型为LockOptions的org.hibernate.sql中的构造器 构造器 说明 ForUpdateFragment(Dialect dialect, LockOptions lockOptions, Map<String,String[]> keyColumnNames)
-