Package | Description |
---|---|
javax.persistence |
Jakarta Persistence is the API for the management for persistence and object/relational mapping.
|
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 | |
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.jpa | |
org.hibernate.search.query.hibernate.impl |
Modifier and Type | Interface and Description |
---|---|
interface |
StoredProcedureQuery
Interface used to control stored procedure query execution.
|
interface |
TypedQuery<X>
Interface used to control the execution of typed queries.
|
Modifier and Type | Method and Description |
---|---|
Query |
EntityManager.createNamedQuery(String name)
Create an instance of
Query for executing a named query
(in the Jakarta Persistence query language or in native SQL). |
Query |
EntityManager.createNativeQuery(String sqlString)
Create an instance of
Query for executing
a native SQL statement, e.g., for update or delete. |
Query |
EntityManager.createNativeQuery(String sqlString,
Class resultClass)
Create an instance of
Query for executing
a native SQL query. |
Query |
EntityManager.createNativeQuery(String sqlString,
String resultSetMapping)
Create an instance of
Query for executing
a native SQL query. |
Query |
EntityManager.createQuery(CriteriaDelete deleteQuery)
Create an instance of
Query for executing a criteria
delete query. |
Query |
EntityManager.createQuery(CriteriaUpdate updateQuery)
Create an instance of
Query for executing a criteria
update query. |
Query |
EntityManager.createQuery(String qlString)
Create an instance of
Query for executing a
Jakarta Persistence query language statement. |
Query |
QueryTimeoutException.getQuery()
Returns the query that caused this exception.
|
Query |
Query.setFirstResult(int startPosition)
Set the position of the first result to retrieve.
|
Query |
Query.setFlushMode(FlushModeType flushMode)
Set the flush mode type to be used for the query execution.
|
Query |
Query.setHint(String hintName,
Object value)
Set a query property or hint.
|
Query |
Query.setLockMode(LockModeType lockMode)
Set the lock mode type to be used for the query execution.
|
Query |
Query.setMaxResults(int maxResult)
Set the maximum number of results to retrieve.
|
Query |
Query.setParameter(int position,
Calendar value,
TemporalType temporalType)
Bind an instance of
java.util.Calendar to a positional
parameter. |
Query |
Query.setParameter(int position,
Date value,
TemporalType temporalType)
Bind an instance of
java.util.Date to a positional parameter. |
Query |
Query.setParameter(int position,
Object value)
Bind an argument value to a positional parameter.
|
Query |
Query.setParameter(Parameter<Calendar> param,
Calendar value,
TemporalType temporalType)
Bind an instance of
java.util.Calendar to a Parameter object. |
Query |
Query.setParameter(Parameter<Date> param,
Date value,
TemporalType temporalType)
Bind an instance of
java.util.Date to a Parameter object. |
<T> Query |
Query.setParameter(Parameter<T> param,
T value)
Bind the value of a
Parameter object. |
Query |
Query.setParameter(String name,
Calendar value,
TemporalType temporalType)
Bind an instance of
java.util.Calendar to a named parameter. |
Query |
Query.setParameter(String name,
Date value,
TemporalType temporalType)
Bind an instance of
java.util.Date to a named parameter. |
Query |
Query.setParameter(String name,
Object value)
Bind an argument value to a named parameter.
|
Modifier and Type | Method and Description |
---|---|
void |
EntityManagerFactory.addNamedQuery(String name,
Query query)
Define the query, typed query, or stored procedure query as
a named query such that future query objects can be created
from it using the
createNamedQuery or
createNamedStoredProcedureQuery method. |
Constructor and Description |
---|
QueryTimeoutException(Query query)
Constructs a new
QueryTimeoutException exception
with the specified query. |
QueryTimeoutException(String message,
Throwable cause,
Query query)
Constructs a new
QueryTimeoutException exception
with the specified detail message, cause, and query. |
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 |
---|---|
void |
SessionFactoryDelegatingImpl.addNamedQuery(String name,
Query query) |
Modifier and Type | Method and Description |
---|---|
void |
SessionFactoryImpl.addNamedQuery(String name,
Query query) |
Modifier and Type | Interface and Description |
---|---|
interface |
HibernateQuery
Marker interface for Hibernate generated JPA queries so that we can access the underlying Hibernate query objects.
|
Modifier and Type | Method and Description |
---|---|
Query |
ParameterRegistration.getQuery()
Access to the query that this parameter belongs to.
|
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<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 | 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 JPA API (
Query ). |
Modifier and Type | Class and Description |
---|---|
class |
FullTextQueryImpl
Implementation of
FullTextQuery . |
Copyright © 2019 JBoss by Red Hat. All rights reserved.