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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0-beta
    • 2.0.0-beta2
    • kernel
    • 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 E. Richards

        Activity

          People

            curtisr7 Richard G. Curtis
            dianner Dianne E. Richards
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: