T
- the type that is serialized to a stringpublic abstract class AbstractStringBasedHibernateUserType<T> extends AbstractHibernateUserType
Constructor and Description |
---|
AbstractStringBasedHibernateUserType(Class<T> clazz) |
Modifier and Type | Method and Description |
---|---|
protected abstract T |
decode(String s) |
Object |
deepCopy(Object value) |
protected abstract String |
encode(T t) |
Object |
nullSafeGet(ResultSet rs,
String[] names,
org.hibernate.engine.spi.SessionImplementor session,
Object owner) |
void |
nullSafeSet(PreparedStatement st,
Object value,
int index,
org.hibernate.engine.spi.SessionImplementor session) |
int[] |
sqlTypes() |
assemble, disassemble, equals, hashCode, isMutable, replace, returnedClass
public int[] sqlTypes()
public Object nullSafeGet(ResultSet rs, String[] names, org.hibernate.engine.spi.SessionImplementor session, Object owner) throws org.hibernate.HibernateException, SQLException
org.hibernate.HibernateException
SQLException
public void nullSafeSet(PreparedStatement st, Object value, int index, org.hibernate.engine.spi.SessionImplementor session) throws org.hibernate.HibernateException, SQLException
org.hibernate.HibernateException
SQLException
public Object deepCopy(Object value) throws org.hibernate.HibernateException
org.hibernate.HibernateException
protected abstract T decode(String s) throws org.hibernate.HibernateException
org.hibernate.HibernateException
Copyright © 2012-2015 52north.org. All Rights Reserved.