At the moment, the convert method of the SqlExceptionHelper calls the method logExceptions() before converting the exception. This makes it impossible to handle exceptions without having them logged and without disabling the whole logging.
H2 database with Hibernate 5.0.10
This is also causing us alot of problems. Our alerting is being triggered because errors are being written to the log file but we are handling the exception so the error log is for us totally unnecessary. The caller should decide themselves what they want to do with the exception or not and IMHO the 'message' should be part of the exception itself.