Would be great if we can backport this to 6.1.x as well, as this is causing failures when logging certain queries (and Spring Boot 3.0 is tied to Hibernate 6.1.x). Would this be acceptable?