Uses of Enum
javax.persistence.TemporalType
Packages that use TemporalType
-
Uses of TemporalType in javax.persistence
Subclasses with type arguments of type TemporalType in javax.persistenceModifier and TypeClassDescriptionenumType used to indicate a specific mapping ofjava.util.Dateorjava.util.Calendar.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.TypedQuery.setParameter(int position, Calendar value, TemporalType temporalType) Bind an instance ofjava.util.Calendarto a positional parameter.TypedQuery.setParameter(int position, Date value, TemporalType temporalType) Bind an instance ofjava.util.Dateto a positional parameter.TypedQuery.setParameter(String name, Calendar value, TemporalType temporalType) Bind an instance ofjava.util.Calendarto a named parameter.TypedQuery.setParameter(String name, Date value, TemporalType temporalType) Bind an instance ofjava.util.Dateto a named parameter.TypedQuery.setParameter(Parameter<Calendar> param, Calendar value, TemporalType temporalType) Bind an instance ofjava.util.Calendarto aParameterobject.TypedQuery.setParameter(Parameter<Date> param, Date value, TemporalType temporalType) Bind an instance ofjava.util.Dateto aParameterobject.