Package org.hibernate.annotations
Annotation Type Source
-
@Deprecated(since="6.2") @Target({METHOD,FIELD}) @Retention(RUNTIME) public @interface Source
Deprecated.useCurrentTimestampinsteadIndicates the source of timestamps for an entity version property of typeTimestamp:SourceType.VMindicates that the virtual machine current instance is used, andSourceType.DBindicates that the databasecurrent_timestampfunction should be used.
{@code- See Also:
Version
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description SourceTypevalueDeprecated.The source of timestamps.
-
-
-
Element Detail
-
value
SourceType value
Deprecated.The source of timestamps. By default, the virtual machine is the source.- Default:
- org.hibernate.annotations.SourceType.VM
-
-