public abstract class AbstractReflectionUserType<T> extends AbstractKnownClassHeuristicUserType<T> 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.spi.SharedSessionContractImplementor session,
Object owner) |
void |
doNullSafeSet(PreparedStatement preparedStatement,
Object value,
int index,
org.hibernate.engine.spi.SharedSessionContractImplementor session) |
protected Method |
getIdentifierMethod() |
protected Method |
getValueOfMethod() |
String |
objectToSQLString(Object object) |
Class<T> |
returnedClass() |
protected void |
setIdentifierMethod(Method identifierMethod) |
void |
setParameterValues(Properties parameters) |
protected void |
setValueOfMethod(Method valueOfMethod) |
String |
toXMLString(Object object)
Deprecated.
|
getMappedClass, setMappedClass
fromXMLString, getIdentifierType, getType, nullSafeGet, nullSafeSet, setIdentifierType, sqlTypes
afterNullSafeOperation, assemble, beforeNullSafeOperation, deepCopy, disassemble, equals, hashCode, isMutable, replace
public AbstractReflectionUserType()
protected void setIdentifierMethod(Method identifierMethod)
protected Method getIdentifierMethod()
protected void setValueOfMethod(Method valueOfMethod)
protected Method getValueOfMethod()
public void setParameterValues(Properties parameters)
setParameterValues
in class AbstractKnownClassHeuristicUserType<T>
public Class<T> returnedClass()
returnedClass
in interface org.hibernate.usertype.UserType
returnedClass
in class AbstractKnownClassHeuristicUserType<T>
public Object doNullSafeGet(ResultSet rs, String[] names, org.hibernate.engine.spi.SharedSessionContractImplementor 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.spi.SharedSessionContractImplementor 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
@Deprecated public String toXMLString(Object object)
toXMLString
in interface org.hibernate.usertype.EnhancedUserType
toXMLString
in class AbstractHeuristicUserType
Copyright © 2010–2018 Jadira Systems. All rights reserved.