public class AttributeConverterMutabilityPlanImpl<T> extends MutableMutabilityPlan<T>
The standard aproach for defining a MutabilityPlan for converted (AttributeConverter) values is to always assume that they are immutable to make sure that dirty checking, deep copying and second-level caching all work properly no matter what. That was work done under https://hibernate.atlassian.net/browse/HHH-10111
However a series of approaches to tell Hibernate that the values are immutable were documented as part of https://hibernate.atlassian.net/browse/HHH-10127
Constructor and Description |
---|
AttributeConverterMutabilityPlanImpl(JpaAttributeConverter converter) |
Modifier and Type | Method and Description |
---|---|
protected T |
deepCopyNotNull(T value) |
assemble, deepCopy, disassemble, isMutable
public AttributeConverterMutabilityPlanImpl(JpaAttributeConverter converter)
protected T deepCopyNotNull(T value)
deepCopyNotNull
in class MutableMutabilityPlan<T>
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.