change transaction call

This commit is contained in:
Tadgh 2020-06-15 15:17:25 -07:00
parent eccd280d71
commit 9222fa3f59
1 changed files with 1 additions and 2 deletions

View File

@ -717,9 +717,8 @@ public class TermCodeSystemStorageSvcImpl implements ITermCodeSystemStorageSvc {
ourLog.info(" * {} {} deleted ({}/{}) remaining - {}/sec - ETA: {}", count, theDescriptor, count, totalCount, sw.formatThroughput(count, TimeUnit.SECONDS), sw.getEstimatedTimeRemaining(count, totalCount));
}
txTemplate.execute(t -> {
txTemplate.executeWithoutResult(t -> {
theDao.flush();
return null;
});
}