OpenJPA
  1. OpenJPA
  2. OPENJPA-2014

Allow proxies to stay in place when Detaching

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major 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.

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        17d 23h 35m 1 Rick Curtis 27/Jun/11 16:00
        Resolved Resolved Closed Closed
        16d 1h 10m 1 Rick Curtis 13/Jul/11 17:11
        Rick Curtis made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Hide
        Rick Curtis added a comment -

        Closing resolved issues.

        Show
        Rick Curtis added a comment - Closing resolved issues.
        Rick Curtis made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Rick Curtis made changes -
        Field Original Value New Value
        Attachment OPENJPA-2014.patch [ 12482153 ]
        Hide
        Rick Curtis added a comment -

        Attaching test case and code change. I still need to come up with doc updates.

        Show
        Rick Curtis added a comment - Attaching test case and code change. I still need to come up with doc updates.
        Rick Curtis created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development