Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## 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.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.engine

Methods in org.hibernate.engine that return FlushMode
`FlushMode` | `NamedQueryDefinition.getFlushMode()`
`FlushMode` | `SessionImplementor.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 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.

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
`Criteria` | `CriteriaImpl.setFlushMode(FlushMode flushMode)`
`Criteria` | `CriteriaImpl.Subcriteria.setFlushMode(FlushMode flushMode)`
`void` | `StatelessSessionImpl.setFlushMode(FlushMode fm)`
`void` | `SessionImpl.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)`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES