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

Uses of Class org.hibernate.FlushMode (Hibernate API Documentation) - Hibernate 3.2.3 正式版 API 英文文档


Uses of Class
org.hibernate.FlushMode

Packages that use FlushMode
org.hibernate This package defines the central Hibernate APIs. 
org.hibernate.cfg This package defines APIs for configuring Hibernate, and classes for building the Hibernate configuration-time metamodel. 
org.hibernate.engine This package contains classes that are "shared" by other packages, and implementations of some key algorithms. 
org.hibernate.impl This package contains implementations of the central Hibernate APIs, especially the Hibernate session. 
 

Uses of FlushMode in org.hibernate
 

Fields in org.hibernate declared as FlushMode
static FlushMode FlushMode.NEVER
          Deprecated. use MANUAL instead.
static FlushMode FlushMode.MANUAL
          The Session is only ever flushed when Session.flush() is explicitly called by the application.
static FlushMode FlushMode.COMMIT
          The Session is flushed when Transaction.commit() is called.
static FlushMode FlushMode.AUTO
          The Session is sometimes flushed before query execution in order to ensure that queries never return stale state.
static FlushMode FlushMode.ALWAYS
          The Session is flushed before every query.
 

Methods in org.hibernate that return FlushMode
 FlushMode Session.getFlushMode()
          Get the current flush mode for this session.
static FlushMode FlushMode.parse(String name)
           
 

Methods in org.hibernate with parameters of type FlushMode
 void Session.setFlushMode(FlushMode flushMode)
          Set the flush mode for this session.
 Query Query.setFlushMode(FlushMode flushMode)
          Override the current session flush mode, just for this query.
 boolean FlushMode.lessThan(FlushMode other)
           
static boolean FlushMode.isManualFlushMode(FlushMode mode)
           
 Criteria Criteria.setFlushMode(FlushMode flushMode)
          Override the flush mode for this particular query.
 

Uses of FlushMode in org.hibernate.cfg
 

Methods in org.hibernate.cfg that return FlushMode
static FlushMode HbmBinder.getFlushMode(String flushMode)
           
 

Uses of FlushMode in org.hibernate.engine
 

Methods in org.hibernate.engine that return FlushMode
 FlushMode SessionImplementor.getFlushMode()
           
 FlushMode NamedQueryDefinition.getFlushMode()
           
 

Methods in org.hibernate.engine with parameters of type FlushMode
 void SessionImplementor.setFlushMode(FlushMode fm)
           
 

Constructors in org.hibernate.engine with parameters of type FlushMode
NamedSQLQueryDefinition(String query, NativeSQLQueryReturn[] queryReturns, List querySpaces, boolean cacheable, String cacheRegion, Integer timeout, Integer fetchSize, FlushMode flushMode, CacheMode cacheMode, boolean readOnly, String comment, Map parameterTypes, boolean callable)
          This form used to construct a NamedSQLQueryDefinition from the binder code when a the result-set mapping information is explicitly provided in the query definition (i.e., no resultset-mapping used)
NamedSQLQueryDefinition(String query, String resultSetRef, List querySpaces, boolean cacheable, String cacheRegion, Integer timeout, Integer fetchSize, FlushMode flushMode, CacheMode cacheMode, boolean readOnly, String comment, Map parameterTypes, boolean callable)
          This form used to construct a NamedSQLQueryDefinition from the binder code when a resultset-mapping reference is used.
NamedSQLQueryDefinition(String query, String resultSetRef, List querySpaces, boolean cacheable, String cacheRegion, Integer timeout, Integer fetchSize, FlushMode flushMode, Map parameterTypes, boolean callable)
          Deprecated.  
NamedQueryDefinition(String query, boolean cacheable, String cacheRegion, Integer timeout, Integer fetchSize, FlushMode flushMode, Map parameterTypes)
           
NamedQueryDefinition(String query, boolean cacheable, String cacheRegion, Integer timeout, Integer fetchSize, FlushMode flushMode, CacheMode cacheMode, boolean readOnly, String comment, Map parameterTypes)
           
 

Uses of FlushMode in org.hibernate.impl
 

Methods in org.hibernate.impl that return FlushMode
 FlushMode StatelessSessionImpl.getFlushMode()
           
 FlushMode SessionImpl.getFlushMode()
           
 

Methods in org.hibernate.impl with parameters of type FlushMode
 void StatelessSessionImpl.setFlushMode(FlushMode fm)
           
 void SessionImpl.setFlushMode(FlushMode flushMode)
           
 Criteria CriteriaImpl.setFlushMode(FlushMode flushMode)
           
 Criteria CriteriaImpl.Subcriteria.setFlushMode(FlushMode flushMode)
           
 Query AbstractQueryImpl.setFlushMode(FlushMode flushMode)
           
 

Constructors in org.hibernate.impl with parameters of type FlushMode
QueryImpl(String queryString, FlushMode flushMode, SessionImplementor session, ParameterMetadata parameterMetadata)
           
AbstractQueryImpl(String queryString, FlushMode flushMode, SessionImplementor session, ParameterMetadata parameterMetadata)