-
Story
-
Resolution: Done
-
Medium
-
None
-
None
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=?