Try dropping local tables in same connection

This commit is contained in:
Christian Beikov 2021-03-24 19:21:13 +01:00
parent 2c1aedd176
commit 2b06123635
1 changed files with 2 additions and 2 deletions

View File

@ -163,7 +163,7 @@ public class LocalTemporaryTableBulkIdStrategy
protected void releaseFromUse(Queryable persister, SharedSessionContractImplementor session) {
Helper.INSTANCE.releaseTempTable(
tableInfo,
afterUseAction,
dropIdTables ? AfterUseAction.DROP : afterUseAction,
ddlTransactionHandling,
session
);
@ -194,7 +194,7 @@ public class LocalTemporaryTableBulkIdStrategy
protected void releaseFromUse(Queryable persister, SharedSessionContractImplementor session) {
Helper.INSTANCE.releaseTempTable(
tableInfo,
afterUseAction,
dropIdTables ? AfterUseAction.DROP : afterUseAction,
ddlTransactionHandling,
session
);