OpenJPA
  1. OpenJPA
  2. OPENJPA-2164

Don't setPCState if field requested is already loaded

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.1, 2.3.0
    • Fix Version/s: 2.2.1, 2.3.0
    • Component/s: Enhance, kernel, performance
    • Labels:
      None

      Description

      Currently, our getter method logic (enhanced byte code plus our statemanager code) has some unnecessary overhead when processing fields that have already been loaded. We're looking at streamlining that processing by using a simple check in the beforeRead method to determine if the field has already been loaded. If it has, then just return and let it return the value already present. If it has not been loaded, then we'll go through the normal processing.

        Issue Links

          Activity

            People

            • Assignee:
              Kevin Sutter
              Reporter:
              Kevin Sutter
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development