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

Added support for JDBC 4.3 beginRequest and endRequest methods. #677

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

fmeheust
Copy link

@fmeheust fmeheust commented Nov 6, 2023

JDBC 4.3 added the methods beginRequest and endRequest to java.sql.Connection. These methods hint the driver of the beginning and completion of a request (independent unit of work). Connection pooling manager should call these methods on the underlying connection prior to returning a connection to the caller, and when the applications returns the connection back to the connection pool respectively.

This pull request adds support for beginRequest and endRequest methods to the Tomcat JDBC Connection Pool.

@fmeheust fmeheust requested a review from aooohan November 7, 2023 09:24
Copy link
Member

@aooohan aooohan left a comment

Choose a reason for hiding this comment

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

LGTM.

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

Successfully merging this pull request may close these issues.

3 participants