Package | Description |
---|---|
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.spi | |
org.hibernate.envers.entities.mapper.relation.lazy | |
org.hibernate.envers.query | |
org.hibernate.envers.query.impl | |
org.hibernate.internal |
An internal package containing mostly implementations of central Hibernate APIs.
|
Modifier and Type | Method and Description |
---|---|
FlushMode |
Session.getFlushMode()
Get the current flush mode for this session.
|
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) |
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.
|
Modifier and Type | Method and Description |
---|---|
static FlushMode |
HbmBinder.getFlushMode(String flushMode) |
Modifier and Type | Method and Description |
---|---|
protected void |
QueryImpl.applyFlushMode(FlushMode flushMode) |
protected abstract void |
AbstractQueryImpl.applyFlushMode(FlushMode flushMode) |
Modifier and Type | Method and Description |
---|---|
static FlushMode |
ConfigurationHelper.getFlushMode(Object value) |
Modifier and Type | Method and Description |
---|---|
FlushMode |
SessionImplementor.getFlushMode() |
FlushMode |
NamedQueryDefinition.getFlushMode() |
Modifier and Type | Method and Description |
---|---|
void |
SessionImplementor.setFlushMode(FlushMode fm) |
Constructor and Description |
---|
NamedQueryDefinition(String query,
boolean cacheable,
String cacheRegion,
Integer timeout,
Integer fetchSize,
FlushMode flushMode,
Map parameterTypes) |
NamedQueryDefinition(String name,
String query,
boolean cacheable,
String cacheRegion,
Integer timeout,
Integer fetchSize,
FlushMode flushMode,
CacheMode cacheMode,
boolean readOnly,
String comment,
Map parameterTypes) |
NamedSQLQueryDefinition(String query,
String resultSetRef,
List<String> querySpaces,
boolean cacheable,
String cacheRegion,
Integer timeout,
Integer fetchSize,
FlushMode flushMode,
Map parameterTypes,
boolean callable)
Deprecated.
|
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)
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 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)
This form used to construct a NamedSQLQueryDefinition from the binder
code when a resultset-mapping reference is used.
|
Modifier and Type | Method and Description |
---|---|
FlushMode |
AbstractDelegateSessionImplementor.getFlushMode() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractDelegateSessionImplementor.setFlushMode(FlushMode fm) |
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 |
StatelessSessionImpl.getFlushMode() |
FlushMode |
SessionImpl.getFlushMode() |
Modifier and Type | Method and Description |
---|---|
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) |
Constructor and Description |
---|
AbstractQueryImpl(String queryString,
FlushMode flushMode,
SessionImplementor session,
ParameterMetadata parameterMetadata) |
QueryImpl(String queryString,
FlushMode flushMode,
SessionImplementor session,
ParameterMetadata parameterMetadata) |
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.