public class InstantType extends HibernateUserType
Instant
class. Maps the time value to a
Long
for storage in the database.Constructor and Description |
---|
InstantType() |
Modifier and Type | Method and Description |
---|---|
Object |
deepCopy(Object value) |
boolean |
equals(Object x,
Object y) |
boolean |
isMutable() |
Object |
nullSafeGet(ResultSet rs,
String[] names,
Object owner) |
void |
nullSafeSet(PreparedStatement st,
Object value,
int index) |
Class |
returnedClass() |
int[] |
sqlTypes() |
assemble, disassemble, hashCode, nullSafeGet, nullSafeSet, replace
public int[] sqlTypes()
public Class returnedClass()
public Object nullSafeGet(ResultSet rs, String[] names, Object owner) throws net.sf.hibernate.HibernateException, SQLException
nullSafeGet
in class HibernateUserType
net.sf.hibernate.HibernateException
SQLException
public void nullSafeSet(PreparedStatement st, Object value, int index) throws net.sf.hibernate.HibernateException, SQLException
nullSafeSet
in class HibernateUserType
net.sf.hibernate.HibernateException
SQLException
public boolean isMutable()
Copyright © 2003–2017 Atlassian. All rights reserved.