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

Call beginRequest and endRequest #2071

Open
jeandelavarene opened this issue May 16, 2023 · 0 comments
Open

Call beginRequest and endRequest #2071

jeandelavarene opened this issue May 16, 2023 · 0 comments

Comments

@jeandelavarene
Copy link

JDBC 4.3 added two new methods beginRequest -- and endRequest that connection pools can call to demarcate request boundaries.
As the JavaDoc explains, these methods are hints to the driver that a connection becomes active. What the driver does about it is vendor specific. It may not do anything.
This issue is filed to make HikariCP call beginRequest when a connection is borrowed and endRequest when the connection is released.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant