Package | Description |
---|---|
javax.persistence |
Java Persistence is the API for the management for persistence and object/relational mapping.
|
javax.persistence.criteria |
Java Persistence Criteria API
|
org.hibernate |
This package defines the central Hibernate APIs.
|
org.hibernate.engine.query.spi |
Defines support for query plans and stored metadata about queries
|
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.criteria.internal.expression | |
org.hibernate.query.internal | |
org.hibernate.query.procedure | |
org.hibernate.query.procedure.internal | |
org.hibernate.query.procedure.spi | |
org.hibernate.query.spi | |
org.hibernate.search.query.hibernate.impl |
Modifier and Type | Method and Description |
---|---|
Parameter<?> |
Query.getParameter(int position)
Get the parameter object corresponding to the declared
positional parameter with the given position.
|
<T> Parameter<T> |
Query.getParameter(int position,
Class<T> type)
Get the parameter object corresponding to the declared
positional parameter with the given position and type.
|
Parameter<?> |
Query.getParameter(String name)
Get the parameter object corresponding to the declared
parameter of the given name.
|
<T> Parameter<T> |
Query.getParameter(String name,
Class<T> type)
Get the parameter object corresponding to the declared
parameter of the given name and type.
|
Modifier and Type | Method and Description |
---|---|
Set<Parameter<?>> |
Query.getParameters()
Get the parameter objects corresponding to the declared
parameters of the query.
|
Modifier and Type | Method and Description |
---|---|
<T> T |
Query.getParameterValue(Parameter<T> param)
Return the input value bound to the parameter.
|
boolean |
Query.isBound(Parameter<?> param)
Return a boolean indicating whether a value has been bound
to the parameter.
|
TypedQuery<X> |
TypedQuery.setParameter(Parameter<Calendar> param,
Calendar value,
TemporalType temporalType)
Bind an instance of
java.util.Calendar to a Parameter object. |
StoredProcedureQuery |
StoredProcedureQuery.setParameter(Parameter<Calendar> param,
Calendar value,
TemporalType temporalType)
Bind an instance of
java.util.Calendar to a Parameter object. |
Query |
Query.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. |
StoredProcedureQuery |
StoredProcedureQuery.setParameter(Parameter<Date> param,
Date value,
TemporalType temporalType)
Bind an instance of
java.util.Date 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> TypedQuery<X> |
TypedQuery.setParameter(Parameter<T> param,
T value)
Bind the value of a
Parameter object. |
<T> StoredProcedureQuery |
StoredProcedureQuery.setParameter(Parameter<T> param,
T value)
Bind the value of a
Parameter object. |
<T> Query |
Query.setParameter(Parameter<T> param,
T value)
Bind the value of a
Parameter object. |
Modifier and Type | Interface and Description |
---|---|
interface |
ParameterExpression<T>
Type of criteria query parameter expressions.
|
Modifier and Type | Method and Description |
---|---|
NativeQuery<T> |
SQLQuery.setParameter(Parameter<Calendar> param,
Calendar value,
TemporalType temporalType)
Deprecated.
|
Query<R> |
Query.setParameter(Parameter<Calendar> param,
Calendar value,
TemporalType temporalType)
Deprecated.
|
NativeQuery<T> |
SQLQuery.setParameter(Parameter<Date> param,
Date value,
TemporalType temporalType)
Deprecated.
|
Query<R> |
Query.setParameter(Parameter<Date> param,
Date value,
TemporalType temporalType)
Deprecated.
|
<P> NativeQuery<T> |
SQLQuery.setParameter(Parameter<P> param,
P value)
Deprecated.
|
<T> Query<R> |
Query.setParameter(Parameter<T> param,
T value)
Deprecated.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractParameterDescriptor
NOTE: Consider this contract (and its sub-contracts) as incubating as we transition to 6.0 and SQM
|
class |
NamedParameterDescriptor
Descriptor regarding a named parameter.
|
class |
OrdinalParameterDescriptor
Descriptor regarding an ordinal parameter.
|
Modifier and Type | Interface and Description |
---|---|
interface |
NullTypeBindableParameterRegistration<T>
A
ParameterRegistration that allows providing Java type information when
binding a null value for a parameter when there is no other available type information
for that parameter. |
interface |
ParameterRegistration<T>
Hibernate specific extension to the JPA
Parameter contract as known to the
Query and StoredProcedureQuery implementations. |
interface |
StoredProcedureQueryParameterRegistration<T>
ParameterRegistration extension specifically for stored procedure parameters
exposing some functionality of Hibernate's native
ParameterRegistration contract |
Modifier and Type | Method and Description |
---|---|
<P> ProcedureCallImplementor<R> |
ProcedureCallImpl.setParameter(Parameter<P> parameter,
P value) |
ProcedureCallImplementor<R> |
ProcedureCallImpl.setParameter(Parameter parameter,
Calendar value,
TemporalType temporalType) |
ProcedureCallImplementor<R> |
ProcedureCallImpl.setParameter(Parameter parameter,
Date value,
TemporalType temporalType) |
Modifier and Type | Interface and Description |
---|---|
interface |
ParameterRegistrationImplementor<T>
Additional internal contract for ParameterRegistration
|
Modifier and Type | Method and Description |
---|---|
ProcedureCallImplementor<R> |
ProcedureCallImplementor.setParameter(Parameter<Calendar> param,
Calendar value,
TemporalType temporalType) |
ProcedureCallImplementor<R> |
ProcedureCallImplementor.setParameter(Parameter<Date> param,
Date value,
TemporalType temporalType) |
<T> ProcedureCallImplementor<R> |
ProcedureCallImplementor.setParameter(Parameter<T> param,
T value) |
Modifier and Type | Interface and Description |
---|---|
interface |
QueryParameter<T>
NOTE: Consider this contract (and its sub-contracts) as incubating as we transition to 6.0 and SQM
|
Modifier and Type | Method and Description |
---|---|
Set<Parameter<?>> |
ParameterMetadata.collectAllParametersJpa() |
Modifier and Type | Class and Description |
---|---|
class |
ExplicitParameterInfo<T> |
Modifier and Type | Method and Description |
---|---|
Parameter<?> |
CriteriaQueryTypeQueryAdapter.getParameter(int position) |
<T> Parameter<T> |
CriteriaQueryTypeQueryAdapter.getParameter(int position,
Class<T> type) |
Parameter<?> |
CriteriaQueryTypeQueryAdapter.getParameter(String name) |
<T> Parameter<T> |
CriteriaQueryTypeQueryAdapter.getParameter(String name,
Class<T> type) |
Modifier and Type | Method and Description |
---|---|
Set<Parameter<?>> |
CriteriaQueryTypeQueryAdapter.getParameters() |
Modifier and Type | Method and Description |
---|---|
<T> T |
CriteriaQueryTypeQueryAdapter.getParameterValue(Parameter<T> param) |
boolean |
CriteriaQueryTypeQueryAdapter.isBound(Parameter<?> param) |
QueryImplementor<X> |
CriteriaQueryTypeQueryAdapter.setParameter(Parameter<Calendar> param,
Calendar calendar,
TemporalType temporalType) |
QueryImplementor<X> |
CriteriaQueryTypeQueryAdapter.setParameter(Parameter<Date> param,
Date date,
TemporalType temporalType) |
QueryImplementor<X> |
CriteriaQueryTypeQueryAdapter.setParameter(Parameter<Instant> param,
Instant value,
TemporalType temporalType) |
QueryImplementor<X> |
CriteriaQueryTypeQueryAdapter.setParameter(Parameter<LocalDateTime> param,
LocalDateTime value,
TemporalType temporalType) |
QueryImplementor<X> |
CriteriaQueryTypeQueryAdapter.setParameter(Parameter<OffsetDateTime> param,
OffsetDateTime value,
TemporalType temporalType) |
<T> QueryImplementor<X> |
CriteriaQueryTypeQueryAdapter.setParameter(Parameter<T> param,
T t) |
QueryImplementor<X> |
CriteriaQueryTypeQueryAdapter.setParameter(Parameter<ZonedDateTime> param,
ZonedDateTime value,
TemporalType temporalType) |
Modifier and Type | Class and Description |
---|---|
class |
ParameterExpressionImpl<T>
Defines a parameter specification, or the information about a parameter (where it occurs, what is
its type, etc).
|
Modifier and Type | Class and Description |
---|---|
class |
QueryParameterImpl<T>
QueryParameter implementation.
|
class |
QueryParameterNamedImpl<T>
Models a named query parameter
NOTE: Unfortunately we need to model named and positional parameters separately still until 6.0
NOTE : Also, notice that this still treats JPA "positional" parameters as named.
|
Modifier and Type | Method and Description |
---|---|
Set<Parameter<?>> |
ParameterMetadataImpl.collectAllParametersJpa() |
Set<Parameter<?>> |
AbstractProducedQuery.getParameters() |
Modifier and Type | Interface and Description |
---|---|
interface |
ProcedureParameter<T>
NOTE: Consider this contract (and its sub-contracts) as incubating as we transition to 6.0 and SQM
|
Modifier and Type | Class and Description |
---|---|
class |
ProcedureParameterImpl<T> |
Modifier and Type | Method and Description |
---|---|
Set<Parameter<?>> |
ProcedureParameterMetadata.collectAllParametersJpa() |
Modifier and Type | Method and Description |
---|---|
<T> ProcedureParameterImplementor<T> |
ProcedureParameterMetadata.resolve(Parameter<T> param) |
Modifier and Type | Interface and Description |
---|---|
interface |
ProcedureParameterImplementor<T>
NOTE: Consider this contract (and its sub-contracts) as incubating as we transition to 6.0 and SQM
|
Modifier and Type | Method and Description |
---|---|
NativeQueryImplementor<T> |
NativeQueryImplementor.setParameter(Parameter<Calendar> param,
Calendar value,
TemporalType temporalType) |
NativeQueryImplementor<T> |
NativeQueryImplementor.setParameter(Parameter<Date> param,
Date value,
TemporalType temporalType) |
<P> NativeQueryImplementor<T> |
NativeQueryImplementor.setParameter(Parameter<P> param,
P value) |
Modifier and Type | Method and Description |
---|---|
Set<Parameter<?>> |
FullTextQueryImpl.getParameters() |
Modifier and Type | Method and Description |
---|---|
Object |
FullTextQueryImpl.getParameterValue(Parameter param) |
boolean |
FullTextQueryImpl.isBound(Parameter param) |
FullTextQueryImpl |
FullTextQueryImpl.setParameter(Parameter calendarParameter,
Calendar calendar,
TemporalType temporalType) |
FullTextQueryImpl |
FullTextQueryImpl.setParameter(Parameter dateParameter,
Date date,
TemporalType temporalType) |
FullTextQueryImpl |
FullTextQueryImpl.setParameter(Parameter tParameter,
Object t) |
Copyright © 2019 JBoss by Red Hat. All rights reserved.