Package | Description |
---|---|
org.hibernate |
This package defines the central Hibernate APIs.
|
org.hibernate.engine.spi | |
org.hibernate.internal |
An internal package containing mostly implementations of central Hibernate APIs.
|
org.hibernate.jpa | |
org.hibernate.jpa.spi | |
org.hibernate.procedure.internal |
Defines the internal support for implementing stored procedure calling.
|
org.hibernate.procedure.spi | |
org.hibernate.query | |
org.hibernate.query.criteria.internal.compile | |
org.hibernate.query.internal | |
org.hibernate.query.spi | |
org.hibernate.search | |
org.hibernate.search.query.hibernate.impl |
Modifier and Type | Interface and Description |
---|---|
interface |
SQLQuery<T>
Deprecated.
(since 5.2) use
NativeQuery instead. |
Modifier and Type | Method and Description |
---|---|
Query<R> |
Query.addQueryHint(String hint)
Deprecated.
Add a DB query hint to the SQL.
|
Query |
Session.createFilter(Object collection,
String queryString)
Deprecated.
(since 5.3) with no real replacement.
|
default Query<R> |
Query.setBigDecimal(int position,
BigDecimal val)
Deprecated.
(since 5.2) use
setParameter(int, Object) or setParameter(int, Object, Type)
instead |
default Query<R> |
Query.setBigDecimal(String name,
BigDecimal val)
Deprecated.
(since 5.2) use
setParameter(int, Object) or setParameter(int, Object, Type)
instead |
default Query<R> |
Query.setBigInteger(int position,
BigInteger val)
Deprecated.
(since 5.2) use
setParameter(int, Object) or setParameter(int, Object, Type)
instead |
default Query<R> |
Query.setBigInteger(String name,
BigInteger val)
Deprecated.
(since 5.2) use
setParameter(int, Object) or setParameter(int, Object, Type)
instead |
default Query<R> |
Query.setBinary(int position,
byte[] val)
Deprecated.
(since 5.2) use
setParameter(int, Object) or setParameter(int, Object, Type)
instead |
default Query<R> |
Query.setBinary(String name,
byte[] val)
Deprecated.
(since 5.2) use
setParameter(int, Object) or setParameter(int, Object, Type)
instead |
default Query<R> |
Query.setBoolean(int position,
boolean val)
Deprecated.
(since 5.2) use
setParameter(int, Object) or setParameter(int, Object, Type)
instead |
default Query<R> |
Query.setBoolean(String name,
boolean val)
Deprecated.
(since 5.2) use
setParameter(int, Object) or setParameter(int, Object, Type)
instead |
default Query<R> |
Query.setByte(int position,
byte val)
Deprecated.
(since 5.2) use
setParameter(int, Object) or setParameter(int, Object, Type)
instead |
default Query<R> |
Query.setByte(String name,
byte val)
Deprecated.
(since 5.2) use
setParameter(int, Object) or setParameter(int, Object, Type)
instead |
Query<R> |
Query.setCacheable(boolean cacheable)
Deprecated.
Enable/disable second level query (result) caching for this query.
|
Query<R> |
Query.setCacheMode(CacheMode cacheMode)
Deprecated.
(Re)set the current CacheMode in effect for this query.
|
Query<R> |
Query.setCacheRegion(String cacheRegion)
Deprecated.
Set the name of the cache region where query results should be cached (if cached at all).
|
default Query<R> |
Query.setCalendar(int position,
Calendar val)
Deprecated.
(since 5.2) use
setParameter(int, Object) or setParameter(int, Object, Type)
instead |
default Query<R> |
Query.setCalendar(String name,
Calendar value)
Deprecated.
(since 5.2) use
setParameter(int, Object) or setParameter(int, Object, Type)
instead |
default Query<R> |
Query.setCalendarDate(int position,
Calendar val)
Deprecated.
(since 5.2) use
setParameter(int, Object) or setParameter(int, Object, Type)
instead |
default Query<R> |
Query.setCalendarDate(String name,
Calendar value)
Deprecated.
(since 5.2) use
setParameter(int, Object) or setParameter(int, Object, Type)
instead |
default Query<R> |
Query.setCharacter(int position,
char val)
Deprecated.
(since 5.2) use
setParameter(int, Object) or setParameter(int, Object, Type)
instead |
default Query<R> |
Query.setCharacter(String name,
char val)
Deprecated.
(since 5.2) use
setParameter(int, Object) or setParameter(int, Object, Type)
instead |
Query<R> |
Query.setComment(String comment)
Deprecated.
Set the comment for this query.
|
default Query<R> |
Query.setDate(int position,
Date val)
Deprecated.
(since 5.2) use
setParameter(int, Object) or setParameter(int, Object, Type)
instead |
default Query<R> |
Query.setDate(String name,
Date val)
Deprecated.
(since 5.2) use
setParameter(int, Object) or setParameter(int, Object, Type)
instead |
default Query<R> |
Query.setDouble(int position,
double val)
Deprecated.
(since 5.2) use
setParameter(int, Object) or setParameter(int, Object, Type)
instead |
default Query<R> |
Query.setDouble(String name,
double val)
Deprecated.
(since 5.2) use
setParameter(int, Object) or setParameter(int, Object, Type)
instead |
Query<R> |
Query.setEntity(int position,
Object val)
Deprecated.
(since 5.2) use
setParameter(int, Object) or setParameter(int, Object, Type)
instead |
Query<R> |
Query.setEntity(String name,
Object val)
Deprecated.
(since 5.2) use
setParameter(int, Object) or setParameter(int, Object, Type)
instead |
Query<R> |
Query.setFetchSize(int fetchSize)
Deprecated.
Sets a JDBC fetch size hint for the query.
|
Query<R> |
Query.setFirstResult(int startPosition)
Deprecated.
|
default Query<R> |
Query.setFloat(int position,
float val)
Deprecated.
(since 5.2) use
setParameter(int, Object) or setParameter(int, Object, Type)
instead |
default Query<R> |
Query.setFloat(String name,
float val)
Deprecated.
(since 5.2) use
setParameter(int, Object) or setParameter(int, Object, Type)
instead |
Query<R> |
Query.setFlushMode(FlushMode flushMode)
Deprecated.
(since 5.2) use
setHibernateFlushMode(org.hibernate.FlushMode) instead |
Query<R> |
Query.setFlushMode(FlushModeType flushMode)
Deprecated.
|
default Query |
Query.setHibernateFirstResult(int firstRow)
Deprecated.
setFirstResult(int) should be used instead. |
default Query<R> |
Query.setHibernateFlushMode(FlushMode flushMode)
Deprecated.
(Re)set the current FlushMode in effect for this query.
|
default Query |
Query.setHibernateMaxResults(int maxResults)
Deprecated.
setMaxResults(int) should be used instead. |
Query<R> |
Query.setHint(String hintName,
Object value)
Deprecated.
|
default Query<R> |
Query.setInteger(int position,
int val)
Deprecated.
(since 5.2) use
setParameter(int, Object) or setParameter(int, Object, Type)
instead |
default Query<R> |
Query.setInteger(String name,
int val)
Deprecated.
(since 5.2) use
setParameter(int, Object) or setParameter(int, Object, Type)
instead |
default Query<R> |
Query.setLocale(int position,
Locale val)
Deprecated.
(since 5.2) use
setParameter(int, Object) or setParameter(int, Object, Type)
instead |
default Query<R> |
Query.setLocale(String name,
Locale val)
Deprecated.
(since 5.2) use
setParameter(int, Object) or setParameter(int, Object, Type)
instead |
Query<R> |
Query.setLockMode(LockModeType lockMode)
Deprecated.
|
Query<R> |
Query.setLockMode(String alias,
LockMode lockMode)
Deprecated.
Set the LockMode to use for specific alias (as defined in the query's FROM clause).
|
Query<R> |
Query.setLockOptions(LockOptions lockOptions)
Deprecated.
Set the lock options for the query.
|
default Query<R> |
Query.setLong(int position,
long val)
Deprecated.
(since 5.2) use
setParameter(int, Object) or setParameter(int, Object, Type)
instead |
default Query<R> |
Query.setLong(String name,
long val)
Deprecated.
(since 5.2) use
setParameter(int, Object) or setParameter(int, Object, Type)
instead |
Query<R> |
Query.setMaxResults(int maxResult)
Deprecated.
|
Query<R> |
Query.setParameter(int position,
Calendar value,
TemporalType temporalType)
Deprecated.
|
Query<R> |
Query.setParameter(int position,
Date value,
TemporalType temporalType)
Deprecated.
|
Query<R> |
Query.setParameter(int position,
Object val)
Deprecated.
Bind a positional query parameter using its inferred Type.
|
Query<R> |
Query.setParameter(int position,
Object val,
Type type)
Deprecated.
Bind a value to a JDBC-style query parameter.
|
<P> Query<R> |
Query.setParameter(int position,
P val,
TemporalType temporalType)
Deprecated.
Bind a positional query parameter as some form of date/time using
the indicated temporal-type.
|
Query<R> |
Query.setParameter(Parameter<Calendar> param,
Calendar value,
TemporalType temporalType)
Deprecated.
|
Query<R> |
Query.setParameter(Parameter<Date> param,
Date value,
TemporalType temporalType)
Deprecated.
|
<T> Query<R> |
Query.setParameter(Parameter<T> param,
T value)
Deprecated.
|
<P> Query<R> |
Query.setParameter(QueryParameter<P> parameter,
P val,
TemporalType temporalType)
Deprecated.
Bind a query parameter as some form of date/time using the indicated
temporal-type.
|
<P> Query<R> |
Query.setParameter(QueryParameter<P> parameter,
P val,
Type type)
Deprecated.
Bind a query parameter using the supplied Type
|
<T> Query<R> |
Query.setParameter(QueryParameter<T> parameter,
T val)
Deprecated.
Bind a query parameter using its inferred Type.
|
Query<R> |
Query.setParameter(String name,
Calendar value,
TemporalType temporalType)
Deprecated.
|
Query<R> |
Query.setParameter(String name,
Date value,
TemporalType temporalType)
Deprecated.
|
Query<R> |
Query.setParameter(String name,
Object val)
Deprecated.
Bind a named query parameter using its inferred Type.
|
Query<R> |
Query.setParameter(String name,
Object val,
Type type)
Deprecated.
Bind a named query parameter using the supplied Type
|
<P> Query<R> |
Query.setParameter(String name,
P val,
TemporalType temporalType)
Deprecated.
Bind a named query parameter as some form of date/time using
the indicated temporal-type.
|
Query<R> |
Query.setParameterList(int position,
Collection values)
Deprecated.
|
Query<R> |
Query.setParameterList(int position,
Collection values,
Type type)
Deprecated.
|
Query<R> |
Query.setParameterList(int position,
Object[] values)
Deprecated.
|
Query<R> |
Query.setParameterList(int position,
Object[] values,
Type type)
Deprecated.
|
<P> Query<R> |
Query.setParameterList(QueryParameter<P> parameter,
Collection<P> values)
Deprecated.
Bind multiple values to a query parameter using its inferred Type.
|
Query<R> |
Query.setParameterList(String name,
Collection values)
Deprecated.
Bind multiple values to a named query parameter.
|
Query<R> |
Query.setParameterList(String name,
Collection values,
Type type)
Deprecated.
Bind multiple values to a named query parameter.
|
Query<R> |
Query.setParameterList(String name,
Object[] values)
Deprecated.
Bind multiple values to a named query parameter.
|
Query<R> |
Query.setParameterList(String name,
Object[] values,
Type type)
Deprecated.
Bind multiple values to a named query parameter.
|
default Query<R> |
Query.setParameters(Object[] values,
Type[] types)
Deprecated.
(since 5.2) Bind values individually
|
Query<R> |
Query.setProperties(Map bean)
Deprecated.
Bind the values of the given Map for each named parameters of the query,
matching key names with parameter names and mapping value types to
Hibernate types using heuristics.
|
Query<R> |
Query.setProperties(Object bean)
Deprecated.
Bind the property values of the given bean to named parameters of the query,
matching property names with parameter names and mapping property types to
Hibernate types using heuristics.
|
Query<R> |
Query.setReadOnly(boolean readOnly)
Deprecated.
Set the read-only/modifiable mode for entities and proxies
loaded by this Query.
|
Query<R> |
Query.setResultTransformer(ResultTransformer transformer)
Deprecated.
(since 5.2)
|
default Query<R> |
Query.setSerializable(int position,
Serializable val)
Deprecated.
(since 5.2) use
setParameter(int, Object) or setParameter(int, Object, Type)
instead |
default Query<R> |
Query.setSerializable(String name,
Serializable val)
Deprecated.
(since 5.2) use
setParameter(int, Object) or setParameter(int, Object, Type)
instead |
default Query<R> |
Query.setShort(int position,
short val)
Deprecated.
(since 5.2) use
setParameter(int, Object) or setParameter(int, Object, Type)
instead |
default Query<R> |
Query.setShort(String name,
short val)
Deprecated.
(since 5.2) use
setParameter(int, Object) or setParameter(int, Object, Type)
instead |
default Query<R> |
Query.setString(int position,
String val)
Deprecated.
(since 5.2) use
setParameter(int, Object) or setParameter(int, Object, Type)
instead |
default Query<R> |
Query.setString(String name,
String val)
Deprecated.
(since 5.2) use
setParameter(int, Object) or setParameter(int, Object, Type)
instead |
default Query<R> |
Query.setText(int position,
String val)
Deprecated.
(since 5.2) use
setParameter(int, Object) or setParameter(int, Object, Type)
instead |
default Query<R> |
Query.setText(String name,
String val)
Deprecated.
(since 5.2) use
setParameter(int, Object) or setParameter(int, Object, Type)
instead |
default Query<R> |
Query.setTime(int position,
Date val)
Deprecated.
(since 5.2) use
setParameter(int, Object) or setParameter(int, Object, Type)
instead |
default Query<R> |
Query.setTime(String name,
Date val)
Deprecated.
(since 5.2) use
setParameter(int, Object) or setParameter(int, Object, Type)
instead |
Query<R> |
Query.setTimeout(int timeout)
Deprecated.
Set the query timeout in seconds.
|
default Query<R> |
Query.setTimestamp(int position,
Date val)
Deprecated.
(since 5.2) use
setParameter(int, Object) or setParameter(int, Object, Type)
instead |
default Query<R> |
Query.setTimestamp(String name,
Date value)
Deprecated.
(since 5.2) use
setParameter(int, Object) or setParameter(int, Object, Type)
instead |
Modifier and Type | Method and Description |
---|---|
Query |
SessionDelegatorBaseImpl.createFilter(Object collection,
String queryString) |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractSharedSessionContract.resultClassChecking(Class resultClass,
Query hqlQuery) |
Modifier and Type | Method and Description |
---|---|
Query |
HibernateQuery.getHibernateQuery()
Gives access to the underlying Hibernate query object..
|
Constructor and Description |
---|
TupleBuilderTransformer(Query hqlQuery) |
Modifier and Type | Class and Description |
---|---|
class |
ProcedureCallImpl<R>
Standard implementation of
ProcedureCall |
Modifier and Type | Interface and Description |
---|---|
interface |
ProcedureCallImplementor<R> |
Modifier and Type | Interface and Description |
---|---|
interface |
NativeQuery<T> |
interface |
Query<R>
Represents an HQL/JPQL query or a compiled Criteria query.
|
Modifier and Type | Method and Description |
---|---|
Query |
QueryProducer.createQuery(String queryString)
Create a
Query instance for the given HQL/JPQL query string. |
Query |
QueryProducer.getNamedQuery(String queryName)
Create a
Query instance for the named query. |
default Query |
QueryProducer.getNamedSQLQuery(String name)
Deprecated.
(since 5.2) use
QueryProducer.getNamedNativeQuery(String) instead |
Modifier and Type | Class and Description |
---|---|
class |
CriteriaQueryTypeQueryAdapter<X>
Make this go away in 6.0 :)
Needed because atm we render a JPA Criteria query into a HQL/JPQL query String and some metadata, and then
compile into a Query.
|
Modifier and Type | Method and Description |
---|---|
Query<X> |
CriteriaQueryTypeQueryAdapter.setParameterList(int position,
Collection values) |
Query<X> |
CriteriaQueryTypeQueryAdapter.setParameterList(int position,
Collection values,
Type type) |
Query<X> |
CriteriaQueryTypeQueryAdapter.setParameterList(int position,
Object[] values) |
Query<X> |
CriteriaQueryTypeQueryAdapter.setParameterList(int position,
Object[] values,
Type type) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractProducedQuery<R> |
class |
CollectionFilterImpl
implementation of the Query interface for collection filters
|
class |
NativeQueryImpl<T> |
class |
QueryImpl<R> |
Modifier and Type | Interface and Description |
---|---|
interface |
NativeQueryImplementor<T> |
interface |
QueryImplementor<R> |
Modifier and Type | Interface and Description |
---|---|
interface |
FullTextQuery
The base interface for full-text queries using the Hibernate ORM API (
Query ). |
Modifier and Type | Class and Description |
---|---|
class |
FullTextQueryImpl
Implementation of
FullTextQuery . |
Copyright © 2019 JBoss by Red Hat. All rights reserved.