Package org.hibernate.annotations
Annotation Type CurrentTimestamp
-
@Retention(RUNTIME) @Target({FIELD,METHOD,ANNOTATION_TYPE}) @Inherited public @interface CurrentTimestamp
Specifies that the databasecurrent_timestamp
function is used to generate values of the annotated attribute, based ontiming()
.- See Also:
CurrentTimestampGeneration
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description GenerationTiming
timing
-
-
-
Element Detail
-
timing
GenerationTiming timing
-
-