Package org.hibernate.annotations
Annotation Interface FractionalSeconds
@Target({METHOD,FIELD})
@Retention(RUNTIME)
@Incubating
@Deprecated(since="7.0",
forRemoval=true)
public @interface FractionalSeconds
Deprecated, for removal: This API element is subject to removal in a future version.
Indicates that the associated temporal value should be stored with fractional seconds.
Only valid for values which contain seconds.
- Since:
- 6.5
- 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 ElementsModifier and TypeRequired ElementDescriptionint
Deprecated, for removal: This API element is subject to removal in a future version.The fractional precision for the associated seconds.
-
Element Details
-
value
int valueDeprecated, for removal: This API element is subject to removal in a future version.The fractional precision for the associated seconds. Generally this will be one of- 3 (milliseconds)
- 6 (microseconds)
- 9 (nanoseconds)
-
Column.secondPrecision()
which was introduced in JPA 3.2