Skip to content

Commit f44332c

Browse files
dreab8beikov
authored andcommitted
HHH-17943 - Fix for issue
1 parent a559dd2 commit f44332c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/temptable/LocalTemporaryTableStrategy.java

+3
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@
2222
public class LocalTemporaryTableStrategy {
2323

2424
public static final String SHORT_NAME = "local_temporary";
25+
/**
26+
* For H2 dialect avoid setting the drop strategy to true because H2 forces a commit when dropping a temporary table
27+
*/
2528
public static final String DROP_ID_TABLES = "hibernate.query.mutation_strategy.local_temporary.drop_tables";
2629

2730
private final TemporaryTable temporaryTable;

0 commit comments

Comments
 (0)