public class PersistentInstantAsNanosBigInteger extends AbstractVersionableUserType<java.time.Instant,BigInteger,BigIntegerColumnInstantMapper>
Instant
via Hibernate using nanoseconds of the day. This class is INCOMPATIBLE with
Joda Time's org.joda.time.contrib.hibernate.PersistentInstantExact because that class uses a millisecond rather than nanosecond
absolute value. For compatibility use PersistentInstantAsMillisLong
PersistentInstantAsMillisLong
,
Serialized FormConstructor and Description |
---|
PersistentInstantAsNanosBigInteger() |
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
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 PersistentInstantAsNanosBigInteger()
public int compare(Object o1, Object o2)
compare
in interface Comparator
compare
in class AbstractVersionableUserType<java.time.Instant,BigInteger,BigIntegerColumnInstantMapper>
Copyright © 2010–2018 Jadira Systems. All rights reserved.