Uses of Interface
javax.persistence.Parameter
-
Packages that use Parameter Package Description javax.persistence javax.persistence.criteria -
-
Uses of Parameter in javax.persistence
Methods in javax.persistence that return Parameter 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, 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.Methods in javax.persistence that return types with arguments of type Parameter Modifier and Type Method Description Set<Parameter<?>>
Query. getParameters()
Get the parameter objects corresponding to the declared parameters of the query.Methods in javax.persistence with parameters of type Parameter Modifier and Type Method 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.Query
Query. setParameter(Parameter<Calendar> param, Calendar value, TemporalType temporalType)
Bind an instance ofjava.util.Calendar
to aParameter
object.Query
Query. setParameter(Parameter<Date> param, Date value, TemporalType temporalType)
Bind an instance ofjava.util.Date
to aParameter
object.<T> Query
Query. setParameter(Parameter<T> param, T value)
Bind the value of aParameter
object.TypedQuery<X>
TypedQuery. setParameter(Parameter<Calendar> param, Calendar value, TemporalType temporalType)
Bind an instance ofjava.util.Calendar
to aParameter
object.TypedQuery<X>
TypedQuery. setParameter(Parameter<Date> param, Date value, TemporalType temporalType)
Bind an instance ofjava.util.Date
to aParameter
object.<T> TypedQuery<X>
TypedQuery. setParameter(Parameter<T> param, T value)
Bind the value of aParameter
object. -
Uses of Parameter in javax.persistence.criteria
Subinterfaces of Parameter in javax.persistence.criteria Modifier and Type Interface Description interface
ParameterExpression<T>
Type of criteria query parameter expressions.
-