org.hibernate.type
Class SerializableToBlobType
java.lang.Object
org.hibernate.type.AbstractType
org.hibernate.type.AbstractLobType
org.hibernate.type.SerializableToBlobType
- All Implemented Interfaces:
- Serializable, Type, ParameterizedType
public class SerializableToBlobType
- extends AbstractLobType
- implements ParameterizedType
- Author:
- Emmanuel Bernard
- See Also:
- Serialized Form
|
Method Summary |
Object |
deepCopy(Object value,
EntityMode entityMode,
SessionFactoryImplementor factory)
|
Object |
fromXMLNode(org.dom4j.Node xml,
Mapping factory)
|
Object |
get(ResultSet rs,
String name)
|
int |
getHashCode(Object x,
EntityMode entityMode,
SessionFactoryImplementor session)
|
Class |
getReturnedClass()
|
boolean |
isEqual(Object x,
Object y,
EntityMode entityMode,
SessionFactoryImplementor factory)
|
boolean |
isMutable()
|
Object |
replace(Object original,
Object target,
SessionImplementor session,
Object owner,
Map copyCache)
|
void |
set(PreparedStatement st,
Object value,
int index,
SessionImplementor session)
|
void |
setParameterValues(Properties parameters)
|
void |
setToXMLNode(org.dom4j.Node node,
Object value,
SessionFactoryImplementor factory)
|
int[] |
sqlTypes(Mapping mapping)
|
boolean[] |
toColumnNullness(Object value,
Mapping mapping)
|
String |
toLoggableString(Object value,
SessionFactoryImplementor factory)
|
| Methods inherited from class org.hibernate.type.AbstractType |
assemble, beforeAssemble, compare, disassemble, getSemiResolvedType, hydrate, isAnyType, isAssociationType, isCollectionType, isComponentType, isDirty, isEntityType, isModified, isSame, isXMLElement, replace, replaceNode, resolve, semiResolve |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CLASS_NAME
public static final String CLASS_NAME
- class name of the serialisable class
- See Also:
- Constant Field Values
SerializableToBlobType
public SerializableToBlobType()
sqlTypes
public int[] sqlTypes(Mapping mapping)
throws MappingException
- Specified by:
sqlTypes in interface Type
- Throws:
MappingException
getReturnedClass
public Class getReturnedClass()
- Specified by:
getReturnedClass in interface Type
isEqual
public boolean isEqual(Object x,
Object y,
EntityMode entityMode,
SessionFactoryImplementor factory)
- Specified by:
isEqual in interface Type- Overrides:
isEqual in class AbstractType
getHashCode
public int getHashCode(Object x,
EntityMode entityMode,
SessionFactoryImplementor session)
- Specified by:
getHashCode in interface Type- Overrides:
getHashCode in class AbstractType
get
public Object get(ResultSet rs,
String name)
throws SQLException
- Specified by:
get in class AbstractLobType
- Throws:
SQLException
set
public void set(PreparedStatement st,
Object value,
int index,
SessionImplementor session)
throws SQLException
- Specified by:
set in class AbstractLobType
- Throws:
SQLException
setToXMLNode
public void setToXMLNode(org.dom4j.Node node,
Object value,
SessionFactoryImplementor factory)
throws HibernateException
- Specified by:
setToXMLNode in interface Type
- Throws:
HibernateException
toLoggableString
public String toLoggableString(Object value,
SessionFactoryImplementor factory)
throws HibernateException
- Specified by:
toLoggableString in interface Type
- Throws:
HibernateException
fromXMLNode
public Object fromXMLNode(org.dom4j.Node xml,
Mapping factory)
throws HibernateException
- Specified by:
fromXMLNode in interface Type
- Throws:
HibernateException
deepCopy
public Object deepCopy(Object value,
EntityMode entityMode,
SessionFactoryImplementor factory)
throws HibernateException
- Specified by:
deepCopy in interface Type
- Throws:
HibernateException
isMutable
public boolean isMutable()
- Specified by:
isMutable in interface Type
replace
public Object replace(Object original,
Object target,
SessionImplementor session,
Object owner,
Map copyCache)
throws HibernateException
- Specified by:
replace in interface Type
- Throws:
HibernateException
toColumnNullness
public boolean[] toColumnNullness(Object value,
Mapping mapping)
- Specified by:
toColumnNullness in interface Type
setParameterValues
public void setParameterValues(Properties parameters)
- Specified by:
setParameterValues in interface ParameterizedType
Copyright © 2011 Hibernate.org. All Rights Reserved.