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 {
|
finally {
|
||||||
eventListenerManager.jdbcExecuteStatementEnd();
|
eventListenerManager.jdbcExecuteStatementEnd();
|
||||||
sqlStatementLogger.logSlowQuery( preparedStatement, executeStartNanos, context() );
|
sqlStatementLogger.logSlowQuery( finalSql, executeStartNanos, context() );
|
||||||
}
|
}
|
||||||
|
|
||||||
skipRows( resultSet );
|
skipRows( resultSet );
|
||||||
|
|
Loading…
Reference in New Issue