Package | Description |
---|---|
org.hibernate |
This package defines the central Hibernate APIs.
|
org.hibernate.internal |
An internal package containing mostly implementations of central Hibernate APIs.
|
org.hibernate.procedure | |
org.hibernate.procedure.internal |
Defines the internal support for implementing stored procedure calling.
|
Modifier and Type | Interface and Description |
---|---|
interface |
Query
An object-oriented representation of a Hibernate query.
|
interface |
SQLQuery
Represents a "native sql" query.
|
Modifier and Type | Method and Description |
---|---|
BasicQueryContract |
BasicQueryContract.setCacheable(boolean cacheable)
Enable/disable second level query (result) caching for this query.
|
BasicQueryContract |
BasicQueryContract.setCacheMode(CacheMode cacheMode)
(Re)set the current CacheMode in effect for this query.
|
BasicQueryContract |
BasicQueryContract.setCacheRegion(String cacheRegion)
Set the name of the cache region where query results should be cached (if cached at all).
|
BasicQueryContract |
BasicQueryContract.setFetchSize(int fetchSize)
Sets a JDBC fetch size hint for the query.
|
BasicQueryContract |
BasicQueryContract.setFlushMode(FlushMode flushMode)
(Re)set the current FlushMode in effect for this query.
|
BasicQueryContract |
BasicQueryContract.setReadOnly(boolean readOnly)
Set the read-only/modifiable mode for entities and proxies
loaded by this Query.
|
BasicQueryContract |
BasicQueryContract.setTimeout(int timeout)
Set the query timeout in seconds.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractBasicQueryContractImpl |
class |
AbstractQueryImpl
Abstract implementation of the Query interface.
|
class |
CollectionFilterImpl
implementation of the Query interface for collection filters
|
class |
QueryImpl
default implementation of the Query interface,
for "ordinary" HQL queries (not collection filters)
|
class |
SQLQueryImpl
Implementation of the
SQLQuery contract. |
Modifier and Type | Method and Description |
---|---|
BasicQueryContract |
AbstractBasicQueryContractImpl.setCacheable(boolean cacheable) |
BasicQueryContract |
AbstractBasicQueryContractImpl.setCacheMode(CacheMode cacheMode) |
BasicQueryContract |
AbstractBasicQueryContractImpl.setCacheRegion(String cacheRegion) |
BasicQueryContract |
AbstractBasicQueryContractImpl.setFetchSize(int fetchSize) |
BasicQueryContract |
AbstractBasicQueryContractImpl.setFlushMode(FlushMode flushMode) |
BasicQueryContract |
AbstractBasicQueryContractImpl.setReadOnly(boolean readOnly) |
BasicQueryContract |
AbstractBasicQueryContractImpl.setTimeout(int timeout) |
Modifier and Type | Interface and Description |
---|---|
interface |
ProcedureCall
Defines support for executing database stored procedures and functions
|
Modifier and Type | Class and Description |
---|---|
class |
ProcedureCallImpl
Standard implementation of
ProcedureCall |
Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.