Uploaded image for project: 'OpenJPA'
  1. OpenJPA
  2. OPENJPA-2014

Allow proxies to stay in place when Detaching

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.0, 2.2.0
    • Fix Version/s: 2.1.1, 2.2.0
    • Component/s: performance
    • Labels:
      None

      Description

      I have a scenario where I am using LiteAutoDetach and there is a measurable amount of processing going into unproxying a few of my fields. I don't need to pay this penalty because once my persistence context ends all of my Entities are going to be gc'd.

      With this change I'm going to add a configuration property to openjpa.DetachState so that I can selectively turn off unproxying on detach. This property will only work when LiteAutoDetach is enabled.

        Attachments

          Activity

            People

            • Assignee:
              curtisr7 Rick Curtis
              Reporter:
              curtisr7 Rick Curtis
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: