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
|
Modifier and Type | Method | 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,
java.lang.Class<T> type) |
Get the parameter object corresponding to the declared
positional parameter with the given position and type.
|
Parameter<?> |
Query.getParameter(java.lang.String name) |
Get the parameter object corresponding to the declared
parameter of the given name.
|
<T> Parameter<T> |
Query.getParameter(java.lang.String name,
java.lang.Class<T> type) |
Get the parameter object corresponding to the declared
parameter of the given name and type.
|
Modifier and Type | Method | Description |
---|---|---|
java.util.Set<Parameter<?>> |
Query.getParameters() |
Get the parameter objects corresponding to the declared
parameters of the query.
|
Modifier and Type | Method | 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.
|
Query |
Query.setParameter(Parameter<java.util.Calendar> param,
java.util.Calendar value,
TemporalType temporalType) |
Bind an instance of
java.util.Calendar to a Parameter object. |
Query |
Query.setParameter(Parameter<java.util.Date> param,
java.util.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. |
StoredProcedureQuery |
StoredProcedureQuery.setParameter(Parameter<java.util.Calendar> param,
java.util.Calendar value,
TemporalType temporalType) |
Bind an instance of
java.util.Calendar to a Parameter object. |
StoredProcedureQuery |
StoredProcedureQuery.setParameter(Parameter<java.util.Date> param,
java.util.Date value,
TemporalType temporalType) |
Bind an instance of
java.util.Date to a Parameter object. |
<T> StoredProcedureQuery |
StoredProcedureQuery.setParameter(Parameter<T> param,
T value) |
Bind the value of a
Parameter object. |
TypedQuery<X> |
TypedQuery.setParameter(Parameter<java.util.Calendar> param,
java.util.Calendar value,
TemporalType temporalType) |
Bind an instance of
java.util.Calendar to a Parameter object. |
TypedQuery<X> |
TypedQuery.setParameter(Parameter<java.util.Date> param,
java.util.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. |
Modifier and Type | Interface | Description |
---|---|---|
interface |
ParameterExpression<T> |
Type of criteria query parameter expressions.
|
Copyright © 2018. All rights reserved.