Class ClobJavaType.ClobMutabilityPlan
- java.lang.Object
-
- org.hibernate.type.descriptor.java.ClobJavaType.ClobMutabilityPlan
-
- All Implemented Interfaces:
Serializable,MutabilityPlan<Clob>
- Enclosing class:
- ClobJavaType
public static class ClobJavaType.ClobMutabilityPlan extends Object implements MutabilityPlan<Clob>
MutabilityPlan for Clob values- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static ClobJavaType.ClobMutabilityPlanINSTANCE
-
Constructor Summary
Constructors Constructor Description ClobMutabilityPlan()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Clobassemble(Serializable cached, SharedSessionContract session)Assemble a previously disassembled value.ClobdeepCopy(Clob value)Return a deep copy of the value.Serializabledisassemble(Clob value, SharedSessionContract session)Return a disassembled representation of the value.booleanisMutable()Can the internal state of instances ofTbe changed?
-
-
-
Field Detail
-
INSTANCE
public static final ClobJavaType.ClobMutabilityPlan INSTANCE
-
-
Method Detail
-
isMutable
public boolean isMutable()
Description copied from interface:MutabilityPlanCan the internal state of instances ofTbe changed?- Specified by:
isMutablein interfaceMutabilityPlan<Clob>- Returns:
- True if the internal state can be changed; false otherwise.
-
deepCopy
public Clob deepCopy(Clob value)
Description copied from interface:MutabilityPlanReturn a deep copy of the value.- Specified by:
deepCopyin interfaceMutabilityPlan<Clob>- Parameters:
value- The value to deep copy- Returns:
- The deep copy.
-
disassemble
public Serializable disassemble(Clob value, SharedSessionContract session)
Description copied from interface:MutabilityPlanReturn a disassembled representation of the value. This is used to push values onto the second level cache. Compliment toMutabilityPlan.assemble(java.io.Serializable, org.hibernate.SharedSessionContract)- Specified by:
disassemblein interfaceMutabilityPlan<Clob>- See Also:
MutabilityPlan.assemble(java.io.Serializable, org.hibernate.SharedSessionContract)
-
assemble
public Clob assemble(Serializable cached, SharedSessionContract session)
Description copied from interface:MutabilityPlanAssemble a previously disassembled value. This is used when pulling values from the second level cache. Compliment toMutabilityPlan.disassemble(T, org.hibernate.SharedSessionContract)- Specified by:
assemblein interfaceMutabilityPlan<Clob>- See Also:
MutabilityPlan.disassemble(T, org.hibernate.SharedSessionContract)
-
-