Annotation Interface Temporal
@Retention(RUNTIME)
@Target(PARAMETER)
@Documented
@Deprecated(since="4.0",
forRemoval=true)
public @interface Temporal
Deprecated, for removal: This API element is subject to removal in a future version.
since 4.0. Please use java.time types instead.
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
Optional ElementsModifier and TypeOptional ElementDescriptionjakarta.persistence.TemporalType
Deprecated, for removal: This API element is subject to removal in a future version.Defines theTemporalType
to use for the annotated parameter.
-
Element Details
-
value
jakarta.persistence.TemporalType valueDeprecated, for removal: This API element is subject to removal in a future version.Defines theTemporalType
to use for the annotated parameter.- Default:
- DATE
-