站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Hibernate 3.2.4 正式版 API 英文文档

HSQLDialect.ReadUncommittedLockingStrategy (Hibernate API Documentation) - Hibernate 3.2.4 正式版 API 英文文档


org.hibernate.dialect
Class HSQLDialect.ReadUncommittedLockingStrategy

java.lang.Object
  extended byorg.hibernate.dialect.lock.SelectLockingStrategy
      extended byorg.hibernate.dialect.HSQLDialect.ReadUncommittedLockingStrategy
All Implemented Interfaces:
LockingStrategy
Enclosing class:
HSQLDialect

public static class HSQLDialect.ReadUncommittedLockingStrategy
extends SelectLockingStrategy


Constructor Summary
HSQLDialect.ReadUncommittedLockingStrategy(Lockable lockable, LockMode lockMode)
           
 
Method Summary
 void lock(Serializable id, Object version, Object object, SessionImplementor session)
          Acquire an appropriate type of lock on the underlying data that will endure until the end of the current transaction.
 
Methods inherited from class org.hibernate.dialect.lock.SelectLockingStrategy
generateLockString, getLockMode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HSQLDialect.ReadUncommittedLockingStrategy

public HSQLDialect.ReadUncommittedLockingStrategy(Lockable lockable,
                                                  LockMode lockMode)
Method Detail

lock

public void lock(Serializable id,
                 Object version,
                 Object object,
                 SessionImplementor session)
          throws StaleObjectStateException,
                 JDBCException
Description copied from interface: LockingStrategy
Acquire an appropriate type of lock on the underlying data that will endure until the end of the current transaction.

Specified by:
lock in interface LockingStrategy
Overrides:
lock in class SelectLockingStrategy
Throws:
StaleObjectStateException
JDBCException
See Also:
LockingStrategy.lock(java.io.Serializable, java.lang.Object, java.lang.Object, org.hibernate.engine.SessionImplementor)