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

Allow proxies to stay in place when Detaching

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.0, 2.2.0
    • 2.1.1, 2.2.0
    • performance
    • 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

        1. OPENJPA-2014.patch
          10 kB
          Richard G. Curtis

        Activity

          People

            curtisr7 Richard G. Curtis
            curtisr7 Richard G. Curtis
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: