Skip to content

Commit

Permalink
Merge pull request #79 from kbss-cvut/fix/fta-fmea-ui-226-fix-reading…
Browse files Browse the repository at this point in the history
…-fault-event-properties--2

[FIX kbss-cvut/fta-fmea-ui#226] Read fault tree in transaction to enable lazy loading
  • Loading branch information
kostobog authored Apr 11, 2024
2 parents 9b3bc61 + d140a45 commit 2fc87b9
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ public void createTree(FaultTree faultTree){
persist(faultTree);
}

@Transactional(readOnly = true)
@Override
public FaultTree findRequired(URI id) {
FaultTree ft = super.findRequired(id);
Expand Down

0 comments on commit 2fc87b9

Please sign in to comment.