public class ColumnMapperSingleColumnTypeAdapter<T,J> extends Object implements org.hibernate.type.SingleColumnType<T>
Constructor and Description |
---|
ColumnMapperSingleColumnTypeAdapter(ColumnMapper<T,J> columnMapper) |
Modifier and Type | Method and Description |
---|---|
Object |
assemble(Serializable cached,
org.hibernate.engine.SessionImplementor session,
Object owner) |
void |
beforeAssemble(Serializable cached,
org.hibernate.engine.SessionImplementor session) |
int |
compare(Object x,
Object y,
org.hibernate.EntityMode entityMode) |
Object |
deepCopy(Object x,
org.hibernate.EntityMode mode,
org.hibernate.engine.SessionFactoryImplementor sessionFactory) |
Serializable |
disassemble(Object value,
org.hibernate.engine.SessionImplementor session,
Object owner) |
T |
fromStringValue(String xml) |
Object |
fromXMLNode(org.dom4j.Node xml,
org.hibernate.engine.Mapping factory)
Deprecated.
|
Object |
get(ResultSet rs,
String name) |
Object |
get(ResultSet rs,
String name,
org.hibernate.engine.SessionImplementor session) |
int |
getColumnSpan(org.hibernate.engine.Mapping mapping) |
int |
getHashCode(Object x,
org.hibernate.EntityMode mode) |
int |
getHashCode(Object x,
org.hibernate.EntityMode mode,
org.hibernate.engine.SessionFactoryImplementor sessionFactory) |
String |
getName() |
Class |
getReturnedClass() |
org.hibernate.type.Type |
getSemiResolvedType(org.hibernate.engine.SessionFactoryImplementor factory) |
Object |
hydrate(ResultSet rs,
String[] names,
org.hibernate.engine.SessionImplementor session,
Object owner) |
boolean |
isAnyType() |
boolean |
isAssociationType() |
boolean |
isCollectionType() |
boolean |
isComponentType() |
boolean |
isDirty(Object oldState,
Object currentState,
boolean[] checkable,
org.hibernate.engine.SessionImplementor session) |
boolean |
isDirty(Object old,
Object current,
org.hibernate.engine.SessionImplementor session) |
boolean |
isEntityType() |
boolean |
isEqual(Object x,
Object y,
org.hibernate.EntityMode entityMode) |
boolean |
isEqual(Object x,
Object y,
org.hibernate.EntityMode entityMode,
org.hibernate.engine.SessionFactoryImplementor factory) |
boolean |
isModified(Object dbState,
Object currentState,
boolean[] checkable,
org.hibernate.engine.SessionImplementor session) |
boolean |
isMutable() |
boolean |
isSame(Object x,
Object y,
org.hibernate.EntityMode entityMode) |
boolean |
isXMLElement()
Deprecated.
|
T |
nullSafeGet(ResultSet rs,
String name) |
Object |
nullSafeGet(ResultSet rs,
String[] names,
org.hibernate.engine.SessionImplementor session,
Object owner) |
T |
nullSafeGet(ResultSet rs,
String name,
org.hibernate.engine.SessionImplementor session) |
Object |
nullSafeGet(ResultSet rs,
String name,
org.hibernate.engine.SessionImplementor session,
Object owner) |
void |
nullSafeSet(PreparedStatement st,
Object value,
int index,
boolean[] settable,
org.hibernate.engine.SessionImplementor session) |
void |
nullSafeSet(PreparedStatement st,
Object value,
int index,
org.hibernate.engine.SessionImplementor session) |
void |
nullSafeSet(PreparedStatement st,
T value,
int index) |
Object |
replace(Object original,
Object target,
org.hibernate.engine.SessionImplementor session,
Object owner,
Map copyCache) |
Object |
replace(Object original,
Object target,
org.hibernate.engine.SessionImplementor session,
Object owner,
Map copyCache,
org.hibernate.type.ForeignKeyDirection foreignKeyDirection) |
Object |
resolve(Object value,
org.hibernate.engine.SessionImplementor session,
Object owner) |
Object |
semiResolve(Object value,
org.hibernate.engine.SessionImplementor session,
Object owner) |
void |
set(PreparedStatement st,
Object value,
int index,
org.hibernate.engine.SessionImplementor session) |
void |
set(PreparedStatement st,
T value,
int index) |
void |
setToXMLNode(org.dom4j.Node node,
Object value,
org.hibernate.engine.SessionFactoryImplementor factory)
Deprecated.
|
int |
sqlType() |
int[] |
sqlTypes(org.hibernate.engine.Mapping mapping) |
boolean[] |
toColumnNullness(Object value,
org.hibernate.engine.Mapping mapping) |
String |
toLoggableString(Object value,
org.hibernate.engine.SessionFactoryImplementor factory) |
String |
toString(Object value) |
public ColumnMapperSingleColumnTypeAdapter(ColumnMapper<T,J> columnMapper)
public boolean isAssociationType()
isAssociationType
in interface org.hibernate.type.Type
public boolean isCollectionType()
isCollectionType
in interface org.hibernate.type.Type
public boolean isEntityType()
isEntityType
in interface org.hibernate.type.Type
public boolean isAnyType()
isAnyType
in interface org.hibernate.type.Type
public boolean isComponentType()
isComponentType
in interface org.hibernate.type.Type
public int getColumnSpan(org.hibernate.engine.Mapping mapping) throws org.hibernate.MappingException
getColumnSpan
in interface org.hibernate.type.Type
org.hibernate.MappingException
public int[] sqlTypes(org.hibernate.engine.Mapping mapping) throws org.hibernate.MappingException
sqlTypes
in interface org.hibernate.type.Type
org.hibernate.MappingException
public Class getReturnedClass()
getReturnedClass
in interface org.hibernate.type.Type
@Deprecated public boolean isXMLElement()
isXMLElement
in interface org.hibernate.type.Type
public int getHashCode(Object x, org.hibernate.EntityMode mode) throws org.hibernate.HibernateException
getHashCode
in interface org.hibernate.type.Type
org.hibernate.HibernateException
public int getHashCode(Object x, org.hibernate.EntityMode mode, org.hibernate.engine.SessionFactoryImplementor sessionFactory) throws org.hibernate.HibernateException
getHashCode
in interface org.hibernate.type.Type
org.hibernate.HibernateException
public Object deepCopy(Object x, org.hibernate.EntityMode mode, org.hibernate.engine.SessionFactoryImplementor sessionFactory) throws org.hibernate.HibernateException
deepCopy
in interface org.hibernate.type.Type
org.hibernate.HibernateException
public boolean isDirty(Object old, Object current, org.hibernate.engine.SessionImplementor session) throws org.hibernate.HibernateException
isDirty
in interface org.hibernate.type.Type
org.hibernate.HibernateException
public boolean isDirty(Object oldState, Object currentState, boolean[] checkable, org.hibernate.engine.SessionImplementor session) throws org.hibernate.HibernateException
isDirty
in interface org.hibernate.type.Type
org.hibernate.HibernateException
public boolean isModified(Object dbState, Object currentState, boolean[] checkable, org.hibernate.engine.SessionImplementor session) throws org.hibernate.HibernateException
isModified
in interface org.hibernate.type.Type
org.hibernate.HibernateException
public Object nullSafeGet(ResultSet rs, String[] names, org.hibernate.engine.SessionImplementor session, Object owner) throws org.hibernate.HibernateException, SQLException
nullSafeGet
in interface org.hibernate.type.Type
org.hibernate.HibernateException
SQLException
public Object nullSafeGet(ResultSet rs, String name, org.hibernate.engine.SessionImplementor session, Object owner) throws org.hibernate.HibernateException, SQLException
nullSafeGet
in interface org.hibernate.type.Type
org.hibernate.HibernateException
SQLException
public void nullSafeSet(PreparedStatement st, Object value, int index, boolean[] settable, org.hibernate.engine.SessionImplementor session) throws org.hibernate.HibernateException, SQLException
nullSafeSet
in interface org.hibernate.type.Type
org.hibernate.HibernateException
SQLException
public void nullSafeSet(PreparedStatement st, Object value, int index, org.hibernate.engine.SessionImplementor session) throws org.hibernate.HibernateException, SQLException
nullSafeSet
in interface org.hibernate.type.Type
org.hibernate.HibernateException
SQLException
@Deprecated public void setToXMLNode(org.dom4j.Node node, Object value, org.hibernate.engine.SessionFactoryImplementor factory) throws org.hibernate.HibernateException
setToXMLNode
in interface org.hibernate.type.Type
org.hibernate.HibernateException
public String toLoggableString(Object value, org.hibernate.engine.SessionFactoryImplementor factory) throws org.hibernate.HibernateException
toLoggableString
in interface org.hibernate.type.Type
org.hibernate.HibernateException
@Deprecated public Object fromXMLNode(org.dom4j.Node xml, org.hibernate.engine.Mapping factory) throws org.hibernate.HibernateException
fromXMLNode
in interface org.hibernate.type.Type
org.hibernate.HibernateException
public boolean isMutable()
isMutable
in interface org.hibernate.type.Type
public Serializable disassemble(Object value, org.hibernate.engine.SessionImplementor session, Object owner) throws org.hibernate.HibernateException
disassemble
in interface org.hibernate.type.Type
org.hibernate.HibernateException
public Object assemble(Serializable cached, org.hibernate.engine.SessionImplementor session, Object owner) throws org.hibernate.HibernateException
assemble
in interface org.hibernate.type.Type
org.hibernate.HibernateException
public void beforeAssemble(Serializable cached, org.hibernate.engine.SessionImplementor session)
beforeAssemble
in interface org.hibernate.type.Type
public Object hydrate(ResultSet rs, String[] names, org.hibernate.engine.SessionImplementor session, Object owner) throws org.hibernate.HibernateException, SQLException
hydrate
in interface org.hibernate.type.Type
org.hibernate.HibernateException
SQLException
public Object resolve(Object value, org.hibernate.engine.SessionImplementor session, Object owner) throws org.hibernate.HibernateException
resolve
in interface org.hibernate.type.Type
org.hibernate.HibernateException
public Object semiResolve(Object value, org.hibernate.engine.SessionImplementor session, Object owner) throws org.hibernate.HibernateException
semiResolve
in interface org.hibernate.type.Type
org.hibernate.HibernateException
public org.hibernate.type.Type getSemiResolvedType(org.hibernate.engine.SessionFactoryImplementor factory)
getSemiResolvedType
in interface org.hibernate.type.Type
public Object replace(Object original, Object target, org.hibernate.engine.SessionImplementor session, Object owner, Map copyCache) throws org.hibernate.HibernateException
replace
in interface org.hibernate.type.Type
org.hibernate.HibernateException
public Object replace(Object original, Object target, org.hibernate.engine.SessionImplementor session, Object owner, Map copyCache, org.hibernate.type.ForeignKeyDirection foreignKeyDirection) throws org.hibernate.HibernateException
replace
in interface org.hibernate.type.Type
org.hibernate.HibernateException
public boolean[] toColumnNullness(Object value, org.hibernate.engine.Mapping mapping)
toColumnNullness
in interface org.hibernate.type.Type
public int sqlType()
sqlType
in interface org.hibernate.type.SingleColumnType<T>
public String toString(Object value) throws org.hibernate.HibernateException
toString
in interface org.hibernate.type.SingleColumnType<T>
org.hibernate.HibernateException
public T fromStringValue(String xml) throws org.hibernate.HibernateException
fromStringValue
in interface org.hibernate.type.SingleColumnType<T>
org.hibernate.HibernateException
public T nullSafeGet(ResultSet rs, String name, org.hibernate.engine.SessionImplementor session) throws org.hibernate.HibernateException, SQLException
nullSafeGet
in interface org.hibernate.type.SingleColumnType<T>
org.hibernate.HibernateException
SQLException
public Object get(ResultSet rs, String name, org.hibernate.engine.SessionImplementor session) throws org.hibernate.HibernateException, SQLException
get
in interface org.hibernate.type.SingleColumnType<T>
org.hibernate.HibernateException
SQLException
public void set(PreparedStatement st, Object value, int index, org.hibernate.engine.SessionImplementor session) throws org.hibernate.HibernateException, SQLException
set
in interface org.hibernate.type.SingleColumnType<T>
org.hibernate.HibernateException
SQLException
public boolean isSame(Object x, Object y, org.hibernate.EntityMode entityMode) throws org.hibernate.HibernateException
isSame
in interface org.hibernate.type.Type
org.hibernate.HibernateException
public boolean isEqual(Object x, Object y, org.hibernate.EntityMode entityMode) throws org.hibernate.HibernateException
isEqual
in interface org.hibernate.type.Type
org.hibernate.HibernateException
public boolean isEqual(Object x, Object y, org.hibernate.EntityMode entityMode, org.hibernate.engine.SessionFactoryImplementor factory) throws org.hibernate.HibernateException
isEqual
in interface org.hibernate.type.Type
org.hibernate.HibernateException
public int compare(Object x, Object y, org.hibernate.EntityMode entityMode)
compare
in interface org.hibernate.type.Type
public T nullSafeGet(ResultSet rs, String name) throws org.hibernate.HibernateException, SQLException
nullSafeGet
in interface org.hibernate.type.SingleColumnType<T>
org.hibernate.HibernateException
SQLException
public Object get(ResultSet rs, String name) throws org.hibernate.HibernateException, SQLException
get
in interface org.hibernate.type.SingleColumnType<T>
org.hibernate.HibernateException
SQLException
public void nullSafeSet(PreparedStatement st, T value, int index) throws org.hibernate.HibernateException, SQLException
nullSafeSet
in interface org.hibernate.type.SingleColumnType<T>
org.hibernate.HibernateException
SQLException
public void set(PreparedStatement st, T value, int index) throws org.hibernate.HibernateException, SQLException
set
in interface org.hibernate.type.SingleColumnType<T>
org.hibernate.HibernateException
SQLException
Copyright © 2010–2014 Jadira Systems. All rights reserved.