diff --git a/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/entity/TermConcept.java b/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/entity/TermConcept.java index 0c3740dd5e7..a715cc02679 100644 --- a/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/entity/TermConcept.java +++ b/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/entity/TermConcept.java @@ -77,12 +77,12 @@ public class TermConcept implements Serializable { }) private String myDisplay; - @OneToMany(mappedBy = "myConcept", orphanRemoval = true) + @OneToMany(mappedBy = "myConcept", orphanRemoval = false) @Field(name = "PROPmyProperties", analyzer = @Analyzer(definition = "termConceptPropertyAnalyzer")) @FieldBridge(impl = TermConceptPropertyFieldBridge.class) private Collection myProperties; - @OneToMany(mappedBy = "myConcept", orphanRemoval = true) + @OneToMany(mappedBy = "myConcept", orphanRemoval = false) private Collection myDesignations; @Id()