NullPointerException because JdbcIsolationDelegate.sqlExceptionHelper() returns null
Description
Activity
Show:

Gavin King June 28, 2024 at 7:09 PM
This looks like it might have been introduced by commit d4accd02
.
I don’t think it’s really correct to call JdbcResourceLocalTransactionCoordinatorImpl
.createIsolationDelegate()
before the JdbcEnvironment
is fully set up.
Trying to update my web application to Hibernate 6.4.4, I got this warning during startup:
Looks like others have encountered the same problem -
Not sure what the cause is, but regardless this is very easy to fix.
Please consider the following patch, which I’ve tested and seems to work just fine: