org.hibernate.type
Class AbstractCharArrayType
- Serializable, Type
public abstract class AbstractCharArrayType
Logic to bind stream of char into a VARCHAR
fromStringValue , fromXMLNode , fromXMLString , get , getColumnSpan , isDirty , isEqual , isEqual , nullSafeGet , nullSafeGet , nullSafeGet , nullSafeGet , nullSafeSet , nullSafeSet , nullSafeSet , nullSafeToString , set , setToXMLNode , sqlType , sqlTypes , toColumnNullness , toLoggableString , toString , toXMLString |
assemble , beforeAssemble , compare , disassemble , getHashCode , getHashCode , getSemiResolvedType , hydrate , isAnyType , isAssociationType , isCollectionType , isComponentType , isDirty , isEntityType , isEqual , isEqual , isModified , isSame , isXMLElement , replace , replaceNode , resolve , semiResolve |
get
public Object get(ResultSet rs,
String name)
throws SQLException
- get in interface NullableType
getReturnedClass
public abstract Class getReturnedClass()
The class returned by nullSafeGet() methods. This is used to
establish the class of an array of this type.
- getReturnedClass in interface Type
objectToSQLString
public String objectToSQLString(Object value,
Dialect dialect)
throws Exception
set
public void set(PreparedStatement st,
Object value,
int index)
throws SQLException
- set in interface NullableType
stringToObject
public Object stringToObject(String xml)
throws Exception
toExternalFormat
protected abstract Object toExternalFormat(char[] chars)
Convert the char[] into the expected object type
toInternalFormat
protected abstract char[] toInternalFormat(Object chars)
Convert the object into the internal char[] representation