Remove orphanremoval

This commit is contained in:
James Agnew 2018-06-27 11:31:53 -04:00
parent 4dca271735
commit 79ede4c5ee
1 changed files with 2 additions and 2 deletions

View File

@ -77,12 +77,12 @@ public class TermConcept implements Serializable {
}) })
private String myDisplay; private String myDisplay;
@OneToMany(mappedBy = "myConcept", orphanRemoval = true) @OneToMany(mappedBy = "myConcept", orphanRemoval = false)
@Field(name = "PROPmyProperties", analyzer = @Analyzer(definition = "termConceptPropertyAnalyzer")) @Field(name = "PROPmyProperties", analyzer = @Analyzer(definition = "termConceptPropertyAnalyzer"))
@FieldBridge(impl = TermConceptPropertyFieldBridge.class) @FieldBridge(impl = TermConceptPropertyFieldBridge.class)
private Collection<TermConceptProperty> myProperties; private Collection<TermConceptProperty> myProperties;
@OneToMany(mappedBy = "myConcept", orphanRemoval = true) @OneToMany(mappedBy = "myConcept", orphanRemoval = false)
private Collection<TermConceptDesignation> myDesignations; private Collection<TermConceptDesignation> myDesignations;
@Id() @Id()