Rather than calling ExecuteContext(RuntimeException)
with null
, we shouldn't call jOOQ at all. This will lead to throwing the original SQLException wrapped in a jOOQ DataAccessException
, just as if the JooqExceptionTranslator
hadn't been configured.
See https://github.com/spring-projects/spring-boot/pull/25493 for further details.