public abstract class AbstractReflectionUserType<T> extends AbstractHeuristicUserType implements org.hibernate.usertype.EnhancedUserType, Serializable
Constructor and Description |
---|
AbstractReflectionUserType() |
Modifier and Type | Method and Description |
---|---|
Object |
doNullSafeGet(ResultSet rs,
String[] names,
org.hibernate.engine.SessionImplementor session,
Object owner) |
void |
doNullSafeSet(PreparedStatement preparedStatement,
Object value,
int index,
org.hibernate.engine.SessionImplementor session) |
protected Class<?> |
getMappedClass() |
String |
objectToSQLString(Object object) |
Class<T> |
returnedClass() |
protected void |
setIdentifierMethod(Method identifierMethod) |
protected void |
setMappedClass(Class<?> mappedClass) |
void |
setParameterValues(Properties parameters) |
protected void |
setValueOfMethod(Method valueOfMethod) |
String |
toXMLString(Object object) |
fromXMLString, getIdentifierType, getType, nullSafeGet, nullSafeSet, setIdentifierType, sqlTypes
afterNullSafeOperation, assemble, beforeNullSafeOperation, deepCopy, disassemble, equals, hashCode, isMutable, replace
public AbstractReflectionUserType()
protected void setMappedClass(Class<?> mappedClass)
protected Class<?> getMappedClass()
protected void setIdentifierMethod(Method identifierMethod)
protected void setValueOfMethod(Method valueOfMethod)
public void setParameterValues(Properties parameters)
setParameterValues
in class AbstractHeuristicUserType
public Class<T> returnedClass()
returnedClass
in interface org.hibernate.usertype.UserType
returnedClass
in class AbstractHeuristicUserType
public Object doNullSafeGet(ResultSet rs, String[] names, org.hibernate.engine.SessionImplementor session, Object owner) throws org.hibernate.HibernateException, SQLException, IllegalArgumentException, IllegalAccessException, InvocationTargetException
doNullSafeGet
in class AbstractHeuristicUserType
org.hibernate.HibernateException
SQLException
IllegalArgumentException
IllegalAccessException
InvocationTargetException
public void doNullSafeSet(PreparedStatement preparedStatement, Object value, int index, org.hibernate.engine.SessionImplementor session) throws SQLException, IllegalArgumentException, IllegalAccessException, InvocationTargetException
doNullSafeSet
in class AbstractHeuristicUserType
SQLException
IllegalArgumentException
IllegalAccessException
InvocationTargetException
public String objectToSQLString(Object object)
objectToSQLString
in interface org.hibernate.usertype.EnhancedUserType
objectToSQLString
in class AbstractHeuristicUserType
public String toXMLString(Object object)
toXMLString
in interface org.hibernate.usertype.EnhancedUserType
toXMLString
in class AbstractHeuristicUserType
Copyright © 2010–2014 Jadira Systems. All rights reserved.