Annotation Interface Temporal


@Retention(RUNTIME) @Target(PARAMETER) @Documented public @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

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    jakarta.persistence.TemporalType
    Defines the TemporalType to use for the annotated parameter.
  • Element Details

    • value

      jakarta.persistence.TemporalType value
      Defines the TemporalType to use for the annotated parameter.
      Default:
      DATE