Annotation Interface Temporal
Annotation to declare an appropriate
TemporalType
on query method parameters. Note that this annotation can
only be used on parameters of type Date
.- Author:
- Thomas Darimont, Oliver Gierke
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionjakarta.persistence.TemporalType
Defines theTemporalType
to use for the annotated parameter.
-
Element Details
-
value
jakarta.persistence.TemporalType valueDefines theTemporalType
to use for the annotated parameter.- Default:
- DATE
-