Class NClobJavaType.NClobMutabilityPlan
- java.lang.Object
-
- org.hibernate.type.descriptor.java.NClobJavaType.NClobMutabilityPlan
-
- All Implemented Interfaces:
Serializable
,MutabilityPlan<NClob>
- Enclosing class:
- NClobJavaType
public static class NClobJavaType.NClobMutabilityPlan extends Object implements MutabilityPlan<NClob>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static NClobJavaType.NClobMutabilityPlan
INSTANCE
-
Constructor Summary
Constructors Constructor Description NClobMutabilityPlan()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NClob
assemble(Serializable cached, SharedSessionContract session)
Assemble a previously disassembled value.NClob
deepCopy(NClob value)
Return a deep copy of the value.Serializable
disassemble(NClob value, SharedSessionContract session)
Return a disassembled representation of the value.boolean
isMutable()
Can the internal state of instances ofT
be changed?
-
-
-
Field Detail
-
INSTANCE
public static final NClobJavaType.NClobMutabilityPlan INSTANCE
-
-
Method Detail
-
isMutable
public boolean isMutable()
Description copied from interface:MutabilityPlan
Can the internal state of instances ofT
be changed?- Specified by:
isMutable
in interfaceMutabilityPlan<NClob>
- Returns:
- True if the internal state can be changed; false otherwise.
-
deepCopy
public NClob deepCopy(NClob value)
Description copied from interface:MutabilityPlan
Return a deep copy of the value.- Specified by:
deepCopy
in interfaceMutabilityPlan<NClob>
- Parameters:
value
- The value to deep copy- Returns:
- The deep copy.
-
disassemble
public Serializable disassemble(NClob value, SharedSessionContract session)
Description copied from interface:MutabilityPlan
Return a disassembled representation of the value.Called before storing a value in the second-level cache.
Complementary to
MutabilityPlan.assemble(java.io.Serializable, org.hibernate.SharedSessionContract)
.- Specified by:
disassemble
in interfaceMutabilityPlan<NClob>
- See Also:
MutabilityPlan.assemble(java.io.Serializable, org.hibernate.SharedSessionContract)
-
assemble
public NClob assemble(Serializable cached, SharedSessionContract session)
Description copied from interface:MutabilityPlan
Assemble a previously disassembled value.Called after reading a value from the second level cache.
Complementary to
MutabilityPlan.disassemble(T, org.hibernate.SharedSessionContract)
.- Specified by:
assemble
in interfaceMutabilityPlan<NClob>
- See Also:
MutabilityPlan.disassemble(T, org.hibernate.SharedSessionContract)
-
-