Uses of Enum
javax.persistence.TemporalType
-
Uses of TemporalType in javax.persistence
Methods in javax.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 javax.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(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.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.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(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.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.