public class PersistentLocalTimeAsMillisInteger extends AbstractSingleColumnUserType<org.joda.time.LocalTime,Integer,IntegerColumnLocalTimeMapper>
LocalTime
via Hibernate using milliseconds of the day. This type is
mostly compatible with org.joda.time.contrib.hibernate.PersistentLocalTimeExact however
you should note that JodaTime's LocalTime
has only millisecond precision,
whilst JSR 310 offers nanosecond precision. When interpreting nanosecond values, Joda time will
round down to the nearest millisecond.PersistentLocalTimeAsNanosLong
,
Serialized FormConstructor and Description |
---|
PersistentLocalTimeAsMillisInteger() |
doNullSafeGet, doNullSafeSet, doWrapSession, fromXMLString, getColumnMapper, nullSafeGet, nullSafeSet, objectToSQLString, returnedClass, sqlTypes, toXMLString
afterNullSafeOperation, assemble, beforeNullSafeOperation, deepCopy, disassemble, equals, hashCode, isMutable, replace
public PersistentLocalTimeAsMillisInteger()
Copyright © 2010–2018 Jadira Systems. All rights reserved.