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