Uploaded image for project: 'Hibernate ORM'
  1. HHH-10308

Don't make deep copy of property with AttributeConverter if Java type is known to be immutable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.0.5
    • Component/s: hibernate-core
    • Labels:
      None
    • Last commented by a user?:
      true
    • Sprint:

      Description

      Due to HHH-10111 Closed , if a property has an AttributeConverter, it's MutabilityPlan is a MutableMutabilityPlan, which results in doing deep copies of those properties.

      It would be more efficient to not do a deep copy if the property Java type is known to be immutable.

        Attachments

          Issue links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: