public class PersistentPeriodAsString extends AbstractSingleColumnUserType<java.time.Period,String,StringColumnPeriodMapper>
Period
to and from String for Hibernate. This type is
mostly compatible with org.joda.time.contrib.hibernate.PersistentPeriod however
you should note that JodaTime's org.joda.time.Period 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 |
---|
PersistentPeriodAsString() |
doNullSafeGet, doNullSafeSet, doWrapSession, fromXMLString, getColumnMapper, nullSafeGet, nullSafeSet, objectToSQLString, returnedClass, sqlTypes, toXMLString
afterNullSafeOperation, assemble, beforeNullSafeOperation, deepCopy, disassemble, equals, hashCode, isMutable, replace
public PersistentPeriodAsString()
Copyright © 2010–2018 Jadira Systems. All rights reserved.