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

Minor performance improvement when using LiteAutoDetach

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Invalid
    • 2.2.0, 2.3.0
    • None
    • kernel, performance
    • None

    Description

      I have found that when detaching the entire persistence context we create a new collection of all items that need to be detached but we could be smarter and just create an intelligent iterator. This new iterator will iterate over each collection/map that needs to be detached.

      In local perf testing this showed a marginal improvement.

      Attachments

        Activity

          People

            curtisr7 Richard G. Curtis
            curtisr7 Richard G. Curtis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: