public class PersistentDateTimeAndZone extends AbstractParameterizedTemporalMultiColumnUserType<org.joda.time.DateTime>
DateTime
via Hibernate. The offset will be stored in an extra column.Constructor and Description |
---|
PersistentDateTimeAndZone() |
Modifier and Type | Method and Description |
---|---|
protected org.joda.time.DateTime |
fromConvertedColumns(Object[] convertedColumns) |
protected ColumnMapper<?,?>[] |
getColumnMappers() |
String[] |
getPropertyNames() |
protected Object[] |
toConvertedColumns(org.joda.time.DateTime value) |
applyConfiguration
doWrapSession, getParameterValues, setParameterValues
assemble, disassemble, getPropertyTypes, getPropertyValue, initialise, nullSafeGet, nullSafeSet, replace, returnedClass, setPropertyValue, sqlTypes
afterNullSafeOperation, assemble, beforeNullSafeOperation, deepCopy, disassemble, equals, hashCode, isMutable, replace
public PersistentDateTimeAndZone()
protected org.joda.time.DateTime fromConvertedColumns(Object[] convertedColumns)
fromConvertedColumns
in class AbstractMultiColumnUserType<org.joda.time.DateTime>
protected Object[] toConvertedColumns(org.joda.time.DateTime value)
toConvertedColumns
in class AbstractMultiColumnUserType<org.joda.time.DateTime>
protected ColumnMapper<?,?>[] getColumnMappers()
getColumnMappers
in class AbstractMultiColumnUserType<org.joda.time.DateTime>
public String[] getPropertyNames()
getPropertyNames
in interface org.hibernate.usertype.CompositeUserType
getPropertyNames
in class AbstractMultiColumnUserType<org.joda.time.DateTime>
Copyright © 2010–2018 Jadira Systems. All rights reserved.