Skip to content

Commit

Permalink
[#27] Fix exception when saving record twice
Browse files Browse the repository at this point in the history
  • Loading branch information
blcham committed Dec 1, 2023
1 parent 931410c commit 001a075
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -162,5 +162,6 @@ public void requireUniqueNonEmptyLocalName(PatientRecord entity) {
throw new ValidationException("error.record.localNameOfRecordIsNotUnique",
"Local name of record is not unique for entity " + entity);
}
em.clear();
}
}

0 comments on commit 001a075

Please sign in to comment.