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

duplicate call to getUnloadedInternal function

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2.1, 2.2.3
    • Fix Version/s: 2.3.0
    • Component/s: kernel
    • Labels:
      None
    • Patch Info:
      Patch Available

      Description

      in StateManagerImpl.loadField, it called the getUnloadedInternal twice which could be eliminated to improve performance.

        Activity

        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 1468536 from helenxu
        [ https://svn.apache.org/r1468536 ]

        OPENJPA-2369, eliminate the duplicate call to getUnloadedInternal function.

        Show
        jira-bot ASF subversion and git services added a comment - Commit 1468536 from helenxu [ https://svn.apache.org/r1468536 ] OPENJPA-2369 , eliminate the duplicate call to getUnloadedInternal function.
        Hide
        helenxu Helen Xu added a comment -

        This duplicate calls happen when changing a field of an entity which triggers the invocation of StateManagerImpl.dirty.

        Show
        helenxu Helen Xu added a comment - This duplicate calls happen when changing a field of an entity which triggers the invocation of StateManagerImpl.dirty.

          People

          • Assignee:
            helenxu Helen Xu
            Reporter:
            helenxu Helen Xu
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development