Package | Description |
---|---|
javax.persistence |
Java Persistence is the API for the management for persistence and object/relational mapping.
|
org.hibernate |
This package defines the central Hibernate APIs.
|
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 | Method and Description |
---|---|
<T> TypedQuery<T> |
EntityManager.createNamedQuery(String name,
Class<T> resultClass)
Create an instance of
TypedQuery for executing a
Java Persistence query language named query. |
<T> TypedQuery<T> |
EntityManager.createQuery(CriteriaQuery<T> criteriaQuery)
Create an instance of
TypedQuery for executing a
criteria query. |
<T> TypedQuery<T> |
EntityManager.createQuery(String qlString,
Class<T> resultClass)
Create an instance of
TypedQuery for executing a
Java Persistence query language statement. |
TypedQuery<X> |
TypedQuery.setFirstResult(int startPosition)
Set the position of the first result to retrieve.
|
TypedQuery<X> |
TypedQuery.setFlushMode(FlushModeType flushMode)
Set the flush mode type to be used for the query execution.
|
TypedQuery<X> |
TypedQuery.setHint(String hintName,
Object value)
Set a query property or hint.
|
TypedQuery<X> |
TypedQuery.setLockMode(LockModeType lockMode)
Set the lock mode type to be used for the query execution.
|
TypedQuery<X> |
TypedQuery.setMaxResults(int maxResult)
Set the maximum number of results to retrieve.
|
TypedQuery<X> |
TypedQuery.setParameter(int position,
Calendar value,
TemporalType temporalType)
Bind an instance of
java.util.Calendar to a positional
parameter. |
TypedQuery<X> |
TypedQuery.setParameter(int position,
Date value,
TemporalType temporalType)
Bind an instance of
java.util.Date to a positional parameter. |
TypedQuery<X> |
TypedQuery.setParameter(int position,
Object value)
Bind an argument value to a positional parameter.
|
TypedQuery<X> |
TypedQuery.setParameter(Parameter<Calendar> param,
Calendar value,
TemporalType temporalType)
Bind an instance of
java.util.Calendar to a Parameter object. |
TypedQuery<X> |
TypedQuery.setParameter(Parameter<Date> param,
Date value,
TemporalType temporalType)
Bind an instance of
java.util.Date to a Parameter object. |
<T> TypedQuery<X> |
TypedQuery.setParameter(Parameter<T> param,
T value)
Bind the value of a
Parameter object. |
TypedQuery<X> |
TypedQuery.setParameter(String name,
Calendar value,
TemporalType temporalType)
Bind an instance of
java.util.Calendar to a named parameter. |
TypedQuery<X> |
TypedQuery.setParameter(String name,
Date value,
TemporalType temporalType)
Bind an instance of
java.util.Date to a named parameter. |
TypedQuery<X> |
TypedQuery.setParameter(String name,
Object value)
Bind an argument value to a named parameter.
|
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 | 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 | 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 |
---|---|
void |
ImplicitParameterBinding.bind(TypedQuery typedQuery)
Bind the implicit parameter's value to the JPA 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 | 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.