Uses of Enum
jakarta.persistence.TemporalType
-
Uses of TemporalType in jakarta.persistence
Methods in jakarta.persistence that return TemporalTypeModifier and TypeMethodDescriptionstatic TemporalTypeReturns the enum constant of this type with the specified name.static TemporalType[]TemporalType.values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in jakarta.persistence with parameters of type TemporalTypeModifier and TypeMethodDescriptionQuery.setParameter(int position, Calendar value, TemporalType temporalType) Bind an instance ofjava.util.Calendarto a positional parameter.Query.setParameter(int position, Date value, TemporalType temporalType) Bind an instance ofjava.util.Dateto a positional parameter.Query.setParameter(Parameter<Calendar> param, Calendar value, TemporalType temporalType) Bind an instance ofjava.util.Calendarto aParameterobject.Query.setParameter(Parameter<Date> param, Date value, TemporalType temporalType) Bind an instance ofjava.util.Dateto aParameterobject.Query.setParameter(String name, Calendar value, TemporalType temporalType) Bind an instance ofjava.util.Calendarto a named parameter.Query.setParameter(String name, Date value, TemporalType temporalType) Bind an instance ofjava.util.Dateto a named parameter.StoredProcedureQuery.setParameter(int position, Calendar value, TemporalType temporalType) Bind an instance of java.util.Calendar to a positional parameter.StoredProcedureQuery.setParameter(int position, Date value, TemporalType temporalType) Bind an instance of java.util.Date to a positional parameter.StoredProcedureQuery.setParameter(Parameter<Calendar> param, Calendar value, TemporalType temporalType) Bind an instance of java.util.Calendar to a Parameter object.StoredProcedureQuery.setParameter(Parameter<Date> param, Date value, TemporalType temporalType) Bind an instance of java.util.Date to a Parameter object.StoredProcedureQuery.setParameter(String name, Calendar value, TemporalType temporalType) Bind an instance of java.util.Calendar to a named parameter.StoredProcedureQuery.setParameter(String name, Date value, TemporalType temporalType) Bind an instance of java.util.Date to a named parameter.