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) {
|
if (theConcept.getId() == null || theConcept.getIndexStatus() == null) {
|
||||||
retVal++;
|
retVal++;
|
||||||
theConcept.setIndexStatus(BaseHapiFhirDao.INDEX_STATUS_INDEXED);
|
theConcept.setIndexStatus(BaseHapiFhirDao.INDEX_STATUS_INDEXED);
|
||||||
myConceptDao.saveAndFlush(theConcept);
|
myConceptDao.save(theConcept);
|
||||||
}
|
}
|
||||||
|
|
||||||
ourLog.trace("Saved {} and got PID {}", theConcept.getCode(), theConcept.getId());
|
ourLog.trace("Saved {} and got PID {}", theConcept.getCode(), theConcept.getId());
|
||||||
|
|
Loading…
Reference in New Issue