| Package | Description | 
|---|---|
| org.hibernate | 
 
        This package defines the central Hibernate APIs. 
 | 
| org.hibernate.cfg.annotations | |
| org.hibernate.engine.spi | |
| org.hibernate.envers.query | |
| org.hibernate.envers.query.internal.impl | |
| org.hibernate.internal | 
 
    An internal package containing mostly implementations of central Hibernate APIs. 
 | 
| org.hibernate.jpa.internal | |
| org.hibernate.jpa.internal.util | |
| org.hibernate.jpa.spi | 
| Modifier and Type | Method and Description | 
|---|---|
FlushMode | 
Session.getFlushMode()
Get the current flush mode for this session. 
 | 
FlushMode | 
BasicQueryContract.getFlushMode()
Obtain the FlushMode in effect for this query. 
 | 
static FlushMode | 
FlushMode.interpretExternalSetting(String externalName)
Interprets an external representation of the flush mode. 
 | 
static FlushMode | 
FlushMode.valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static FlushMode[] | 
FlushMode.values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static boolean | 
FlushMode.isManualFlushMode(FlushMode mode)
Deprecated. 
 
Just use equality check against  
MANUAL.  Legacy from before this was an enum | 
boolean | 
FlushMode.lessThan(FlushMode other)
Checks to see if  
this flush mode is less than the given flush mode. | 
void | 
Session.setFlushMode(FlushMode flushMode)
Set the flush mode for this session. 
 | 
BasicQueryContract | 
BasicQueryContract.setFlushMode(FlushMode flushMode)
(Re)set the current FlushMode in effect for this query. 
 | 
Query | 
Query.setFlushMode(FlushMode flushMode)  | 
Criteria | 
Criteria.setFlushMode(FlushMode flushMode)
Override the flush mode for this particular query. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
FlushMode | 
QueryHintDefinition.getFlushMode(String query)  | 
| Modifier and Type | Field and Description | 
|---|---|
protected FlushMode | 
NamedQueryDefinitionBuilder.flushMode  | 
| Modifier and Type | Method and Description | 
|---|---|
FlushMode | 
SessionDelegatorBaseImpl.getFlushMode()  | 
FlushMode | 
SessionImplementor.getFlushMode()  | 
FlushMode | 
NamedQueryDefinition.getFlushMode()  | 
| Modifier and Type | Method and Description | 
|---|---|
NamedQueryDefinitionBuilder | 
NamedQueryDefinitionBuilder.setFlushMode(FlushMode flushMode)  | 
void | 
SessionDelegatorBaseImpl.setFlushMode(FlushMode fm)  | 
void | 
SessionImplementor.setFlushMode(FlushMode fm)  | 
NamedSQLQueryDefinitionBuilder | 
NamedSQLQueryDefinitionBuilder.setFlushMode(FlushMode flushMode)  | 
| Constructor and Description | 
|---|
NamedQueryDefinition(String name,
                    String query,
                    boolean cacheable,
                    String cacheRegion,
                    Integer timeout,
                    Integer fetchSize,
                    FlushMode flushMode,
                    CacheMode cacheMode,
                    boolean readOnly,
                    String comment,
                    Map parameterTypes)
Deprecated. 
 
Use  
NamedQueryDefinitionBuilder instead. | 
NamedQueryDefinition(String name,
                    String query,
                    boolean cacheable,
                    String cacheRegion,
                    Integer timeout,
                    Integer lockTimeout,
                    Integer fetchSize,
                    FlushMode flushMode,
                    CacheMode cacheMode,
                    boolean readOnly,
                    String comment,
                    Map parameterTypes)
Deprecated. 
 
Use  
NamedQueryDefinitionBuilder instead. | 
NamedSQLQueryDefinition(String name,
                       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)
Deprecated. 
 
Use  
NamedSQLQueryDefinitionBuilder instead. | 
NamedSQLQueryDefinition(String name,
                       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)
Deprecated. 
 
Use  
NamedSQLQueryDefinitionBuilder instead. | 
| Modifier and Type | Method and Description | 
|---|---|
AuditQuery | 
AuditQuery.setFlushMode(FlushMode flushMode)  | 
| Modifier and Type | Method and Description | 
|---|---|
AuditQuery | 
AbstractAuditQuery.setFlushMode(FlushMode flushMode)  | 
| Modifier and Type | Method and Description | 
|---|---|
FlushMode | 
SessionImpl.getFlushMode()  | 
FlushMode | 
AbstractBasicQueryContractImpl.getFlushMode()  | 
FlushMode | 
AbstractQueryImpl.getFlushMode()  | 
FlushMode | 
StatelessSessionImpl.getFlushMode()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
SessionImpl.setFlushMode(FlushMode flushMode)  | 
BasicQueryContract | 
AbstractBasicQueryContractImpl.setFlushMode(FlushMode flushMode)  | 
Query | 
AbstractQueryImpl.setFlushMode(FlushMode flushMode)  | 
void | 
StatelessSessionImpl.setFlushMode(FlushMode fm)  | 
Criteria | 
CriteriaImpl.setFlushMode(FlushMode flushMode)  | 
Criteria | 
CriteriaImpl.Subcriteria.setFlushMode(FlushMode flushMode)  | 
| Constructor and Description | 
|---|
AbstractQueryImpl(String queryString,
                 FlushMode flushMode,
                 SessionImplementor session,
                 ParameterMetadata parameterMetadata)  | 
QueryImpl(String queryString,
         FlushMode flushMode,
         SessionImplementor session,
         ParameterMetadata parameterMetadata)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected boolean | 
StoredProcedureQueryImpl.applyFlushModeHint(FlushMode flushMode)  | 
protected boolean | 
QueryImpl.applyFlushModeHint(FlushMode flushMode)  | 
| Modifier and Type | Method and Description | 
|---|---|
static FlushMode | 
ConfigurationHelper.getFlushMode(Object value)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected abstract boolean | 
BaseQueryImpl.applyFlushModeHint(FlushMode flushMode)
Apply the FlushMode hint. 
 | 
Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.