Skip to content

Commit

Permalink
#6 - trying different cascade strategy
Browse files Browse the repository at this point in the history
  • Loading branch information
hohonuuli committed Jul 16, 2024
1 parent cab32d7 commit e3c8bc3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public class ConceptMetadataEntity implements Serializable, IPersistentObject {
@OneToOne(
optional = false,
targetEntity = ConceptEntity.class,
cascade = {CascadeType.MERGE, CascadeType.REFRESH, CascadeType.DETACH},
cascade = {CascadeType.DETACH},
fetch = FetchType.LAZY
)
@JoinColumn(
Expand Down

0 comments on commit e3c8bc3

Please sign in to comment.