public class PersistentOffsetTimeAsLongAndStringOffset extends AbstractMultiColumnUserType<java.time.OffsetTime>
OffsetTime
via Hibernate using nanoseconds of the day. This uses a long value stored as nanoseconds
in the database and a String for offset.Constructor and Description |
---|
PersistentOffsetTimeAsLongAndStringOffset() |
Modifier and Type | Method and Description |
---|---|
protected java.time.OffsetTime |
fromConvertedColumns(Object[] convertedColumns) |
protected ColumnMapper<?,?>[] |
getColumnMappers() |
String[] |
getPropertyNames() |
protected Object[] |
toConvertedColumns(java.time.OffsetTime value) |
assemble, disassemble, doWrapSession, getPropertyTypes, getPropertyValue, initialise, nullSafeGet, nullSafeSet, replace, returnedClass, setPropertyValue, sqlTypes
afterNullSafeOperation, assemble, beforeNullSafeOperation, deepCopy, disassemble, equals, hashCode, isMutable, replace
public PersistentOffsetTimeAsLongAndStringOffset()
protected java.time.OffsetTime fromConvertedColumns(Object[] convertedColumns)
fromConvertedColumns
in class AbstractMultiColumnUserType<java.time.OffsetTime>
protected ColumnMapper<?,?>[] getColumnMappers()
getColumnMappers
in class AbstractMultiColumnUserType<java.time.OffsetTime>
protected Object[] toConvertedColumns(java.time.OffsetTime value)
toConvertedColumns
in class AbstractMultiColumnUserType<java.time.OffsetTime>
public String[] getPropertyNames()
getPropertyNames
in interface org.hibernate.usertype.CompositeUserType
getPropertyNames
in class AbstractMultiColumnUserType<java.time.OffsetTime>
Copyright © 2010–2018 Jadira Systems. All rights reserved.