Tue Toft Nørgård 2021-03-03 14:51:27 +01:00 committed by GitHub
parent afad037fab
commit 70c2808ecd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ public class TransactionProcessor extends BaseTransactionProcessor {
@Override
protected void flushSession(Map<IIdType, DaoMethodOutcome> theIdToPersistedOutcome) {
try {
SessionImpl session = (SessionImpl) myEntityManager.unwrap(Session.class);
SessionImpl session = myEntityManager.unwrap(SessionImpl.class);
int insertionCount = session.getActionQueue().numberOfInsertions();
int updateCount = session.getActionQueue().numberOfUpdates();