public class PersistentTimestamp extends AbstractVersionableUserType<Timestamp,Timestamp,TimestampColumnTimestampMapper> implements org.hibernate.usertype.ParameterizedType, IntegratorConfiguredType
Date
via Hibernate. 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.
Alternatively provide the 'javaZone' can be used to similarly configure the zone of the
value on return from the database.Constructor and Description |
---|
PersistentTimestamp() |
Modifier and Type | Method and Description |
---|---|
int |
compare(Object o1,
Object o2) |
applyConfiguration, next, seed
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
assemble, deepCopy, disassemble, equals, hashCode, isMutable, nullSafeGet, nullSafeSet, replace, returnedClass, sqlTypes
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public PersistentTimestamp()
public int compare(Object o1, Object o2)
compare
in interface Comparator
compare
in class AbstractVersionableUserType<Timestamp,Timestamp,TimestampColumnTimestampMapper>
Copyright © 2010–2018 Jadira Systems. All rights reserved.