HHH-13741 Make sure SQL is logged for regular select queries
This commit is contained in:
parent
1c5bdd5151
commit
f84c2b56db
|
@ -241,7 +241,7 @@ public class DeferredResultSetAccess extends AbstractResultSetAccess {
|
|||
}
|
||||
finally {
|
||||
eventListenerManager.jdbcExecuteStatementEnd();
|
||||
sqlStatementLogger.logSlowQuery( preparedStatement, executeStartNanos, context() );
|
||||
sqlStatementLogger.logSlowQuery( finalSql, executeStartNanos, context() );
|
||||
}
|
||||
|
||||
skipRows( resultSet );
|
||||
|
|
Loading…
Reference in New Issue