public abstract class AbstractSingleColumnUserType<T,J,C extends ColumnMapper<T,J>> extends AbstractUserType implements org.hibernate.usertype.EnhancedUserType, Serializable
Constructor and Description |
---|
AbstractSingleColumnUserType() |
Modifier and Type | Method and Description |
---|---|
protected J |
doNullSafeGet(ResultSet resultSet,
String[] strings,
org.hibernate.engine.spi.SharedSessionContractImplementor session,
Object object) |
protected void |
doNullSafeSet(PreparedStatement preparedStatement,
J transformedValue,
int index,
org.hibernate.engine.spi.SharedSessionContractImplementor session) |
protected org.hibernate.engine.spi.SharedSessionContractImplementor |
doWrapSession(org.hibernate.engine.spi.SharedSessionContractImplementor session) |
T |
fromXMLString(String string) |
C |
getColumnMapper() |
T |
nullSafeGet(ResultSet resultSet,
String[] strings,
org.hibernate.engine.spi.SharedSessionContractImplementor session,
Object object) |
void |
nullSafeSet(PreparedStatement preparedStatement,
Object value,
int index,
org.hibernate.engine.spi.SharedSessionContractImplementor session) |
String |
objectToSQLString(Object object) |
Class<T> |
returnedClass() |
int[] |
sqlTypes() |
String |
toXMLString(Object object) |
afterNullSafeOperation, assemble, beforeNullSafeOperation, deepCopy, disassemble, equals, hashCode, isMutable, replace
public AbstractSingleColumnUserType()
public final C getColumnMapper()
public Class<T> returnedClass()
returnedClass
in interface org.hibernate.usertype.UserType
public final int[] sqlTypes()
sqlTypes
in interface org.hibernate.usertype.UserType
public T nullSafeGet(ResultSet resultSet, String[] strings, org.hibernate.engine.spi.SharedSessionContractImplementor session, Object object) throws SQLException
nullSafeGet
in interface org.hibernate.usertype.UserType
SQLException
protected J doNullSafeGet(ResultSet resultSet, String[] strings, org.hibernate.engine.spi.SharedSessionContractImplementor session, Object object) throws SQLException
SQLException
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
protected void doNullSafeSet(PreparedStatement preparedStatement, J transformedValue, int index, org.hibernate.engine.spi.SharedSessionContractImplementor session) throws SQLException
SQLException
public String objectToSQLString(Object object)
objectToSQLString
in interface org.hibernate.usertype.EnhancedUserType
public String toXMLString(Object object)
toXMLString
in interface org.hibernate.usertype.EnhancedUserType
public T fromXMLString(String string)
fromXMLString
in interface org.hibernate.usertype.EnhancedUserType
protected org.hibernate.engine.spi.SharedSessionContractImplementor doWrapSession(org.hibernate.engine.spi.SharedSessionContractImplementor session)
Copyright © 2010–2018 Jadira Systems. All rights reserved.