diff --git a/oni/src/main/java/org/mbari/oni/jpa/entities/ConceptMetadataEntity.java b/oni/src/main/java/org/mbari/oni/jpa/entities/ConceptMetadataEntity.java index f1bc1e5..1da49fd 100644 --- a/oni/src/main/java/org/mbari/oni/jpa/entities/ConceptMetadataEntity.java +++ b/oni/src/main/java/org/mbari/oni/jpa/entities/ConceptMetadataEntity.java @@ -50,7 +50,7 @@ public class ConceptMetadataEntity implements Serializable, IPersistentObject { @OneToOne( optional = false, targetEntity = ConceptEntity.class, - cascade = {CascadeType.DETACH}, + cascade = {CascadeType.ALL}, fetch = FetchType.LAZY ) @JoinColumn(