public class PersistentDurationAsSecondsInteger extends AbstractSingleColumnUserType<java.time.Duration,Integer,IntegerColumnDurationMapper>
Duration
to and from Integer for Hibernate. This type aims to be compatible with
JPA / JDBC 4.2's mapping of Duration to seconds.Constructor and Description |
---|
PersistentDurationAsSecondsInteger() |
doNullSafeGet, doNullSafeSet, doWrapSession, fromXMLString, getColumnMapper, nullSafeGet, nullSafeSet, objectToSQLString, returnedClass, sqlTypes, toXMLString
afterNullSafeOperation, assemble, beforeNullSafeOperation, deepCopy, disassemble, equals, hashCode, isMutable, replace
public PersistentDurationAsSecondsInteger()
Copyright © 2010–2018 Jadira Systems. All rights reserved.