Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optimize REPLACE for index-only items
1) We re-added cascading on SAVE/UPDATE - it seems that it can be safely used 2) When replacing, we simply add values to the collection instead of persisting them manually. It looks like the persist, although produces no SQL command, is particularly slow because of Hibernate processing. 3) We do not apply item-only modifications to main prism object (there's no point in doing so).
- Loading branch information
Showing
6 changed files
with
97 additions
and
90 deletions.
There are no files selected for viewing
121 changes: 60 additions & 61 deletions
121
repo/repo-sql-impl-test/src/test/java/com/evolveum/midpoint/repo/sql/ExtensionTest.java
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters