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

Uses of Class net.sf.hibernate.LockMode (Hibernate API Documentation) - Hibernate 2.1.8 正式版 API 英文文档


Uses of Class
net.sf.hibernate.LockMode

Packages that use LockMode
net.sf.hibernate   
net.sf.hibernate.dialect   
net.sf.hibernate.engine   
net.sf.hibernate.hql   
net.sf.hibernate.impl   
net.sf.hibernate.jca   
net.sf.hibernate.loader   
net.sf.hibernate.persister   
 

Uses of LockMode in net.sf.hibernate
 

Fields in net.sf.hibernate declared as LockMode
static LockMode LockMode.NONE
          No lock required.
static LockMode LockMode.READ
          A shared lock.
static LockMode LockMode.UPGRADE
          An upgrade lock.
static LockMode LockMode.UPGRADE_NOWAIT
          Attempt to obtain an upgrade lock, using an Oracle-style select for update nowait.
static LockMode LockMode.WRITE
          A WRITE lock is obtained when an object is updated or inserted.
 

Methods in net.sf.hibernate that return LockMode
 LockMode Session.getCurrentLockMode(Object object)
          Determine the current lock mode of the given object.
 

Methods in net.sf.hibernate with parameters of type LockMode
 Object Session.load(Class 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.
 void Session.lock(Object object, LockMode lockMode)
          Obtain the specified lock level upon the given object.
 void Session.refresh(Object object, LockMode lockMode)
          Re-read the state of the given instance from the underlying database, with the given LockMode.
 Object Session.get(Class clazz, 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.
 void Query.setLockMode(String alias, LockMode lockMode)
          Set the lockmode for the objects idententified by the given alias that appears in the FROM clause.
 boolean LockMode.greaterThan(LockMode mode)
          Check if this lock mode is more restrictive than the given lock mode.
 boolean LockMode.lessThan(LockMode mode)
          Check if this lock mode is less restrictive than the given lock mode.
 Criteria Criteria.setLockMode(LockMode lockMode)
          Set the lock mode of the current entity
 Criteria Criteria.setLockMode(String alias, LockMode lockMode)
          Set the lock mode of the aliased entity
 

Uses of LockMode in net.sf.hibernate.dialect
 

Methods in net.sf.hibernate.dialect with parameters of type LockMode
 String SybaseDialect.appendLockHint(LockMode mode, String tableName)
           
 

Uses of LockMode in net.sf.hibernate.engine
 

Methods in net.sf.hibernate.engine that return LockMode
 LockMode SessionImplementor.getLockMode(Object object)
          Get the lock mode of the entity
 

Methods in net.sf.hibernate.engine with parameters of type LockMode
 void SessionImplementor.addUninitializedEntity(Key key, Object object, LockMode lockMode)
          Add an uninitialized instance of an entity class, as a placeholder to ensure object identity.
 void SessionImplementor.postHydrate(ClassPersister persister, Serializable id, Object[] values, Object object, LockMode lockMode)
          Register the "hydrated" state of an entity instance, after the first step of 2-phase loading
 void SessionImplementor.setLockMode(Object entity, LockMode lockMode)
          Set the lock mode of the entity to the given lock mode
 

Uses of LockMode in net.sf.hibernate.hql
 

Methods in net.sf.hibernate.hql that return LockMode
protected  LockMode[] QueryTranslator.getLockModes(Map lockModes)
           
 

Uses of LockMode in net.sf.hibernate.impl
 

Methods in net.sf.hibernate.impl that return LockMode
 LockMode SessionImpl.getCurrentLockMode(Object object)
           
 LockMode SessionImpl.getLockMode(Object object)
           
 

Methods in net.sf.hibernate.impl with parameters of type LockMode
 void SessionImpl.setLockMode(Object entity, LockMode lockMode)
           
 void SessionImpl.lock(Object object, LockMode lockMode)
           
 void SessionImpl.addUninitializedEntity(Key key, Object object, LockMode lockMode)
          Create a "temporary" entry for a newly instantiated entity.
 void SessionImpl.postHydrate(ClassPersister persister, Serializable id, Object[] values, Object object, LockMode lockMode)
          Add the "hydrated state" (an array) of an uninitialized entity to the session.
 Object SessionImpl.load(Class clazz, Serializable id, LockMode lockMode)
           
 Object SessionImpl.get(Class clazz, Serializable id, LockMode lockMode)
           
 void SessionImpl.refresh(Object obj, LockMode lockMode)
           
 Criteria CriteriaImpl.setLockMode(LockMode lockMode)
           
 Criteria CriteriaImpl.setLockMode(String alias, LockMode lockMode)
           
 Criteria CriteriaImpl.Subcriteria.setLockMode(LockMode lockMode)
           
 Criteria CriteriaImpl.Subcriteria.setLockMode(String alias, LockMode lockMode)
           
 void AbstractQueryImpl.setLockMode(String alias, LockMode lockMode)
           
 

Uses of LockMode in net.sf.hibernate.jca
 

Methods in net.sf.hibernate.jca that return LockMode
 LockMode JCASessionImpl.getCurrentLockMode(Object object)
           
 

Methods in net.sf.hibernate.jca with parameters of type LockMode
 Object JCASessionImpl.load(Class theClass, Serializable id, LockMode lockMode)
           
 void JCASessionImpl.lock(Object object, LockMode lockMode)
           
 void JCASessionImpl.refresh(Object object, LockMode lockMode)
           
 Object JCASessionImpl.get(Class clazz, Serializable id, LockMode lockMode)
           
 

Uses of LockMode in net.sf.hibernate.loader
 

Fields in net.sf.hibernate.loader declared as LockMode
protected  LockMode[] OuterJoinLoader.lockModeArray
           
 

Methods in net.sf.hibernate.loader that return LockMode
protected  LockMode[] SimpleEntityLoader.getLockModes(Map lockModes)
           
protected  LockMode[] OuterJoinLoader.getLockModes(Map lockModes)
           
protected  LockMode[] OuterJoinLoader.createLockModeArray(int length, LockMode lockMode)
           
protected abstract  LockMode[] Loader.getLockModes(Map lockModes)
          What lock mode does this load entities with?
protected  LockMode[] CriteriaLoader.getLockModes(Map lockModes)
           
 

Methods in net.sf.hibernate.loader with parameters of type LockMode
protected  LockMode[] OuterJoinLoader.createLockModeArray(int length, LockMode lockMode)
           
 

Constructors in net.sf.hibernate.loader with parameters of type LockMode
SimpleEntityLoader(Loadable persister, String sql, LockMode lockMode)
           
 

Uses of LockMode in net.sf.hibernate.persister
 

Methods in net.sf.hibernate.persister with parameters of type LockMode
 Object NormalizedEntityPersister.load(Serializable id, Object optionalObject, LockMode lockMode, SessionImplementor session)
          Load an instance using either the forUpdateLoader or the outer joining loader, depending upon the value of the lock parameter
 Object EntityPersister.load(Serializable id, Object optionalObject, LockMode lockMode, SessionImplementor session)
          Load an instance using either the forUpdateLoader or the outer joining loader, depending upon the value of the lock parameter
 Object ClassPersister.load(Serializable id, Object optionalObject, LockMode lockMode, SessionImplementor session)
          Load an instance of the persistent class.
 void ClassPersister.lock(Serializable id, Object version, Object object, LockMode lockMode, SessionImplementor session)
          Do a version check (optional operation)
 void AbstractEntityPersister.lock(Serializable id, Object version, Object object, LockMode lockMode, SessionImplementor session)
          Do a version check