Skip to content

Commit 450af91

Browse files
dreab8DavideD
authored andcommitted
[hibernate#2055] Avoid logging temporary command twice
1 parent 1194940 commit 450af91

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

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

-6
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,8 @@ public TemporaryTableCreationWork(
6868

6969
@Override
7070
public CompletionStage<Void> reactiveExecute(ReactiveConnection connection) {
71-
final JdbcServices jdbcServices = sessionFactory.getJdbcServices();
72-
7371
try {
7472
final String creationCommand = exporter.getSqlCreateCommand( temporaryTable );
75-
logStatement( creationCommand, jdbcServices );
7673

7774
return connection.executeUnprepared( creationCommand )
7875
.handle( (integer, throwable) -> {
@@ -116,11 +113,8 @@ public TemporaryTableDropWork(
116113

117114
@Override
118115
public CompletionStage<Void> reactiveExecute(ReactiveConnection connection) {
119-
final JdbcServices jdbcServices = sessionFactory.getJdbcServices();
120-
121116
try {
122117
final String dropCommand = exporter.getSqlDropCommand( temporaryTable );
123-
logStatement( dropCommand, jdbcServices );
124118

125119
return connection.update( dropCommand )
126120
.handle( (integer, throwable) -> {

0 commit comments

Comments
 (0)