Package | Description |
---|---|
org.hibernate |
This package defines the central Hibernate APIs.
|
org.hibernate.boot.jaxb.hbm.internal |
JAXB details.
|
org.hibernate.boot.jaxb.hbm.spi | |
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.
|
Query |
Query.setFlushMode(FlushMode flushMode) |
Criteria |
Criteria.setFlushMode(FlushMode flushMode)
Override the flush mode for this particular query.
|
BasicQueryContract |
BasicQueryContract.setFlushMode(FlushMode flushMode)
(Re)set the current FlushMode in effect for this query.
|
Modifier and Type | Method and Description |
---|---|
static FlushMode |
FlushModeConverter.fromXml(String name) |
Modifier and Type | Method and Description |
---|---|
static String |
FlushModeConverter.toXml(FlushMode mode) |
Modifier and Type | Field and Description |
---|---|
protected FlushMode |
JaxbHbmNamedQueryType.flushMode |
protected FlushMode |
JaxbHbmNamedNativeQueryType.flushMode |
Modifier and Type | Method and Description |
---|---|
FlushMode |
JaxbHbmNamedQueryType.getFlushMode()
Gets the value of the flushMode property.
|
FlushMode |
JaxbHbmNamedNativeQueryType.getFlushMode()
Gets the value of the flushMode property.
|
FlushMode |
Adapter5.unmarshal(String value) |
Modifier and Type | Method and Description |
---|---|
String |
Adapter5.marshal(FlushMode value) |
void |
JaxbHbmNamedQueryType.setFlushMode(FlushMode value)
Sets the value of the flushMode property.
|
void |
JaxbHbmNamedNativeQueryType.setFlushMode(FlushMode value)
Sets the value of the flushMode property.
|
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 |
SessionImplementor.getFlushMode() |
FlushMode |
SessionDelegatorBaseImpl.getFlushMode() |
FlushMode |
NamedQueryDefinition.getFlushMode() |
Modifier and Type | Method and Description |
---|---|
void |
SessionImplementor.setFlushMode(FlushMode fm) |
void |
SessionDelegatorBaseImpl.setFlushMode(FlushMode fm) |
NamedSQLQueryDefinitionBuilder |
NamedSQLQueryDefinitionBuilder.setFlushMode(FlushMode flushMode) |
NamedQueryDefinitionBuilder |
NamedQueryDefinitionBuilder.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) |
AuditAssociationQuery<Q> |
AuditAssociationQuery.setFlushMode(FlushMode flushMode) |
Modifier and Type | Method and Description |
---|---|
AuditAssociationQueryImpl<Q> |
AuditAssociationQueryImpl.setFlushMode(FlushMode flushMode) |
AuditQuery |
AbstractAuditQuery.setFlushMode(FlushMode flushMode) |
Modifier and Type | Method and Description |
---|---|
FlushMode |
StatelessSessionImpl.getFlushMode() |
FlushMode |
SessionImpl.getFlushMode() |
FlushMode |
AbstractQueryImpl.getFlushMode() |
FlushMode |
AbstractBasicQueryContractImpl.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) |
BasicQueryContract |
AbstractBasicQueryContractImpl.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 © 2017 JBoss by Red Hat. All rights reserved.