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

Performance improvement - don't call syncVersion() when no version is specified

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-beta
    • Fix Version/s: 2.0.0-beta2
    • Component/s: kernel
    • Labels:
      None

      Description

      Currently, StateManagerImpl loadFields() always calls syncVersion() when the entity being processed does not contain a version field. This processing is expensive. So, check for the existence of a version field before making this call.

        Attachments

        1. patch.txt
          1 kB
          Dianne Richards

          Activity

            People

            • Assignee:
              curtisr7 Rick Curtis
              Reporter:
              dianner Dianne Richards
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: