类的使用
org.hibernate.LockMode
-
使用LockMode的程序包 程序包 说明 org.hibernate This package defines the central Hibernate APIs.org.hibernate.boot.jaxb.hbm.internal JAXB details.org.hibernate.boot.jaxb.hbm.spi org.hibernate.cfg.annotations org.hibernate.criterion A framework for defining restriction criteria and order criteria.org.hibernate.dialect This package abstracts the SQL dialect of the underlying database.org.hibernate.dialect.lock Support for Dialect-specific locking strategiesorg.hibernate.engine.internal Support for many of the internal workings of Hibernate.org.hibernate.engine.query.spi.sql org.hibernate.engine.spi 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 Internal utility classes.org.hibernate.internal.util.collections org.hibernate.jpa.internal.util 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.build.internal Contains the internal implementations used for building a metamodel-driven LoadPlan.org.hibernate.loader.plan.exec.process.internal org.hibernate.loader.plan.exec.process.spi org.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.loader.plan.exec.spi Defines the SPI for the load query generated for the LoadPlan and the ResultSet processor.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中LockMode的使用
返回LockMode的org.hibernate中的方法 修饰符和类型 方法 说明 LockModeLockOptions. findGreatestLockMode()Currently needed for follow-on locking.static LockModeLockMode. fromExternalForm(String externalForm)LockModeLockOptions. getAliasSpecificLockMode(String alias)Get theLockModeexplicitly specified for the given alias viaLockOptions.setAliasSpecificLockMode(java.lang.String, org.hibernate.LockMode)LockModeSession. getCurrentLockMode(Object object)Determine the current lock mode of the given object.LockModeLockOptions. getEffectiveLockMode(String alias)Determine theLockModeto apply to the given alias.LockModeLockOptions. getLockMode()Retrieve the overall lock mode in effect for this set of options.LockModeSession.LockRequest. getLockMode()Get the lock mode.static LockModeLockMode. valueOf(String name)返回带有指定名称的该类型的枚举常量。static LockMode[]LockMode. values()按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。返回变量类型为LockMode的类型的org.hibernate中的方法 修饰符和类型 方法 说明 Iterator<Map.Entry<String,LockMode>>LockOptions. getAliasLockIterator()Iterator for accessing Alias (key) and LockMode (value) as Map.Entry.Iterable<Map.Entry<String,LockMode>>LockOptions. getAliasSpecificLocks()Iterable access to alias (key) and LockMode (value) as Map.Entry.参数类型为LockMode的org.hibernate中的方法 修饰符和类型 方法 说明 SQLQuery<T>SQLQuery. addEntity(String tableAlias, Class entityClass, LockMode lockMode)已过时。Declare a "root" entity, specifying a lock mode.SQLQuery<T>SQLQuery. addEntity(String tableAlias, String entityName, LockMode lockMode)已过时。Declare a "root" entity, specifying a lock mode.SQLQuery<T>SQLQuery. addJoin(String tableAlias, String path, LockMode lockMode)已过时。Declare a join fetch result, specifying a lock mode.<T> TSession. get(Class<T> entityType, Serializable id, LockMode lockMode)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, LockMode lockMode)Return the persistent instance of the given entity class with the given identifier, or null if there is no such persistent instance.ObjectStatelessSession. get(Class entityClass, Serializable id, LockMode lockMode)Retrieve a row, obtaining the specified lock mode.ObjectStatelessSession. get(String entityName, Serializable id, LockMode lockMode)Retrieve a row, obtaining the specified lock mode.booleanLockMode. greaterThan(LockMode mode)Check if this lock mode is more restrictive than the given lock mode.booleanLockMode. lessThan(LockMode mode)Check if this lock mode is less restrictive than the given lock mode.<T> TSession. load(Class<T> theClass, Serializable id, LockMode lockMode)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, LockMode lockMode)Return the persistent instance of the given entity class with the given identifier, obtaining the specified lock mode, assuming the instance exists.voidSession. lock(Object object, LockMode lockMode)Obtain the specified lock level upon the given object.voidSession. lock(String entityName, Object object, LockMode lockMode)Obtain the specified lock level upon the given object.voidSession. refresh(Object object, LockMode lockMode)Re-read the state of the given instance from the underlying database, with the given LockMode.voidStatelessSession. refresh(Object entity, LockMode lockMode)Refresh the entity instance state from the database.voidStatelessSession. refresh(String entityName, Object entity, LockMode lockMode)Refresh the entity instance state from the database.LockOptionsLockOptions. setAliasSpecificLockMode(String alias, LockMode lockMode)Specify theLockModeto be used for a specific query alias.CriteriaCriteria. setLockMode(String alias, LockMode lockMode)Set the lock mode of the aliased entity.CriteriaCriteria. setLockMode(LockMode lockMode)Set the lock mode of the current entity.LockOptionsLockOptions. setLockMode(LockMode lockMode)Set the overallLockModeto be used.Query<R>Query. setLockMode(String alias, LockMode lockMode)已过时。Set the LockMode to use for specific alias (as defined in the query's FROM clause).Session.LockRequestSession.LockRequest. setLockMode(LockMode lockMode)Specify the LockMode to be used.SQLQuery.FetchReturnSQLQuery.FetchReturn. setLockMode(LockMode lockMode)Set the lock mode for this return.SQLQuery.RootReturnSQLQuery.RootReturn. setLockMode(LockMode lockMode)Set the lock mode for this return.NativeQuery<T>SQLQuery. setLockMode(String alias, LockMode lockMode)已过时。参数类型为LockMode的org.hibernate中的构造器 构造器 说明 LockOptions(LockMode lockMode)Constructs a LockOptions with the given lock mode. -
org.hibernate.boot.jaxb.hbm.internal中LockMode的使用
返回LockMode的org.hibernate.boot.jaxb.hbm.internal中的方法 修饰符和类型 方法 说明 static LockModeLockModeConverter. fromXml(String name)参数类型为LockMode的org.hibernate.boot.jaxb.hbm.internal中的方法 修饰符和类型 方法 说明 static StringLockModeConverter. toXml(LockMode lockMode) -
org.hibernate.boot.jaxb.hbm.spi中LockMode的使用
声明为LockMode的org.hibernate.boot.jaxb.hbm.spi中的字段 修饰符和类型 字段 说明 protected LockModeJaxbHbmNativeQueryCollectionLoadReturnType. lockModeprotected LockModeJaxbHbmNativeQueryJoinReturnType. lockModeprotected LockModeJaxbHbmNativeQueryReturnType. lockMode返回LockMode的org.hibernate.boot.jaxb.hbm.spi中的方法 修饰符和类型 方法 说明 LockModeJaxbHbmNativeQueryCollectionLoadReturnType. getLockMode()Gets the value of the lockMode property.LockModeJaxbHbmNativeQueryJoinReturnType. getLockMode()Gets the value of the lockMode property.LockModeJaxbHbmNativeQueryReturnType. getLockMode()Gets the value of the lockMode property.LockModeNativeQueryNonScalarRootReturn. getLockMode()Access the LockMode associated with this returnLockModeAdapter8. unmarshal(String value)参数类型为LockMode的org.hibernate.boot.jaxb.hbm.spi中的方法 修饰符和类型 方法 说明 StringAdapter8. marshal(LockMode value)voidJaxbHbmNativeQueryCollectionLoadReturnType. 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. -
org.hibernate.cfg.annotations中LockMode的使用
返回LockMode的org.hibernate.cfg.annotations中的方法 修饰符和类型 方法 说明 LockModeQueryHintDefinition. getLockMode(String query) -
org.hibernate.criterion中LockMode的使用
参数类型为LockMode的org.hibernate.criterion中的方法 修饰符和类型 方法 说明 DetachedCriteriaDetachedCriteria. setLockMode(String alias, LockMode lockMode)Set an alias-specific lock mode.DetachedCriteriaDetachedCriteria. setLockMode(LockMode lockMode)Set the lock mode to use. -
org.hibernate.dialect中LockMode的使用
参数类型为LockMode的org.hibernate.dialect中的方法 修饰符和类型 方法 说明 StringDialect. appendLockHint(LockMode mode, String tableName)已过时。useappendLockHint(LockOptions,String)insteadStringDialect. getForUpdateString(LockMode lockMode)Given a lock mode, determine the appropriate for update fragment to use.LockingStrategyCache71Dialect. getLockingStrategy(Lockable lockable, LockMode lockMode)LockingStrategyDialect. getLockingStrategy(Lockable lockable, LockMode lockMode)Get a strategy instance which knows how to acquire a database-level lock of the specified mode for this dialect.LockingStrategyFrontBaseDialect. getLockingStrategy(Lockable lockable, LockMode lockMode)LockingStrategyHSQLDialect. getLockingStrategy(Lockable lockable, LockMode lockMode)For HSQLDB 2.0, this is a copy of the base class implementation.LockingStrategyMckoiDialect. getLockingStrategy(Lockable lockable, LockMode lockMode)LockingStrategyPointbaseDialect. getLockingStrategy(Lockable lockable, LockMode lockMode)LockingStrategyRDMSOS2200Dialect. getLockingStrategy(Lockable lockable, LockMode lockMode)LockingStrategyTimesTenDialect. getLockingStrategy(Lockable lockable, LockMode lockMode) -
org.hibernate.dialect.lock中LockMode的使用
返回LockMode的org.hibernate.dialect.lock中的方法 修饰符和类型 方法 说明 protected 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()参数类型为LockMode的org.hibernate.dialect.lock中的构造器 构造器 说明 AbstractSelectLockingStrategy(Lockable lockable, LockMode lockMode)OptimisticForceIncrementLockingStrategy(Lockable lockable, LockMode lockMode)Construct locking strategy.OptimisticLockingStrategy(Lockable lockable, LockMode lockMode)Construct locking strategy.PessimisticForceIncrementLockingStrategy(Lockable lockable, LockMode lockMode)Construct locking strategy.PessimisticReadSelectLockingStrategy(Lockable lockable, LockMode lockMode)Construct a locking strategy based on SQL SELECT statements.PessimisticReadUpdateLockingStrategy(Lockable lockable, LockMode lockMode)Construct a locking strategy based on SQL UPDATE statements.PessimisticWriteSelectLockingStrategy(Lockable lockable, LockMode lockMode)Construct a locking strategy based on SQL SELECT statements.PessimisticWriteUpdateLockingStrategy(Lockable lockable, LockMode lockMode)Construct a locking strategy based on SQL UPDATE statements.SelectLockingStrategy(Lockable lockable, LockMode lockMode)Construct a locking strategy based on SQL SELECT statements.UpdateLockingStrategy(Lockable lockable, LockMode lockMode)Construct a locking strategy based on SQL UPDATE statements. -
org.hibernate.engine.internal中LockMode的使用
类型参数类型为LockMode的org.hibernate.engine.internal中的字段 修饰符和类型 字段 说明 protected static AbstractEntityEntry.EnumState<LockMode>AbstractEntityEntry.EnumState. LOCK_MODE返回LockMode的org.hibernate.engine.internal中的方法 修饰符和类型 方法 说明 LockModeAbstractEntityEntry. getLockMode()参数类型为LockMode的org.hibernate.engine.internal中的方法 修饰符和类型 方法 说明 EntityEntryStatefulPersistenceContext. addEntity(Object entity, Status status, Object[] loadedState, EntityKey entityKey, Object version, LockMode lockMode, boolean existsInDatabase, EntityPersister persister, boolean disableVersionIncrement)EntityEntryStatefulPersistenceContext. addEntry(Object entity, Status status, Object[] loadedState, Object rowId, Serializable 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)Same asTwoPhaseLoad.addUninitializedEntity(org.hibernate.engine.spi.EntityKey, java.lang.Object, org.hibernate.persister.entity.EntityPersister, org.hibernate.LockMode, org.hibernate.engine.spi.SharedSessionContractImplementor), but here for an entity from the second level cachestatic voidTwoPhaseLoad. addUninitializedEntity(EntityKey key, Object object, EntityPersister persister, LockMode lockMode, SharedSessionContractImplementor session)Add an uninitialized instance of an entity class, as a placeholder to ensure object identity.EntityEntryImmutableEntityEntryFactory. createEntityEntry(Status status, Object[] loadedState, Object rowId, Serializable id, Object version, LockMode lockMode, boolean existsInDatabase, EntityPersister persister, boolean disableVersionIncrement, PersistenceContext persistenceContext)EntityEntryMutableEntityEntryFactory. createEntityEntry(Status status, Object[] loadedState, Object rowId, Serializable id, Object version, LockMode lockMode, boolean existsInDatabase, EntityPersister persister, boolean disableVersionIncrement, PersistenceContext persistenceContext)static voidTwoPhaseLoad. postHydrate(EntityPersister persister, Serializable id, Object[] values, Object rowId, Object object, LockMode lockMode, SharedSessionContractImplementor session)Register the "hydrated" state of an entity instance, after the first step of 2-phase loading.voidAbstractEntityEntry. setLockMode(LockMode lockMode)voidImmutableEntityEntry. setLockMode(LockMode lockMode)参数类型为LockMode的org.hibernate.engine.internal中的构造器 构造器 说明 AbstractEntityEntry(SessionFactoryImplementor factory, String entityName, Serializable 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, Serializable id, Object version, LockMode lockMode, boolean existsInDatabase, EntityPersister persister, boolean disableVersionIncrement, PersistenceContext persistenceContext)AbstractEntityEntry(Status status, Object[] loadedState, Object rowId, Serializable id, Object version, LockMode lockMode, boolean existsInDatabase, EntityPersister persister, EntityMode entityMode, String tenantId, boolean disableVersionIncrement, PersistenceContext persistenceContext)已过时。the tenantId and entityMode parameters where removed: this constructor accepts but ignores them.ImmutableEntityEntry(Status status, Object[] loadedState, Object rowId, Serializable id, Object version, LockMode lockMode, boolean existsInDatabase, EntityPersister persister, boolean disableVersionIncrement, PersistenceContext persistenceContext)ImmutableEntityEntry(Status status, Object[] loadedState, Object rowId, Serializable id, Object version, LockMode lockMode, boolean existsInDatabase, EntityPersister persister, EntityMode entityMode, String tenantId, boolean disableVersionIncrement, PersistenceContext persistenceContext)已过时。the tenantId and entityMode parameters where removed: this constructor accepts but ignores them.MutableEntityEntry(Status status, Object[] loadedState, Object rowId, Serializable id, Object version, LockMode lockMode, boolean existsInDatabase, EntityPersister persister, boolean disableVersionIncrement, PersistenceContext persistenceContext)MutableEntityEntry(Status status, Object[] loadedState, Object rowId, Serializable id, Object version, LockMode lockMode, boolean existsInDatabase, EntityPersister persister, EntityMode entityMode, String tenantId, boolean disableVersionIncrement, PersistenceContext persistenceContext)已过时。the tenantId and entityMode parameters where removed: this constructor accepts but ignores them. -
org.hibernate.engine.query.spi.sql中LockMode的使用
返回LockMode的org.hibernate.engine.query.spi.sql中的方法 修饰符和类型 方法 说明 LockModeNativeSQLQueryNonScalarReturn. getLockMode()Retrieve the lock-mode to apply to this return参数类型为LockMode的org.hibernate.engine.query.spi.sql中的构造器 构造器 说明 NativeSQLQueryCollectionReturn(String alias, String ownerEntityName, String ownerProperty, Map propertyResults, LockMode lockMode)Construct a native-sql return representing a collection initializerNativeSQLQueryJoinReturn(String alias, String ownerAlias, String ownerProperty, Map propertyResults, LockMode lockMode)Construct a return descriptor representing some form of fetch.NativeSQLQueryNonScalarReturn(String alias, Map<String,String[]> propertyResults, LockMode lockMode)Constructs some form of non-scalar return descriptorNativeSQLQueryRootReturn(String alias, String entityName, Map<String,String[]> propertyResults, LockMode lockMode)NativeSQLQueryRootReturn(String alias, String entityName, LockMode lockMode)Construct a return representing an entity returned at the root of the result. -
org.hibernate.engine.spi中LockMode的使用
返回LockMode的org.hibernate.engine.spi中的方法 修饰符和类型 方法 说明 LockModeSessionDelegatorBaseImpl. getCurrentLockMode(Object object)LockModeEntityEntry. getLockMode()参数类型为LockMode的org.hibernate.engine.spi中的方法 修饰符和类型 方法 说明 EntityEntryPersistenceContext. 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.EntityEntryPersistenceContext. addEntry(Object entity, Status status, Object[] loadedState, Object rowId, Serializable 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.EntityEntryEntityEntryFactory. createEntityEntry(Status status, Object[] loadedState, Object rowId, Serializable id, Object version, LockMode lockMode, boolean existsInDatabase, EntityPersister persister, boolean disableVersionIncrement, PersistenceContext persistenceContext)CreatesEntityEntry.<T> TSessionDelegatorBaseImpl. get(Class<T> theClass, Serializable id, LockMode lockMode)ObjectSessionDelegatorBaseImpl. get(String entityName, Serializable id, LockMode lockMode)<T> TSessionDelegatorBaseImpl. load(Class<T> theClass, Serializable id, LockMode lockMode)ObjectSessionDelegatorBaseImpl. load(String entityName, Serializable id, LockMode lockMode)voidSessionDelegatorBaseImpl. lock(Object object, LockMode lockMode)voidSessionDelegatorBaseImpl. lock(String entityName, Object object, LockMode lockMode)voidSessionDelegatorBaseImpl. refresh(Object object, LockMode lockMode)voidEntityEntry. setLockMode(LockMode lockMode) -
org.hibernate.event.spi中LockMode的使用
声明为LockMode的org.hibernate.event.spi中的字段 修饰符和类型 字段 说明 static LockModeLoadEvent. DEFAULT_LOCK_MODEstatic LockModeResolveNaturalIdEvent. DEFAULT_LOCK_MODE返回LockMode的org.hibernate.event.spi中的方法 修饰符和类型 方法 说明 LockModeLoadEvent. getLockMode()LockModeLockEvent. getLockMode()LockModeRefreshEvent. getLockMode()参数类型为LockMode的org.hibernate.event.spi中的方法 修饰符和类型 方法 说明 voidLoadEvent. setLockMode(LockMode lockMode)voidLockEvent. setLockMode(LockMode lockMode)参数类型为LockMode的org.hibernate.event.spi中的构造器 构造器 说明 LoadEvent(Serializable 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) -
org.hibernate.hql.internal.classic中LockMode的使用
返回LockMode的org.hibernate.hql.internal.classic中的方法 修饰符和类型 方法 说明 protected LockMode[]QueryTranslatorImpl. getLockModes(LockOptions lockOptions) -
org.hibernate.internal中LockMode的使用
返回LockMode的org.hibernate.internal中的方法 修饰符和类型 方法 说明 LockModeSessionImpl. getCurrentLockMode(Object object)LockModeCriteriaImpl.Subcriteria. getLockMode()返回变量类型为LockMode的类型的org.hibernate.internal中的方法 修饰符和类型 方法 说明 Map<String,LockMode>CriteriaImpl. getLockModes()参数类型为LockMode的org.hibernate.internal中的方法 修饰符和类型 方法 说明 voidCoreMessageLogger. aliasSpecificLockingWithFollowOnLocking(LockMode lockMode)<T> TSessionImpl. get(Class<T> entityClass, Serializable id, LockMode lockMode)ObjectSessionImpl. get(String entityName, Serializable id, LockMode lockMode)ObjectStatelessSessionImpl. get(Class entityClass, Serializable id, LockMode lockMode)ObjectStatelessSessionImpl. get(String entityName, Serializable id, LockMode lockMode)<T> TSessionImpl. load(Class<T> entityClass, Serializable id, LockMode lockMode)ObjectSessionImpl. load(String entityName, Serializable id, LockMode lockMode)voidSessionImpl. lock(Object object, LockMode lockMode)voidSessionImpl. lock(String entityName, Object object, LockMode lockMode)voidSessionImpl. refresh(Object object, LockMode lockMode)voidStatelessSessionImpl. refresh(Object entity, LockMode lockMode)voidStatelessSessionImpl. refresh(String entityName, Object entity, LockMode lockMode)CriteriaCriteriaImpl. setLockMode(String alias, LockMode lockMode)CriteriaCriteriaImpl. setLockMode(LockMode lockMode)CriteriaCriteriaImpl.Subcriteria. setLockMode(String alias, LockMode lockMode)CriteriaCriteriaImpl.Subcriteria. setLockMode(LockMode lockMode) -
org.hibernate.internal.util中LockMode的使用
返回LockMode的org.hibernate.internal.util中的方法 修饰符和类型 方法 说明 static LockModeLockModeConverter. convertToLockMode(javax.persistence.LockModeType lockMode)Convert from JPA defined LockModeType to Hibernate specific LockMode.参数类型为LockMode的org.hibernate.internal.util中的方法 修饰符和类型 方法 说明 static javax.persistence.LockModeTypeLockModeConverter. convertToLockModeType(LockMode lockMode)Convert from the Hibernate specific LockMode to the JPA defined LockModeType. -
org.hibernate.internal.util.collections中LockMode的使用
返回LockMode的org.hibernate.internal.util.collections中的方法 修饰符和类型 方法 说明 static LockMode[]ArrayHelper. fillArray(LockMode lockMode, int length)参数类型为LockMode的org.hibernate.internal.util.collections中的方法 修饰符和类型 方法 说明 static LockMode[]ArrayHelper. fillArray(LockMode lockMode, int length) -
org.hibernate.jpa.internal.util中LockMode的使用
返回LockMode的org.hibernate.jpa.internal.util中的方法 修饰符和类型 方法 说明 static LockModeLockModeTypeHelper. getLockMode(javax.persistence.LockModeType lockModeType)static LockModeLockModeTypeHelper. interpretLockMode(Object value)参数类型为LockMode的org.hibernate.jpa.internal.util中的方法 修饰符和类型 方法 说明 static javax.persistence.LockModeTypeLockModeTypeHelper. getLockModeType(LockMode lockMode) -
org.hibernate.loader中LockMode的使用
声明为LockMode的org.hibernate.loader中的字段 修饰符和类型 字段 说明 protected LockMode[]JoinWalker. lockModeArrayprotected LockMode[]OuterJoinLoader. lockModeArray返回LockMode的org.hibernate.loader中的方法 修饰符和类型 方法 说明 protected LockModeLoader. determineFollowOnLockMode(LockOptions lockOptions)LockMode[]JoinWalker. getLockModeArray()protected abstract LockMode[]Loader. getLockModes(LockOptions lockOptions)What lock options does this load entities with?protected LockMode[]OuterJoinLoader. getLockModes(LockOptions lockOptions)参数类型为LockMode的org.hibernate.loader中的方法 修饰符和类型 方法 说明 protected voidLoader. applyPostLoadLocks(Object[] row, LockMode[] lockModesArray, SharedSessionContractImplementor session)protected voidLoader. extractKeysFromResultSet(Loadable[] persisters, QueryParameters queryParameters, ResultSet resultSet, SharedSessionContractImplementor session, EntityKey[] keys, LockMode[] lockModes, List hydratedObjects)protected voidJoinWalker. initPersisters(List associations, LockMode lockMode) -
org.hibernate.loader.criteria中LockMode的使用
返回LockMode的org.hibernate.loader.criteria中的方法 修饰符和类型 方法 说明 protected LockModeCriteriaLoader. determineFollowOnLockMode(LockOptions lockOptions)protected LockMode[]CriteriaLoader. getLockModes(LockOptions lockOptions) -
org.hibernate.loader.custom中LockMode的使用
返回LockMode的org.hibernate.loader.custom中的方法 修饰符和类型 方法 说明 LockModeNonScalarReturn. getLockMode()protected LockMode[]CustomLoader. getLockModes(LockOptions lockOptions)参数类型为LockMode的org.hibernate.loader.custom中的构造器 构造器 说明 CollectionFetchReturn(String alias, NonScalarReturn owner, String ownerProperty, CollectionAliases collectionAliases, EntityAliases elementEntityAliases, LockMode lockMode)CollectionReturn(String alias, String ownerEntityName, String ownerProperty, CollectionAliases collectionAliases, EntityAliases elementEntityAliases, LockMode lockMode)EntityFetchReturn(String alias, EntityAliases entityAliases, NonScalarReturn owner, String ownerProperty, LockMode lockMode)FetchReturn(NonScalarReturn owner, String ownerProperty, String alias, LockMode lockMode)Creates a return descriptor for an association fetch.NonScalarReturn(String alias, LockMode lockMode)RootReturn(String alias, String entityName, EntityAliases entityAliases, LockMode lockMode) -
org.hibernate.loader.entity中LockMode的使用
参数类型为LockMode的org.hibernate.loader.entity中的方法 修饰符和类型 方法 说明 protected abstract UniqueEntityLoaderBatchingEntityLoaderBuilder. buildBatchingLoader(OuterJoinLoadable persister, int batchSize, LockMode lockMode, SessionFactoryImplementor factory, LoadQueryInfluencers influencers)protected UniqueEntityLoaderDynamicBatchingEntityLoaderBuilder. buildBatchingLoader(OuterJoinLoadable persister, int batchSize, LockMode lockMode, SessionFactoryImplementor factory, LoadQueryInfluencers influencers)protected UniqueEntityLoaderLegacyBatchingEntityLoaderBuilder. buildBatchingLoader(OuterJoinLoadable persister, int batchSize, LockMode lockMode, SessionFactoryImplementor factory, LoadQueryInfluencers influencers)UniqueEntityLoaderBatchingEntityLoaderBuilder. buildLoader(OuterJoinLoadable persister, int batchSize, LockMode lockMode, SessionFactoryImplementor factory, LoadQueryInfluencers influencers)Builds a batch-fetch capable loader based on the given persister, lock-mode, etc.protected UniqueEntityLoaderBatchingEntityLoaderBuilder. buildNonBatchingLoader(OuterJoinLoadable persister, LockMode lockMode, SessionFactoryImplementor factory, LoadQueryInfluencers influencers) -
org.hibernate.loader.entity.plan中LockMode的使用
参数类型为LockMode的org.hibernate.loader.entity.plan中的方法 修饰符和类型 方法 说明 protected UniqueEntityLoaderLegacyBatchingEntityLoaderBuilder. buildBatchingLoader(OuterJoinLoadable persister, int batchSize, LockMode lockMode, SessionFactoryImplementor factory, LoadQueryInfluencers influencers)protected UniqueEntityLoaderAbstractBatchingEntityLoaderBuilder. buildNonBatchingLoader(OuterJoinLoadable persister, LockMode lockMode, SessionFactoryImplementor factory, LoadQueryInfluencers influencers)EntityLoader.BuilderEntityLoader.Builder. withLockMode(LockMode lockMode)参数类型为LockMode的org.hibernate.loader.entity.plan中的构造器 构造器 说明 LegacyBatchingEntityLoader(OuterJoinLoadable persister, int maxBatchSize, LockMode lockMode, SessionFactoryImplementor factory, LoadQueryInfluencers loadQueryInfluencers)LegacyBatchingEntityLoader(OuterJoinLoadable persister, int maxBatchSize, LockMode lockMode, LockOptions lockOptions, SessionFactoryImplementor factory, LoadQueryInfluencers loadQueryInfluencers) -
org.hibernate.loader.hql中LockMode的使用
返回LockMode的org.hibernate.loader.hql中的方法 修饰符和类型 方法 说明 protected LockMode[]QueryLoader. getLockModes(LockOptions lockOptions)参数类型为LockMode的org.hibernate.loader.hql中的方法 修饰符和类型 方法 说明 protected voidQueryLoader. applyPostLoadLocks(Object[] row, LockMode[] lockModesArray, SharedSessionContractImplementor session) -
org.hibernate.loader.plan.build.internal中LockMode的使用
-
org.hibernate.loader.plan.exec.process.internal中LockMode的使用
返回LockMode的org.hibernate.loader.plan.exec.process.internal中的方法 修饰符和类型 方法 说明 LockModeResultSetProcessingContextImpl. resolveLockMode(EntityReference entityReference) -
org.hibernate.loader.plan.exec.process.spi中LockMode的使用
返回LockMode的org.hibernate.loader.plan.exec.process.spi中的方法 修饰符和类型 方法 说明 LockModeResultSetProcessingContext.EntityKeyResolutionContext. getLockMode() -
org.hibernate.loader.plan.exec.query.internal中LockMode的使用
返回LockMode的org.hibernate.loader.plan.exec.query.internal中的方法 修饰符和类型 方法 说明 LockModeQueryBuildingParametersImpl. getLockMode()参数类型为LockMode的org.hibernate.loader.plan.exec.query.internal中的方法 修饰符和类型 方法 说明 voidSelectStatementBuilder. setLockMode(LockMode lockMode)Sets the lock mode for the select statement.参数类型为LockMode的org.hibernate.loader.plan.exec.query.internal中的构造器 构造器 说明 QueryBuildingParametersImpl(LoadQueryInfluencers loadQueryInfluencers, int batchSize, LockMode lockMode, LockOptions lockOptions) -
org.hibernate.loader.plan.exec.query.spi中LockMode的使用
返回LockMode的org.hibernate.loader.plan.exec.query.spi中的方法 修饰符和类型 方法 说明 LockModeQueryBuildingParameters. getLockMode()Gets the lock mode. -
org.hibernate.loader.plan.exec.spi中LockMode的使用
返回LockMode的org.hibernate.loader.plan.exec.spi中的方法 修饰符和类型 方法 说明 LockModeLockModeResolver. resolveLockMode(EntityReference entityReference) -
org.hibernate.persister.entity中LockMode的使用
参数类型为LockMode的org.hibernate.persister.entity中的方法 修饰符和类型 方法 说明 protected UniqueEntityLoaderAbstractEntityPersister. createEntityLoader(LockMode lockMode)Used internally to create static loaders.protected UniqueEntityLoaderAbstractEntityPersister. createEntityLoader(LockMode lockMode, LoadQueryInfluencers loadQueryInfluencers)protected LockingStrategyAbstractEntityPersister. generateLocker(LockMode lockMode)protected StringUnionSubclassEntityPersister. generateSelectString(LockMode lockMode)Generate the SQL that selects a row by idprotected UniqueEntityLoaderAbstractEntityPersister. getLoaderByLockMode(LockMode lockMode)ObjectAbstractEntityPersister. load(Serializable id, Object optionalObject, LockMode lockMode, SharedSessionContractImplementor session)Load an instance using either the forUpdateLoader or the outer joining loader, depending upon the value of the lock parameterObjectEntityPersister. load(Serializable id, Object optionalObject, LockMode lockMode, SharedSessionContractImplementor session)Load an instance of the persistent class.default ObjectEntityPersister. load(Serializable id, Object optionalObject, LockMode lockMode, SharedSessionContractImplementor session, Boolean readOnly)voidAbstractEntityPersister. lock(Serializable id, Object version, Object object, LockMode lockMode, SharedSessionContractImplementor session)voidEntityPersister. lock(Serializable id, Object version, Object object, LockMode lockMode, SharedSessionContractImplementor session)Do a version check (optional operation) -
org.hibernate.query中LockMode的使用
参数类型为LockMode的org.hibernate.query中的方法 修饰符和类型 方法 说明 NativeQuery<T>NativeQuery. addEntity(String tableAlias, Class entityClass, LockMode lockMode)NativeQuery<T>NativeQuery. addEntity(String tableAlias, String entityName, LockMode lockMode)NativeQuery<T>NativeQuery. addJoin(String tableAlias, String path, LockMode lockMode)NativeQuery<T>NativeQuery. setLockMode(String alias, LockMode lockMode)Query<R>Query. setLockMode(String alias, LockMode lockMode) -
org.hibernate.query.criteria.internal.compile中LockMode的使用
参数类型为LockMode的org.hibernate.query.criteria.internal.compile中的方法 修饰符和类型 方法 说明 QueryImplementorCriteriaQueryTypeQueryAdapter. setLockMode(String alias, LockMode lockMode) -
org.hibernate.query.internal中LockMode的使用
参数类型为LockMode的org.hibernate.query.internal中的方法 修饰符和类型 方法 说明 NativeQueryImplementor<T>NativeQueryImpl. addEntity(String tableAlias, Class entityClass, LockMode lockMode)NativeQueryImplementor<T>NativeQueryImpl. addEntity(String tableAlias, String entityName, LockMode lockMode)NativeQueryImplementor<T>NativeQueryImpl. addJoin(String tableAlias, String path, LockMode lockMode)protected voidAbstractProducedQuery. applyAliasSpecificLockModeHint(String alias, LockMode lockMode)Apply the alias specific lock modes.protected booleanAbstractProducedQuery. applyHibernateLockModeHint(LockMode lockMode)QueryImplementorAbstractProducedQuery. setLockMode(String alias, LockMode lockMode)NativeQueryImplementor<T>NativeQueryImpl. setLockMode(String alias, LockMode lockMode)SQLQuery.FetchReturnNativeQueryReturnBuilderFetchImpl. setLockMode(LockMode lockMode)SQLQuery.RootReturnNativeQueryReturnBuilderRootImpl. setLockMode(LockMode lockMode) -
org.hibernate.query.spi中LockMode的使用
参数类型为LockMode的org.hibernate.query.spi中的方法 修饰符和类型 方法 说明 NativeQueryImplementor<T>NativeQueryImplementor. addEntity(String tableAlias, Class entityClass, LockMode lockMode)NativeQueryImplementor<T>NativeQueryImplementor. addEntity(String tableAlias, String entityName, LockMode lockMode)NativeQueryImplementor<T>NativeQueryImplementor. addJoin(String tableAlias, String path, LockMode lockMode)NativeQueryImplementor<T>NativeQueryImplementor. setLockMode(String alias, LockMode lockMode) -
org.hibernate.sql中LockMode的使用
返回LockMode的org.hibernate.sql中的方法 修饰符和类型 方法 说明 LockModeSelect. getLockMode()已过时。Instead use getLockOptions参数类型为LockMode的org.hibernate.sql中的方法 修饰符和类型 方法 说明 SelectSelect. setLockMode(LockMode lockMode)已过时。Instead use setLockOptionsSimpleSelectSimpleSelect. setLockMode(LockMode lockMode)
-