@Deprecated public abstract class AbstractLobType extends AbstractType implements java.io.Serializable
| Constructor and Description |
|---|
AbstractLobType()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract java.lang.Object |
get(java.sql.ResultSet rs,
java.lang.String name)
Deprecated.
|
int |
getColumnSpan(Mapping mapping)
Deprecated.
How many columns are used to persist this type.
|
int |
getHashCode(java.lang.Object x,
EntityMode entityMode)
Deprecated.
Get a hash code, consistent with persistence "equality".
|
java.lang.String |
getName()
Deprecated.
Returns the abbreviated name of the type.
|
boolean |
isDirty(java.lang.Object old,
java.lang.Object current,
boolean[] checkable,
SessionImplementor session)
Deprecated.
Should the parent be considered dirty, given both the old and current value?
|
boolean |
isEqual(java.lang.Object x,
java.lang.Object y,
EntityMode entityMode)
Deprecated.
Compare two instances of the class mapped by this type for persistence "equality" (equality of persistent
state).
|
java.lang.Object |
nullSafeGet(java.sql.ResultSet rs,
java.lang.String[] names,
SessionImplementor session,
java.lang.Object owner)
Deprecated.
Retrieve an instance of the mapped class from a JDBC resultset.
|
java.lang.Object |
nullSafeGet(java.sql.ResultSet rs,
java.lang.String name,
SessionImplementor session,
java.lang.Object owner)
Deprecated.
Retrieve an instance of the mapped class from a JDBC resultset.
|
void |
nullSafeSet(java.sql.PreparedStatement st,
java.lang.Object value,
int index,
boolean[] settable,
SessionImplementor session)
Deprecated.
Write an instance of the mapped class to a prepared statement, ignoring some columns.
|
void |
nullSafeSet(java.sql.PreparedStatement st,
java.lang.Object value,
int index,
SessionImplementor session)
Deprecated.
Write an instance of the mapped class to a prepared statement.
|
protected abstract void |
set(java.sql.PreparedStatement st,
java.lang.Object value,
int index,
SessionImplementor session)
Deprecated.
|
assemble, beforeAssemble, compare, disassemble, getHashCode, getSemiResolvedType, hydrate, isAnyType, isAssociationType, isCollectionType, isComponentType, isDirty, isEntityType, isEqual, isModified, isSame, isXMLElement, replace, replaceNode, resolve, semiResolveclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdeepCopy, fromXMLNode, getReturnedClass, isMutable, replace, setToXMLNode, sqlTypes, toColumnNullness, toLoggableStringpublic boolean isDirty(java.lang.Object old,
java.lang.Object current,
boolean[] checkable,
SessionImplementor session)
throws HibernateException
TypeisDirty in interface Typeold - the old valuecurrent - the current valuecheckable - An array of booleans indicating which columns making up the value are actually checkablesession - The session from which the request originated.HibernateException - A problem occurred performing the checkingpublic boolean isEqual(java.lang.Object x,
java.lang.Object y,
EntityMode entityMode)
TypeisEqual in interface TypeisEqual in class AbstractTypex - The first valuey - The second valueentityMode - The entity mode of the values.public int getHashCode(java.lang.Object x,
EntityMode entityMode)
Type#hashCode.getHashCode in interface TypegetHashCode in class AbstractTypex - The value for which to retrieve a hash codeentityMode - The entity mode of the value.public java.lang.String getName()
Typepublic int getColumnSpan(Mapping mapping) throws MappingException
TypesqlTypes(mapping).lengthgetColumnSpan in interface Typemapping - The mapping object :/MappingException - Generally indicates an issue accessing the passed mapping object.protected abstract java.lang.Object get(java.sql.ResultSet rs,
java.lang.String name)
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.lang.Object nullSafeGet(java.sql.ResultSet rs,
java.lang.String[] names,
SessionImplementor session,
java.lang.Object owner)
throws HibernateException,
java.sql.SQLException
TypenullSafeGet in interface Typenames - the column namesowner - the parent entityHibernateExceptionjava.sql.SQLExceptionalternative, 2-phase property initializationpublic java.lang.Object nullSafeGet(java.sql.ResultSet rs,
java.lang.String name,
SessionImplementor session,
java.lang.Object owner)
throws HibernateException,
java.sql.SQLException
TypenullSafeGet in interface Typename - the column nameowner - the parent entityHibernateExceptionjava.sql.SQLExceptionpublic void nullSafeSet(java.sql.PreparedStatement st,
java.lang.Object value,
int index,
boolean[] settable,
SessionImplementor session)
throws HibernateException,
java.sql.SQLException
TypenullSafeSet in interface Typevalue - the object to writeindex - statement parameter indexsettable - an array indicating which columns to ignoreHibernateExceptionjava.sql.SQLExceptionprotected abstract void set(java.sql.PreparedStatement st,
java.lang.Object value,
int index,
SessionImplementor session)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void nullSafeSet(java.sql.PreparedStatement st,
java.lang.Object value,
int index,
SessionImplementor session)
throws HibernateException,
java.sql.SQLException
TypenullSafeSet in interface Typevalue - the object to writeindex - statement parameter indexHibernateExceptionjava.sql.SQLExceptionCopyright © 2013. All Rights Reserved.