haffo / hit-core

The repo contains the packages of the different classes and artifcats shared by our hit domain specifis (HL7, ePrescrbing etc...) tools. The packages are not tied to a specific domain
1 stars 3 forks source link

Cascading fix for TestStepValidationReport (CascadeType.REMOVE) #28

Closed Abdelghani90 closed 7 years ago

Abdelghani90 commented 7 years ago

Problem : Integrity violation when deleting TestStep because TestStepValidationReport has foreign key to TestStep

Solution : Adding CascadeType.REMOVE to OneToMany relationship in TestStep side to TestStepValidationReports