MaterializedClobType@Deprecated public class StringClobType extends Object implements UserType, Serializable
| Constructor and Description | 
|---|
StringClobType()
Deprecated.  
  | 
| Modifier and Type | Method and Description | 
|---|---|
Object | 
assemble(Serializable cached,
        Object owner)
Deprecated.  
Reconstruct an object from the cacheable representation. 
 | 
Object | 
deepCopy(Object value)
Deprecated.  
Return a deep copy of the persistent state, stopping at entities and at
 collections. 
 | 
Serializable | 
disassemble(Object value)
Deprecated.  
Transform the object into its cacheable representation. 
 | 
boolean | 
equals(Object x,
      Object y)
Deprecated.  
Compare two instances of the class mapped by this type for persistence "equality". 
 | 
int | 
hashCode(Object x)
Deprecated.  
Get a hashcode for the instance, consistent with persistence "equality" 
 | 
boolean | 
isMutable()
Deprecated.  
Are objects of this type mutable? 
 | 
Object | 
nullSafeGet(ResultSet rs,
           String[] names,
           SessionImplementor session,
           Object owner)
Deprecated.  
Retrieve an instance of the mapped class from a JDBC resultset. 
 | 
void | 
nullSafeSet(PreparedStatement st,
           Object value,
           int index,
           SessionImplementor session)
Deprecated.  
Write an instance of the mapped class to a prepared statement. 
 | 
Object | 
replace(Object original,
       Object target,
       Object owner)
Deprecated.  
During merge, replace the existing (target) value in the entity we are merging to
 with a new (original) value from the detached entity we are merging. 
 | 
Class | 
returnedClass()
Deprecated.  
The class returned by nullSafeGet(). 
 | 
int[] | 
sqlTypes()
Deprecated.  
Return the SQL type codes for the columns mapped by this type. 
 | 
public int[] sqlTypes()
UserTypepublic Class returnedClass()
UserTypereturnedClass in interface UserTypepublic boolean equals(Object x, Object y) throws HibernateException
UserTypeequals in interface UserTypeHibernateExceptionpublic int hashCode(Object x) throws HibernateException
UserTypehashCode in interface UserTypeHibernateExceptionpublic Object nullSafeGet(ResultSet rs, String[] names, SessionImplementor session, Object owner) throws HibernateException, SQLException
UserTypenullSafeGet in interface UserTypers - a JDBC result setnames - the column namesowner - the containing entity  @return ObjectHibernateExceptionSQLExceptionpublic void nullSafeSet(PreparedStatement st, Object value, int index, SessionImplementor session) throws HibernateException, SQLException
UserTypenullSafeSet in interface UserTypest - a JDBC prepared statementvalue - the object to writeindex - statement parameter indexHibernateExceptionSQLExceptionpublic Object deepCopy(Object value) throws HibernateException
UserTypedeepCopy in interface UserTypevalue - the object to be cloned, which may be nullHibernateExceptionpublic boolean isMutable()
UserTypepublic Serializable disassemble(Object value) throws HibernateException
UserTypedisassemble in interface UserTypevalue - the object to be cachedHibernateExceptionpublic Object assemble(Serializable cached, Object owner) throws HibernateException
UserTypeassemble in interface UserTypecached - the object to be cachedowner - the owner of the cached objectHibernateExceptionpublic Object replace(Object original, Object target, Object owner) throws HibernateException
UserTypereplace in interface UserTypeoriginal - the value from the detached entity being mergedtarget - the value in the managed entityHibernateExceptionCopyright © 2001-2015 Red Hat, Inc. All Rights Reserved.