Class ArrayMutabilityPlan<T>

java.lang.Object
org.hibernate.type.descriptor.java.MutableMutabilityPlan<T>
org.hibernate.type.descriptor.java.ArrayMutabilityPlan<T>
All Implemented Interfaces:
Serializable, MutabilityPlan<T>

@Deprecated(forRemoval=true, since="7.0") public class ArrayMutabilityPlan<T> extends MutableMutabilityPlan<T>
Deprecated, for removal: This API element is subject to removal in a future version.
Use ImmutableObjectArrayMutabilityPlan.get() for object arrays, or implement a dedicated mutability plan for primitive arrays (see for example ShortPrimitiveArrayJavaType's mutability plan).
A mutability plan for arrays. Specifically arrays of immutable element type; since the elements themselves are immutable, a shallow copy is enough.
See Also:
  • Field Details

    • INSTANCE

      public static final ArrayMutabilityPlan INSTANCE
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Constructor Details

    • ArrayMutabilityPlan

      public ArrayMutabilityPlan()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • deepCopyNotNull

      public T deepCopyNotNull(T value)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      deepCopyNotNull in class MutableMutabilityPlan<T>