Uses of Interface
jakarta.persistence.Parameter
-
Packages that use Parameter Package Description jakarta.persistence Jakarta Persistence is the API for the management for persistence and object/relational mapping.jakarta.persistence.criteria Jakarta Persistence Criteria API -
-
Uses of Parameter in jakarta.persistence
Methods in jakarta.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 jakarta.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 jakarta.persistence with parameters of type Parameter 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<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.StoredProcedureQuery
StoredProcedureQuery. setParameter(Parameter<Calendar> param, Calendar value, TemporalType temporalType)
Bind an instance ofjava.util.Calendar
to aParameter
object.StoredProcedureQuery
StoredProcedureQuery. setParameter(Parameter<Date> param, Date value, TemporalType temporalType)
Bind an instance ofjava.util.Date
to aParameter
object.<T> StoredProcedureQuery
StoredProcedureQuery. 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 jakarta.persistence.criteria
Subinterfaces of Parameter in jakarta.persistence.criteria Modifier and Type Interface Description interface
ParameterExpression<T>
Type of criteria query parameter expressions.
-