Annotation Interface FractionalSeconds


@Target({METHOD,FIELD}) @Retention(RUNTIME) @Incubating public @interface FractionalSeconds
Indicates that the associated temporal value should be stored with fractional seconds. Only valid for values which contain seconds.
See Also:
API Note:
The presence or absence of this annotation implies different semantics for time versus timestamp based values. By default, time values are stored without fractional seconds whereas timestamp values are stored with a precision based on the Dialect default
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    int
    The fractional precision for the associated seconds.
  • Element Details

    • value

      int value
      The fractional precision for the associated seconds. Generally this will be one of
      • 3 (milliseconds)
      • 6 (microseconds)
      • 9 (nanoseconds)