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

Don't setPCState if field requested is already loaded

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2.1, 2.3.0
    • 2.2.1, 2.3.0
    • Enhance, kernel, performance
    • 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.

      Attachments

        Issue Links

          Activity

            People

              kwsutter Kevin W. Sutter
              kwsutter Kevin W. Sutter
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: