Uses of Interface
jakarta.persistence.Parameter
Package
Description
Jakarta Persistence is the API for the management for persistence and object/relational mapping.
Jakarta Persistence Criteria API
-
Uses of Parameter in jakarta.persistence
Modifier and TypeMethodDescriptionParameter<?>
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 TypeMethodDescriptionQuery.getParameters()
Get the parameter objects corresponding to the declared parameters of the query.Modifier and TypeMethodDescription<T> T
Query.getParameterValue
(Parameter<T> param) Return the input value bound to the parameter.boolean
Return a boolean indicating whether a value has been bound to the parameter.Query.setParameter
(Parameter<Calendar> param, Calendar value, TemporalType temporalType) Deprecated.Query.setParameter
(Parameter<Date> param, Date value, TemporalType temporalType) Deprecated.Newly-written code should use the date/time types defined injava.time
.<T> Query
Query.setParameter
(Parameter<T> param, T value) Bind the value of aParameter
object.StoredProcedureQuery.setParameter
(Parameter<Calendar> param, Calendar value, TemporalType temporalType) Deprecated.Newly-written code should use the date/time types defined injava.time
.StoredProcedureQuery.setParameter
(Parameter<Date> param, Date value, TemporalType temporalType) Deprecated.Newly-written code should use the date/time types defined injava.time
.StoredProcedureQuery.setParameter
(Parameter<T> param, T value) Bind the value of aParameter
object.TypedQuery.setParameter
(Parameter<Calendar> param, Calendar value, TemporalType temporalType) Deprecated.Newly-written code should use the date/time types defined injava.time
.TypedQuery.setParameter
(Parameter<Date> param, Date value, TemporalType temporalType) Deprecated.Newly-written code should use the date/time types defined injava.time
.<T> TypedQuery<X>
TypedQuery.setParameter
(Parameter<T> param, T value) Bind the value of aParameter
object. -
Uses of Parameter in jakarta.persistence.criteria
Modifier and TypeInterfaceDescriptioninterface
Type of criteria query parameter expressions.
java.time
.