@Deprecated public abstract class AbstractLobType extends AbstractType implements Serializable
| Constructor and Description |
|---|
AbstractLobType()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract Object |
get(ResultSet rs,
String name)
Deprecated.
|
int |
getColumnSpan(Mapping mapping)
Deprecated.
How many columns are used to persist this type.
|
int |
getHashCode(Object x,
EntityMode entityMode)
Deprecated.
Get a hash code, consistent with persistence "equality".
|
String |
getName()
Deprecated.
Returns the abbreviated name of the type.
|
boolean |
isDirty(Object old,
Object current,
boolean[] checkable,
SessionImplementor session)
Deprecated.
Should the parent be considered dirty, given both the old and current value?
|
boolean |
isEqual(Object x,
Object y,
EntityMode entityMode)
Deprecated.
Compare two instances of the class mapped by this type for persistence "equality" (equality of persistent
state).
|
Object |
nullSafeGet(ResultSet rs,
String[] names,
SessionImplementor session,
Object owner)
Deprecated.
Retrieve an instance of the mapped class from a JDBC resultset.
|
Object |
nullSafeGet(ResultSet rs,
String name,
SessionImplementor session,
Object owner)
Deprecated.
Retrieve an instance of the mapped class from a JDBC resultset.
|
void |
nullSafeSet(PreparedStatement st,
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(PreparedStatement st,
Object value,
int index,
SessionImplementor session)
Deprecated.
Write an instance of the mapped class to a prepared statement.
|
protected abstract void |
set(PreparedStatement st,
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(Object old, 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(Object x, 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(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 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 Object get(ResultSet rs, String name) throws SQLException
SQLExceptionpublic Object nullSafeGet(ResultSet rs, String[] names, SessionImplementor session, Object owner) throws HibernateException, SQLException
TypenullSafeGet in interface Typenames - the column namesowner - the parent entityHibernateExceptionSQLExceptionalternative, 2-phase property initializationpublic Object nullSafeGet(ResultSet rs, String name, SessionImplementor session, Object owner) throws HibernateException, SQLException
TypenullSafeGet in interface Typename - the column nameowner - the parent entityHibernateExceptionSQLExceptionpublic void nullSafeSet(PreparedStatement st, Object value, int index, boolean[] settable, SessionImplementor session) throws HibernateException, SQLException
TypenullSafeSet in interface Typevalue - the object to writeindex - statement parameter indexsettable - an array indicating which columns to ignoreHibernateExceptionSQLExceptionprotected abstract void set(PreparedStatement st, Object value, int index, SessionImplementor session) throws SQLException
SQLExceptionpublic void nullSafeSet(PreparedStatement st, Object value, int index, SessionImplementor session) throws HibernateException, SQLException
TypenullSafeSet in interface Typevalue - the object to writeindex - statement parameter indexHibernateExceptionSQLExceptionCopyright © 2002-2017 Red Hat Middleware, LLC. All Rights Reserved