public class PersistentDurationAsString extends AbstractSingleColumnUserType<java.time.Duration,String,StringColumnDurationMapper>
Duration
to and from String for Hibernate. This type is
mostly compatible with org.joda.time.contrib.hibernate.PersistentDuration however
you should note that JodaTime's org.joda.time.Duration has only millisecond precision,
whilst JSR 310 offers nanosecond precision. When interpreting nanosecond values, Joda time will
round down to the nearest millisecond.Constructor and Description |
---|
PersistentDurationAsString() |
doNullSafeGet, doNullSafeSet, doWrapSession, fromXMLString, getColumnMapper, nullSafeGet, nullSafeSet, objectToSQLString, returnedClass, sqlTypes, toXMLString
afterNullSafeOperation, assemble, beforeNullSafeOperation, deepCopy, disassemble, equals, hashCode, isMutable, replace
public PersistentDurationAsString()
Copyright © 2010–2018 Jadira Systems. All rights reserved.