Package | Description |
---|---|
org.hibernate |
This package defines the central Hibernate APIs.
|
org.hibernate.engine.spi | |
org.hibernate.envers.internal.entities.mapper.id | |
org.hibernate.envers.internal.entities.mapper.relation.query | |
org.hibernate.envers.internal.revisioninfo | |
org.hibernate.envers.internal.tools.query | |
org.hibernate.envers.query.internal.impl | |
org.hibernate.internal |
An internal package containing mostly implementations of central Hibernate APIs.
|
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 |
Modifier and Type | Method and Description |
---|---|
Query |
Session.createFilter(java.lang.Object collection,
java.lang.String queryString)
Create a
Query instance for the given collection and filter string. |
<T> Query<T> |
Session.createNamedQuery(java.lang.String name,
java.lang.Class<T> resultType) |
Query |
Session.createQuery(javax.persistence.criteria.CriteriaDelete deleteQuery) |
<T> Query<T> |
Session.createQuery(javax.persistence.criteria.CriteriaQuery<T> criteriaQuery) |
Query |
Session.createQuery(javax.persistence.criteria.CriteriaUpdate updateQuery) |
Query |
Session.createQuery(java.lang.String queryString) |
<T> Query<T> |
Session.createQuery(java.lang.String queryString,
java.lang.Class<T> resultType) |
Modifier and Type | Method and Description |
---|---|
Query |
SessionDelegatorBaseImpl.createFilter(java.lang.Object collection,
java.lang.String queryString) |
Modifier and Type | Method and Description |
---|---|
void |
QueryParameterData.setParameterValue(Query query) |
Modifier and Type | Method and Description |
---|---|
Query |
AbstractRelationQueryGenerator.getQuery(AuditReaderImplementor versionsReader,
java.lang.Object primaryKey,
java.lang.Number revision,
boolean removed) |
Query |
RelationQueryGenerator.getQuery(AuditReaderImplementor versionsReader,
java.lang.Object primaryKey,
java.lang.Number revision,
boolean removed) |
Modifier and Type | Method and Description |
---|---|
Query<?> |
RevisionInfoQueryCreator.getRevisionDateQuery(Session session,
java.lang.Number revision) |
Query<?> |
RevisionInfoQueryCreator.getRevisionNumberForDateQuery(Session session,
java.util.Date date) |
Query<?> |
RevisionInfoQueryCreator.getRevisionsQuery(Session session,
java.util.Set<java.lang.Number> revisions) |
Modifier and Type | Method and Description |
---|---|
Query |
QueryBuilder.toQuery(Session session) |
Query |
UpdateBuilder.toQuery(Session session) |
Modifier and Type | Method and Description |
---|---|
protected Query |
AbstractAuditQuery.buildQuery() |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractAuditQuery.setQueryProperties(Query query) |
Modifier and Type | Method and Description |
---|---|
Query |
SessionImpl.createFilter(java.lang.Object collection,
java.lang.String queryString) |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractSharedSessionContract.applyQuerySettingsAndHints(Query query) |
protected void |
SessionImpl.applyQuerySettingsAndHints(Query query) |
protected void |
AbstractSharedSessionContract.initQueryFromNamedDefinition(Query query,
NamedQueryDefinition nqd) |
protected void |
SessionImpl.initQueryFromNamedDefinition(Query query,
NamedQueryDefinition namedQueryDefinition) |
Modifier and Type | Method and Description |
---|---|
<T> Query<T> |
HibernateEntityManagerImplementor.createQuery(java.lang.String jpaqlString,
java.lang.Class<T> resultClass,
javax.persistence.criteria.Selection selection,
HibernateEntityManagerImplementor.QueryOptions queryOptions)
Deprecated.
(since 5.2) this method form is used to construct a "compiled" representation of
a JPA Criteria query. However it assumes the old yucky implementation of "compilation" that
converted the Criteria into a HQL/JPQL string. In 6.0 that is re-written from scratch to
compile to SQM, and so this method would not be needed in 6.0
|
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> |
Modifier and Type | Method and Description |
---|---|
Query<R> |
Query.addQueryHint(java.lang.String hint) |
Query |
QueryProducer.createNamedQuery(java.lang.String name)
The JPA-defined named query creation method.
|
<R> Query<R> |
QueryProducer.createNamedQuery(java.lang.String name,
java.lang.Class<R> resultClass)
The JPA-defined named, typed query creation method.
|
Query |
QueryProducer.createQuery(java.lang.String queryString)
Create a
Query instance for the given HQL/JPQL query string. |
<R> Query<R> |
QueryProducer.createQuery(java.lang.String queryString,
java.lang.Class<R> resultClass)
Create a typed
Query instance for the given HQL/JPQL query string. |
Query |
QueryProducer.getNamedQuery(java.lang.String queryName)
Create a
Query instance for the named query. |
default Query<R> |
Query.setBigDecimal(int position,
java.math.BigDecimal val)
Deprecated.
(since 5.2) use
setParameter(int, Object) or setParameter(int, Object, Type)
instead |
default Query<R> |
Query.setBigDecimal(java.lang.String name,
java.math.BigDecimal val)
Deprecated.
(since 5.2) use
setParameter(String, Object) or setParameter(String, Object, Type)
instead |
default Query<R> |
Query.setBigInteger(int position,
java.math.BigInteger val)
Deprecated.
(since 5.2) use
setParameter(int, Object) or setParameter(int, Object, Type)
instead |
default Query<R> |
Query.setBigInteger(java.lang.String name,
java.math.BigInteger val)
Deprecated.
(since 5.2) use
setParameter(String, Object) or setParameter(String, 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(java.lang.String name,
byte[] val)
Deprecated.
(since 5.2) use
setParameter(String, Object) or setParameter(String, 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(java.lang.String name,
boolean val)
Deprecated.
(since 5.2) use
setParameter(String, Object) or setParameter(String, 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(java.lang.String name,
byte val)
Deprecated.
(since 5.2) use
setParameter(String, Object) or setParameter(String, Object, Type)
instead |
Query<R> |
Query.setCacheable(boolean cacheable) |
Query<R> |
Query.setCacheMode(CacheMode cacheMode) |
Query<R> |
Query.setCacheRegion(java.lang.String cacheRegion) |
default Query<R> |
Query.setCalendar(int position,
java.util.Calendar val)
Deprecated.
(since 5.2) use
setParameter(int, Object) or setParameter(int, Object, Type)
instead |
default Query<R> |
Query.setCalendar(java.lang.String name,
java.util.Calendar value)
Deprecated.
(since 5.2) use
setParameter(String, Object) or setParameter(String, Object, Type)
instead |
default Query<R> |
Query.setCalendarDate(int position,
java.util.Calendar val)
Deprecated.
(since 5.2) use
setParameter(int, Object) or setParameter(int, Object, Type)
instead |
default Query<R> |
Query.setCalendarDate(java.lang.String name,
java.util.Calendar value)
Deprecated.
(since 5.2) use
setParameter(String, Object) or setParameter(String, 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(java.lang.String name,
char val)
Deprecated.
(since 5.2) use
setParameter(String, Object) or setParameter(String, Object, Type)
instead |
Query<R> |
Query.setComment(java.lang.String comment) |
default Query<R> |
Query.setDate(int position,
java.util.Date val)
Deprecated.
(since 5.2) use
setParameter(int, Object) or setParameter(int, Object, Type)
instead |
default Query<R> |
Query.setDate(java.lang.String name,
java.util.Date val)
Deprecated.
(since 5.2) use
setParameter(String, Object) or setParameter(String, 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(java.lang.String name,
double val)
Deprecated.
(since 5.2) use
setParameter(String, Object) or setParameter(String, Object, Type)
instead |
Query<R> |
Query.setEntity(int position,
java.lang.Object val)
Deprecated.
(since 5.2) use
setParameter(String, Object) or setParameter(String, Object, Type)
instead |
Query<R> |
Query.setEntity(java.lang.String name,
java.lang.Object val)
Deprecated.
(since 5.2) use
setParameter(String, Object) or setParameter(String, Object, Type)
instead |
Query<R> |
Query.setFetchSize(int fetchSize) |
Query<R> |
Query.setFirstResult(int startPosition) |
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(java.lang.String name,
float val)
Deprecated.
(since 5.2) use
setParameter(String, Object) or setParameter(String, Object, Type)
instead |
default Query<R> |
Query.setFlushMode(FlushMode flushMode)
Deprecated.
(since 5.2) use
setHibernateFlushMode(org.hibernate.FlushMode) instead |
Query<R> |
Query.setFlushMode(javax.persistence.FlushModeType flushMode) |
Query<R> |
Query.setHibernateFlushMode(FlushMode flushMode) |
Query<R> |
Query.setHint(java.lang.String hintName,
java.lang.Object value) |
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(java.lang.String name,
int val)
Deprecated.
(since 5.2) use
setParameter(String, Object) or setParameter(String, Object, Type)
instead |
default Query<R> |
Query.setLocale(int position,
java.util.Locale val)
Deprecated.
(since 5.2) use
setParameter(int, Object) or setParameter(int, Object, Type)
instead |
default Query<R> |
Query.setLocale(java.lang.String name,
java.util.Locale val)
Deprecated.
(since 5.2) use
setParameter(String, Object) or setParameter(String, Object, Type)
instead |
Query<R> |
Query.setLockMode(javax.persistence.LockModeType lockMode) |
Query<R> |
Query.setLockMode(java.lang.String alias,
LockMode lockMode) |
Query<R> |
Query.setLockOptions(LockOptions lockOptions) |
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(java.lang.String name,
long val)
Deprecated.
(since 5.2) use
setParameter(String, Object) or setParameter(String, Object, Type)
instead |
Query<R> |
Query.setMaxResults(int maxResult) |
Query<R> |
Query.setParameter(int position,
java.util.Calendar value,
javax.persistence.TemporalType temporalType) |
Query<R> |
Query.setParameter(int position,
java.util.Date value,
javax.persistence.TemporalType temporalType) |
Query<R> |
Query.setParameter(int position,
java.time.Instant value,
javax.persistence.TemporalType temporalType) |
Query<R> |
Query.setParameter(int position,
java.time.LocalDateTime value,
javax.persistence.TemporalType temporalType) |
Query<R> |
Query.setParameter(int position,
java.lang.Object value) |
Query<R> |
Query.setParameter(int position,
java.lang.Object val,
Type type) |
Query<R> |
Query.setParameter(int position,
java.time.OffsetDateTime value,
javax.persistence.TemporalType temporalType) |
<P> Query<R> |
Query.setParameter(int position,
P val,
javax.persistence.TemporalType temporalType) |
Query<R> |
Query.setParameter(int position,
java.time.ZonedDateTime value,
javax.persistence.TemporalType temporalType) |
Query<R> |
Query.setParameter(javax.persistence.Parameter<java.util.Calendar> param,
java.util.Calendar value,
javax.persistence.TemporalType temporalType) |
Query<R> |
Query.setParameter(javax.persistence.Parameter<java.util.Date> param,
java.util.Date value,
javax.persistence.TemporalType temporalType) |
Query<R> |
Query.setParameter(javax.persistence.Parameter<java.time.Instant> param,
java.time.Instant value,
javax.persistence.TemporalType temporalType) |
Query<R> |
Query.setParameter(javax.persistence.Parameter<java.time.LocalDateTime> param,
java.time.LocalDateTime value,
javax.persistence.TemporalType temporalType) |
Query<R> |
Query.setParameter(javax.persistence.Parameter<java.time.OffsetDateTime> param,
java.time.OffsetDateTime value,
javax.persistence.TemporalType temporalType) |
<T> Query<R> |
Query.setParameter(javax.persistence.Parameter<T> param,
T value) |
Query<R> |
Query.setParameter(javax.persistence.Parameter<java.time.ZonedDateTime> param,
java.time.ZonedDateTime value,
javax.persistence.TemporalType temporalType) |
<P> Query<R> |
Query.setParameter(QueryParameter<P> parameter,
P val,
javax.persistence.TemporalType temporalType) |
<P> Query<R> |
Query.setParameter(QueryParameter<P> parameter,
P val,
Type type) |
<T> Query<R> |
Query.setParameter(QueryParameter<T> parameter,
T val) |
Query<R> |
Query.setParameter(java.lang.String name,
java.util.Calendar value,
javax.persistence.TemporalType temporalType) |
Query<R> |
Query.setParameter(java.lang.String name,
java.util.Date value,
javax.persistence.TemporalType temporalType) |
Query<R> |
Query.setParameter(java.lang.String name,
java.time.Instant value,
javax.persistence.TemporalType temporalType) |
Query<R> |
Query.setParameter(java.lang.String name,
java.time.LocalDateTime value,
javax.persistence.TemporalType temporalType) |
Query<R> |
Query.setParameter(java.lang.String name,
java.lang.Object value) |
Query<R> |
Query.setParameter(java.lang.String name,
java.lang.Object val,
Type type) |
Query<R> |
Query.setParameter(java.lang.String name,
java.time.OffsetDateTime value,
javax.persistence.TemporalType temporalType) |
<P> Query<R> |
Query.setParameter(java.lang.String name,
P val,
javax.persistence.TemporalType temporalType) |
Query<R> |
Query.setParameter(java.lang.String name,
java.time.ZonedDateTime value,
javax.persistence.TemporalType temporalType) |
<P> Query<R> |
Query.setParameterList(QueryParameter<P> parameter,
java.util.Collection<P> values) |
Query<R> |
Query.setParameterList(java.lang.String name,
java.util.Collection values) |
Query<R> |
Query.setParameterList(java.lang.String name,
java.util.Collection values,
Type type) |
Query<R> |
Query.setParameterList(java.lang.String name,
java.lang.Object[] values) |
Query<R> |
Query.setParameterList(java.lang.String name,
java.lang.Object[] values,
Type type) |
default Query<R> |
Query.setParameters(java.lang.Object[] values,
Type[] types)
Deprecated.
(since 5.2) Bind values individually
|
Query<R> |
Query.setProperties(java.util.Map bean) |
Query<R> |
Query.setProperties(java.lang.Object bean) |
Query<R> |
Query.setReadOnly(boolean readOnly) |
Query<R> |
Query.setResultTransformer(ResultTransformer transformer)
Deprecated.
(since 5.2)
|
default Query<R> |
Query.setSerializable(int position,
java.io.Serializable val)
Deprecated.
(since 5.2) use
setParameter(int, Object) or setParameter(int, Object, Type)
instead |
default Query<R> |
Query.setSerializable(java.lang.String name,
java.io.Serializable val)
Deprecated.
(since 5.2) use
setParameter(String, Object) or setParameter(String, 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(java.lang.String name,
short val)
Deprecated.
(since 5.2) use
setParameter(String, Object) or setParameter(String, Object, Type)
instead |
default Query<R> |
Query.setString(int position,
java.lang.String val)
Deprecated.
(since 5.2) use
setParameter(int, Object) or setParameter(int, Object, Type)
instead |
default Query<R> |
Query.setString(java.lang.String name,
java.lang.String val)
Deprecated.
(since 5.2) use
setParameter(String, Object) or setParameter(String, Object, Type)
instead |
default Query<R> |
Query.setText(int position,
java.lang.String val)
Deprecated.
(since 5.2) use
setParameter(int, Object) or setParameter(int, Object, Type)
instead |
default Query<R> |
Query.setText(java.lang.String name,
java.lang.String val)
Deprecated.
(since 5.2) use
setParameter(String, Object) or setParameter(String, Object, Type)
instead |
default Query<R> |
Query.setTime(int position,
java.util.Date val)
Deprecated.
(since 5.2) use
setParameter(int, Object) or setParameter(int, Object, Type)
instead |
default Query<R> |
Query.setTime(java.lang.String name,
java.util.Date val)
Deprecated.
(since 5.2) use
setParameter(String, Object) or setParameter(String, Object, Type)
instead |
Query<R> |
Query.setTimeout(int timeout) |
default Query<R> |
Query.setTimestamp(int position,
java.util.Date val)
Deprecated.
(since 5.2) use
setParameter(int, Object) or setParameter(int, Object, Type)
instead |
default Query<R> |
Query.setTimestamp(java.lang.String name,
java.util.Date value)
Deprecated.
(since 5.2) use
setParameter(String, Object) or setParameter(String, Object, Type)
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 | 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 | Method and Description |
---|---|
Query |
CollectionFilterImpl.setEntity(int position,
java.lang.Object val) |
Query |
QueryImpl.setEntity(int position,
java.lang.Object val) |
Query |
CollectionFilterImpl.setEntity(java.lang.String name,
java.lang.Object val) |
Query |
QueryImpl.setEntity(java.lang.String name,
java.lang.Object val) |
Modifier and Type | Interface and Description |
---|---|
interface |
NativeQueryImplementor<T> |
interface |
QueryImplementor<R> |
Modifier and Type | Method and Description |
---|---|
Query |
QueryProducerImplementor.createNamedQuery(java.lang.String name) |
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.