Class CurrentTimestampGeneration

java.lang.Object
org.hibernate.generator.internal.CurrentTimestampGeneration
All Implemented Interfaces:
Serializable, BeforeExecutionGenerator, Generator, OnExecutionGenerator

public class CurrentTimestampGeneration extends Object implements BeforeExecutionGenerator, OnExecutionGenerator
Value generation strategy which produces a timestamp using the database current_timestamp function or the JVM current instant.

Underlies the CurrentTimestamp, CreationTimestamp, and UpdateTimestamp annotations.

Since:
6.0
See Also: