mirror of
https://github.com/hapifhir/hapi-fhir.git
synced 2025-03-09 14:33:32 +00:00
Merge pull request #575 from joelsch/large-codesystem-persistence-fix
Revise saveConcept method to use save() instead of saveAndFlush()
This commit is contained in:
commit
899ed2567f
@ -396,7 +396,7 @@ public abstract class BaseHapiTerminologySvc implements IHapiTerminologySvc {
|
||||
if (theConcept.getId() == null || theConcept.getIndexStatus() == null) {
|
||||
retVal++;
|
||||
theConcept.setIndexStatus(BaseHapiFhirDao.INDEX_STATUS_INDEXED);
|
||||
myConceptDao.saveAndFlush(theConcept);
|
||||
myConceptDao.save(theConcept);
|
||||
}
|
||||
|
||||
ourLog.trace("Saved {} and got PID {}", theConcept.getCode(), theConcept.getId());
|
||||
|
Loading…
x
Reference in New Issue
Block a user