public class PersistentOffsetTimeAsTimestamp extends AbstractParameterizedTemporalUserType<java.time.OffsetTime,Timestamp,TimestampColumnOffsetTimeMapper> implements org.hibernate.usertype.ParameterizedType, IntegratorConfiguredType
OffsetTime
via Hibernate using nanoseconds of the day. This uses a long value stored as nanoseconds
in the database.
The type is stored using the timezone as configured
using Hibernate's configuration property 'hibernate.jdbc.time_zone' and presented in the
JVM using the JVM's default zone. You can optionally override or use as an alternative to this property the
parameter 'databaseZone' on this type.
Alternatively provide the 'javaZone' can be used to similarly configure the zone of the
value on return from the database.Constructor and Description |
---|
PersistentOffsetTimeAsTimestamp() |
applyConfiguration
doWrapSession, getParameterValues, setParameterValues
doNullSafeGet, doNullSafeSet, fromXMLString, getColumnMapper, nullSafeGet, nullSafeSet, objectToSQLString, returnedClass, sqlTypes, toXMLString
afterNullSafeOperation, assemble, beforeNullSafeOperation, deepCopy, disassemble, equals, hashCode, isMutable, replace
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
applyConfiguration
public PersistentOffsetTimeAsTimestamp()
Copyright © 2010–2018 Jadira Systems. All rights reserved.