|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.sf.hibernate.type.AbstractType
net.sf.hibernate.type.NullableType
net.sf.hibernate.type.ImmutableType
net.sf.hibernate.type.ClobType
clob: A type that maps an SQL CLOB to a java.sql.Clob.
| Constructor Summary | |
ClobType()
|
|
| Method Summary | |
Serializable |
disassemble(Object value,
SessionImplementor session)
Return a cacheable "disassembled" representation of the object. |
boolean |
equals(Object x,
Object y)
Compare two instances of the class mapped by this type for persistence "equality", ie. |
Object |
fromStringValue(String xml)
|
Object |
get(ResultSet rs,
String name)
|
String |
getName()
Returns the abbreviated name of the type. |
Class |
getReturnedClass()
The class returned by nullSafeGet() methods. |
boolean |
hasNiceEquals()
Does this type implement a well-behaved equals() method. |
void |
set(PreparedStatement st,
Object value,
int index)
|
int |
sqlType()
|
String |
toString(Object val)
|
| Methods inherited from class net.sf.hibernate.type.ImmutableType |
copy, deepCopyNotNull, isMutable |
| Methods inherited from class net.sf.hibernate.type.NullableType |
deepCopy, fromString, getColumnSpan, nullSafeGet, nullSafeGet, nullSafeGet, nullSafeGet, nullSafeSet, nullSafeSet, sqlTypes, toString |
| Methods inherited from class net.sf.hibernate.type.AbstractType |
assemble, equals, hashCode, hydrate, isAssociationType, isComponentType, isDirty, isEntityType, isModified, isObjectType, isPersistentCollectionType, resolveIdentifier |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ClobType()
| Method Detail |
public void set(PreparedStatement st, Object value, int index) throws HibernateException, SQLException
set in class NullableTypeHibernateException
SQLExceptionpublic Object get(ResultSet rs, String name) throws HibernateException, SQLException
get in class NullableTypeHibernateException
SQLExceptionpublic int sqlType()
sqlType in class NullableTypepublic Class getReturnedClass()
Type
public boolean hasNiceEquals()
Type
hasNiceEquals in interface TypehasNiceEquals in class ImmutableTypepublic boolean equals(Object x, Object y) throws HibernateException
Type
x - y -
HibernateExceptionpublic String getName()
Type
public String toString(Object val) throws HibernateException
toString in class NullableTypeHibernateExceptionpublic Serializable disassemble(Object value, SessionImplementor session) throws HibernateException
Type
disassemble in interface Typedisassemble in class AbstractTypeHibernateExceptionpublic Object fromStringValue(String xml)
fromStringValue in class NullableType
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||