Top Description Fields Constructors Methods
org.hibernate.tuple

public final Class TimestampGenerators

extends Object
Class Inheritance
Annotations
@Deprecated
Imports
java.sql.Time, .Timestamp, java.time.Instant, .LocalDate, .LocalDateTime, .LocalTime, .MonthDay, .OffsetDateTime, .OffsetTime, .Year, .YearMonth, .ZonedDateTime, java.util.Calendar, .Date, .HashMap, .Map, .Objects, org.hibernate.HibernateException

Deprecated

This style of generation has been replaced by org.hibernate.generator

Generators for obtaining the current VM timestamp in different representations.
Author
Gunnar Morling

Field Summary

Modifier and TypeField and Description
private static final Map<Class<?>, ValueGenerator<?>>

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static <T> ValueGenerator<T>
get(final Class<T> type)

Deprecated as a consequence of ValueGenerator being deprecated.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

generatorsback to summary
private static final Map<Class<?>, ValueGenerator<?>> generators

Constructor Detail

TimestampGeneratorsback to summary
private TimestampGenerators()

Method Detail

getback to summary
public static <T> ValueGenerator<T> get(final Class<T> type)

Deprecated

as a consequence of ValueGenerator being deprecated. See corresponding docs for further information.

Annotations
@SuppressWarnings:unchecked