接口的使用
org.hibernate.dialect.lock.LockingStrategy
-
使用LockingStrategy的程序包 程序包 说明 org.hibernate.dialect This package abstracts the SQL dialect of the underlying database.org.hibernate.dialect.lock Support for Dialect-specific locking strategiesorg.hibernate.persister.entity This package abstracts persistence mechanisms for entities, and defines the Hibernate runtime metamodel. -
-
org.hibernate.dialect中LockingStrategy的使用
返回LockingStrategy的org.hibernate.dialect中的方法 修饰符和类型 方法 说明 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中LockingStrategy的使用
实现LockingStrategy的org.hibernate.dialect.lock中的类 修饰符和类型 类 说明 classAbstractSelectLockingStrategyBaseLockingStrategyimplementation to support implementations based on issuing SQL SELECT statementsclassOptimisticForceIncrementLockingStrategyAn optimistic locking strategy that forces an increment of the version (after verifying that version hasn't changed).classOptimisticLockingStrategyAn optimistic locking strategy that verifies that the version hasn't changed (prior to transaction commit).classPessimisticForceIncrementLockingStrategyA pessimistic locking strategy that increments the version immediately (obtaining an exclusive write lock).classPessimisticReadSelectLockingStrategyA pessimistic locking strategy where the locks are obtained through select statements.classPessimisticReadUpdateLockingStrategyA pessimistic locking strategy where the locks are obtained through update statements.classPessimisticWriteSelectLockingStrategyA pessimistic locking strategy where the locks are obtained through select statements.classPessimisticWriteUpdateLockingStrategyA pessimistic locking strategy where the locks are obtained through update statements.classSelectLockingStrategyA locking strategy where the locks are obtained through select statements.classUpdateLockingStrategyA locking strategy where the locks are obtained through update statements. -
org.hibernate.persister.entity中LockingStrategy的使用
返回LockingStrategy的org.hibernate.persister.entity中的方法 修饰符和类型 方法 说明 protected LockingStrategyAbstractEntityPersister. generateLocker(LockMode lockMode)
-