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 Elements
    Modifier and Type
    Optional Element
    Description
    jakarta.persistence.TemporalType
    Deprecated, for removal: This API element is subject to removal in a future version.
    Defines the TemporalType to use for the annotated parameter.
  • Element Details

    • value

      jakarta.persistence.TemporalType value
      Deprecated, for removal: This API element is subject to removal in a future version.
      Defines the TemporalType to use for the annotated parameter.
      Default:
      DATE