Skip to content

JooqExceptionTranslator passes null exception to jOOQ when SQLException cannot be translated #25717

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wilkinsona opened this issue Mar 17, 2021 · 0 comments
Assignees
Labels
type: bug A general bug
Milestone

Comments

@wilkinsona
Copy link
Member

wilkinsona commented Mar 17, 2021

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 #25493 for further details.

@wilkinsona wilkinsona added the type: bug A general bug label Mar 17, 2021
@wilkinsona wilkinsona added this to the 2.4.4 milestone Mar 17, 2021
@wilkinsona wilkinsona self-assigned this Mar 17, 2021
This was referenced Mar 18, 2021
sgrimm added a commit to terraware/terraware-server that referenced this issue Dec 15, 2021
While developing the search code, it was annoying to keep running into
spring-projects/spring-boot#25717 which caused database
error messages to not show up in the logs. The bug was fixed in the patch version
of Spring Boot just after the one we were using.
kallen07 pushed a commit to terraware/terraware-server that referenced this issue Dec 15, 2021
While developing the search code, it was annoying to keep running into
spring-projects/spring-boot#25717 which caused database
error messages to not show up in the logs. The bug was fixed in the patch version
of Spring Boot just after the one we were using.
humaolin pushed a commit to humaolin/spring-boot that referenced this issue May 7, 2022
humaolin pushed a commit to humaolin/spring-boot that referenced this issue May 7, 2022
humaolin pushed a commit to humaolin/spring-boot that referenced this issue May 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug A general bug
Projects
None yet
Development

No branches or pull requests

1 participant