public class HibernateTimeInstantType extends AbstractStringBasedHibernateUserType<Time>
Modifier and Type | Field and Description |
---|---|
private static String |
VALUE_SEPARATOR |
Constructor and Description |
---|
HibernateTimeInstantType() |
Modifier and Type | Method and Description |
---|---|
protected Time |
decode(String s) |
private Time |
decodeTimeInstant(String s) |
protected String |
encode(Time t) |
private String |
encodeTimeInstant(TimeInstant t) |
deepCopy, nullSafeGet, nullSafeSet, sqlTypes
assemble, disassemble, equals, hashCode, isMutable, replace, returnedClass
private static final String VALUE_SEPARATOR
protected Time decode(String s) throws org.hibernate.HibernateException
decode
in class AbstractStringBasedHibernateUserType<Time>
org.hibernate.HibernateException
protected String encode(Time t) throws org.hibernate.HibernateException
encode
in class AbstractStringBasedHibernateUserType<Time>
org.hibernate.HibernateException
private Time decodeTimeInstant(String s) throws DateTimeParseException
DateTimeParseException
private String encodeTimeInstant(TimeInstant t)
Copyright © 2012-2015 52north.org. All Rights Reserved.