Top Description Fields Constructors Methods
org.hibernate.tuple

pack-priv final Class TimestampGenerators

extends Object
Class Inheritance
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

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)

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)
Annotations
@SuppressWarnings:unchecked