Uploaded image for project: 'Configuration Persistence Service'
  1. Configuration Persistence Service
  2. CPS-1675

Avoid fetching and updating whole datatree in updateDataLeaves

XMLWordPrintable

      Presently, updateDataLeaves fetches existing nodes with all descendants, changes the leaves, then writes out the whole tree again.

      It can be optimized by rewriting the code using idiomatic JPA patterns, or by using handwritten SQL:

      UPDATE FRAGMENT SET attributes=? WHERE id=?

            danielhanrahan Daniel Hanrahan
            danielhanrahan Daniel Hanrahan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: