## 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.ejb
org.hibernate.ejb.util
org.hibernate.engine: This package contains classes that are "shared" by other packages, and implementations of some key algorithms.
org.hibernate.envers.entities.mapper.relation.lazy
org.hibernate.envers.query
org.hibernate.envers.query.impl
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.ALWAYS` The `Session` is flushed before every query.
`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.COMMIT` The `Session` is flushed when `Transaction.commit()` is called.
`static FlushMode` `FlushMode.MANUAL` The `Session` is only ever flushed when `Session.flush()` is explicitly called by the application.
`static FlushMode` `FlushMode.NEVER` Deprecated. use `MANUAL` instead.

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
`static boolean` `FlushMode.isManualFlushMode(FlushMode mode)`
`boolean` `FlushMode.lessThan(FlushMode other)`
`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.
`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.ejb

Methods in org.hibernate.ejb with parameters of type FlushMode
`protected void` `QueryImpl.applyFlushMode(FlushMode flushMode)`
`protected abstract void` `AbstractQueryImpl.applyFlushMode(FlushMode flushMode)`

Uses of FlushMode in org.hibernate.ejb.util

Methods in org.hibernate.ejb.util that return FlushMode
`static FlushMode` `ConfigurationHelper.getFlushMode(Object value)`

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
`NamedQueryDefinition(String query, boolean cacheable, String cacheRegion, Integer timeout, Integer fetchSize, FlushMode flushMode, CacheMode cacheMode, boolean readOnly, String comment, Map parameterTypes)`
`NamedQueryDefinition(String query, boolean cacheable, String cacheRegion, Integer timeout, Integer fetchSize, FlushMode flushMode, Map parameterTypes)`

`NamedSQLQueryDefinition(String query, NativeSQLQueryReturn[] queryReturns, List<String> 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<String> 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<String> querySpaces, boolean cacheable, String cacheRegion, Integer timeout, Integer fetchSize, FlushMode flushMode, Map parameterTypes, boolean callable)` Deprecated.

Uses of FlushMode in org.hibernate.envers.entities.mapper.relation.lazy

Methods in org.hibernate.envers.entities.mapper.relation.lazy that return FlushMode
`FlushMode` `AbstractDelegateSessionImplementor.getFlushMode()`

Methods in org.hibernate.envers.entities.mapper.relation.lazy with parameters of type FlushMode
`void` `AbstractDelegateSessionImplementor.setFlushMode(FlushMode fm)`

Uses of FlushMode in org.hibernate.envers.query

Methods in org.hibernate.envers.query with parameters of type FlushMode
`AuditQuery` `AuditQuery.setFlushMode(FlushMode flushMode)`

Uses of FlushMode in org.hibernate.envers.query.impl

Methods in org.hibernate.envers.query.impl with parameters of type FlushMode
`AuditQuery` `AbstractAuditQuery.setFlushMode(FlushMode flushMode)`

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
`AbstractQueryImpl(String queryString, FlushMode flushMode, SessionImplementor session, ParameterMetadata parameterMetadata)`
`QueryImpl(String queryString, FlushMode flushMode, SessionImplementor session, ParameterMetadata parameterMetadata)`

Copyright © 2001-2010 Red Hat, Inc. All Rights Reserved.