Skip to content
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

Add exceptionOverrideClassName config for HikariCP #2621

Merged
merged 1 commit into from Dec 12, 2022

Conversation

jsoizo
Copy link
Contributor

@jsoizo jsoizo commented Dec 12, 2022

This aims to use HikariCP's exception override function.

https://github.com/brettwooldridge/HikariCP/blob/58b87f4be23642dffd7daca912de23b8bc25f44b/src/main/java/com/zaxxer/hikari/HikariConfig.java#L877

Usecase of this is for avoiding to evict connection when some SQLException is occurred.
AWS JDBC Driver for MySQL is one of the example that needs the function.

https://github.com/awslabs/aws-mysql-jdbc#connection-pooling

@nafg nafg force-pushed the add_hikaricp_exception_override branch from b904ffd to ddc9030 Compare December 12, 2022 01:59
Copy link
Member

@nafg nafg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution!

@github-actions
Copy link
Contributor

There are no incompatible changes

@slick slick deleted a comment from github-actions bot Dec 12, 2022
@mergify mergify bot merged commit 9a885b8 into slick:main Dec 12, 2022
@jsoizo jsoizo deleted the add_hikaricp_exception_override branch December 12, 2022 03:09
@nafg nafg added this to the 3.5.0 milestone Dec 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants