Package | Description |
---|---|
javax.persistence | |
javax.persistence.criteria | |
org.hibernate.jpa.criteria.compile | |
org.hibernate.jpa.criteria.expression | |
org.hibernate.jpa.internal | |
org.hibernate.jpa.spi |
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 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 | 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) |
TypedQuery<X> |
CriteriaQueryTypeQueryAdapter.setParameter(Parameter<Calendar> param,
Calendar calendar,
TemporalType temporalType) |
TypedQuery<X> |
CriteriaQueryTypeQueryAdapter.setParameter(Parameter<Date> param,
Date date,
TemporalType temporalType) |
<T> TypedQuery<X> |
CriteriaQueryTypeQueryAdapter.setParameter(Parameter<T> param,
T t) |
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 |
---|---|
static class |
QueryImpl.JpaPositionalParameterRegistrationImpl<T>
Specialized handling for JPA "positional parameters".
|
Modifier and Type | Method and Description |
---|---|
StoredProcedureQueryImpl |
StoredProcedureQueryImpl.setParameter(Parameter<Calendar> param,
Calendar value,
TemporalType temporalType) |
StoredProcedureQueryImpl |
StoredProcedureQueryImpl.setParameter(Parameter<Date> param,
Date value,
TemporalType temporalType) |
<T> StoredProcedureQueryImpl |
StoredProcedureQueryImpl.setParameter(Parameter<T> param,
T value) |
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 |
---|---|
Parameter<?> |
BaseQueryImpl.getParameter(int position) |
<T> Parameter<T> |
BaseQueryImpl.getParameter(int position,
Class<T> type) |
Parameter<?> |
BaseQueryImpl.getParameter(String name) |
<T> Parameter<T> |
BaseQueryImpl.getParameter(String name,
Class<T> type) |
Modifier and Type | Method and Description |
---|---|
protected <X> ParameterRegistration<X> |
BaseQueryImpl.findParameterRegistration(Parameter<X> parameter) |
<T> T |
BaseQueryImpl.getParameterValue(Parameter<T> param) |
boolean |
BaseQueryImpl.isBound(Parameter<?> param) |
BaseQueryImpl |
BaseQueryImpl.setParameter(Parameter<Calendar> param,
Calendar value,
TemporalType temporalType) |
AbstractQueryImpl<X> |
AbstractQueryImpl.setParameter(Parameter<Calendar> param,
Calendar value,
TemporalType temporalType) |
BaseQueryImpl |
BaseQueryImpl.setParameter(Parameter<Date> param,
Date value,
TemporalType temporalType) |
AbstractQueryImpl<X> |
AbstractQueryImpl.setParameter(Parameter<Date> param,
Date value,
TemporalType temporalType) |
<T> BaseQueryImpl |
BaseQueryImpl.setParameter(Parameter<T> param,
T value) |
<T> AbstractQueryImpl<X> |
AbstractQueryImpl.setParameter(Parameter<T> param,
T value) |
Copyright © 2017 JBoss by Red Hat. All rights reserved.