org.hibernate.type
Class BinaryType
- Comparator, Serializable, Type, VersionType
binary: A type that maps an SQL VARBINARY to a Java byte[].
String | getName() - Returns the abbreviated name of the type.
|
Class | getReturnedClass() - The class returned by nullSafeGet() methods.
|
protected Object | toExternalFormat(byte[] bytes) - Convert the byte[] into the expected object type
|
protected byte[] | toInternalFormat(Object bytes) - Convert the object into the internal byte[] representation
|
compare , compare , deepCopyNotNull , fromStringValue , get , getComparator , getHashCode , getName , isEqual , next , seed , set , sqlType , toExternalFormat , toInternalFormat , toString |
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 |
getReturnedClass
public 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
toInternalFormat
protected byte[] toInternalFormat(Object bytes)
Convert the object into the internal byte[] representation
- toInternalFormat in interface AbstractBynaryType