public class

ClobTypeDescriptor

extends AbstractTypeDescriptor<T>
java.lang.Object
   ↳ org.hibernate.type.descriptor.java.AbstractTypeDescriptor<T>
     ↳ org.hibernate.type.descriptor.java.ClobTypeDescriptor

Class Overview

Descriptor for Clob handling.

Note, clobs really are mutable (their internal state can in fact be mutated). We simply treat them as immutable because we cannot properly check them for changes nor deep copy them.

Summary

Nested Classes
class ClobTypeDescriptor.ClobMutabilityPlan  
Fields
public static final ClobTypeDescriptor INSTANCE
Public Constructors
ClobTypeDescriptor()
Public Methods
boolean areEqual(Clob one, Clob another)
Determine if two instances are equal
int extractHashCode(Clob value)
Extract a proper hash code for this value.
Clob fromString(String string)
Comparator<Clob> getComparator()
Retrieve the natural comparator for this type.
String toString(Clob value)
<X> X unwrap(Clob value, Class<X> type, WrapperOptions options)
<X> Clob wrap(X value, WrapperOptions options)
[Expand]
Inherited Methods
From class org.hibernate.type.descriptor.java.AbstractTypeDescriptor
From class java.lang.Object
From interface org.hibernate.type.descriptor.java.JavaTypeDescriptor

Fields

public static final ClobTypeDescriptor INSTANCE

Public Constructors

public ClobTypeDescriptor ()

Public Methods

public boolean areEqual (Clob one, Clob another)

Determine if two instances are equal

Parameters
one One instance
another The other instance
Returns
  • True if the two are considered equal; false otherwise.

public int extractHashCode (Clob value)

Extract a proper hash code for this value.

Parameters
value The value for which to extract a hash code.
Returns
  • The extracted hash code.

public Clob fromString (String string)

public Comparator<Clob> getComparator ()

Retrieve the natural comparator for this type.

Returns
  • The natural comparator.

public String toString (Clob value)

public X unwrap (Clob value, Class<X> type, WrapperOptions options)

public Clob wrap (X value, WrapperOptions options)