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

Improve persistAll to avoid redundant checked on each instance

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.1
    • Fix Version/s: 2.1.0
    • Component/s: kernel
    • Labels:
      None
    • Patch Info:
      Patch Available

      Description

      Improve persistAll to avoid redundant checked on each instance in the collection.
      When call persistAll() on each object in the collections all the checks and asserts are done.

      1. patch.txt
        7 kB
        Guy Korland

        Issue Links

          Activity

          Hide
          mikedd Michael Dick added a comment -

          Thanks for the patch, Guy. The changes have been made in trunk in revision 1037237. I did a little reformatting in rev 1037827 as well.

          Show
          mikedd Michael Dick added a comment - Thanks for the patch, Guy. The changes have been made in trunk in revision 1037237. I did a little reformatting in rev 1037827 as well.
          Hide
          mikedd Michael Dick added a comment -

          The patch for OPENJPA-1888 contains this fix as well.

          Show
          mikedd Michael Dick added a comment - The patch for OPENJPA-1888 contains this fix as well.

            People

            • Assignee:
              mikedd Michael Dick
              Reporter:
              gkorland Guy Korland
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development