Package | Description |
---|---|
org.hibernate |
<p>
This package defines the central Hibernate APIs.
|
org.hibernate.procedure.spi | |
org.hibernate.query | |
org.hibernate.query.spi |
Modifier and Type | Interface and Description |
---|---|
interface |
Query<R>
Deprecated.
(since 5.2) use
Query instead |
interface |
SQLQuery<T>
Deprecated.
(since 5.2) use
NativeQuery instead. |
Modifier and Type | Method and Description |
---|---|
CommonQueryContract |
BasicQueryContract.setCacheable(boolean cacheable)
Deprecated.
Enable/disable second level query (result) caching for this query.
|
CommonQueryContract |
BasicQueryContract.setCacheMode(CacheMode cacheMode)
Deprecated.
(Re)set the current CacheMode in effect for this query.
|
CommonQueryContract |
BasicQueryContract.setCacheRegion(String cacheRegion)
Deprecated.
Set the name of the cache region where query results should be cached (if cached at all).
|
CommonQueryContract |
BasicQueryContract.setFetchSize(int fetchSize)
Deprecated.
Sets a JDBC fetch size hint for the query.
|
default CommonQueryContract |
BasicQueryContract.setFlushMode(FlushMode flushMode)
Deprecated.
(since 5.2) use
BasicQueryContract.setHibernateFlushMode(org.hibernate.FlushMode) instead |
CommonQueryContract |
BasicQueryContract.setHibernateFlushMode(FlushMode flushMode)
Deprecated.
(Re)set the current FlushMode in effect for this query.
|
CommonQueryContract |
BasicQueryContract.setReadOnly(boolean readOnly)
Deprecated.
Set the read-only/modifiable mode for entities and proxies
loaded by this Query.
|
CommonQueryContract |
BasicQueryContract.setTimeout(int timeout)
Deprecated.
Set the query timeout <b>in seconds</b>.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ProcedureCallImplementor<R> |
Modifier and Type | Interface and Description |
---|---|
interface |
NativeQuery<T> |
Modifier and Type | Interface and Description |
---|---|
interface |
NativeQueryImplementor<T> |
interface |
QueryImplementor<R> |
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.