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

Fix ConnectionState when exception #643

Closed
wants to merge 1 commit into from
Closed

Conversation

wenjunxiao
Copy link

When an exception occurs while writing, the ConnectionState state will be inconsistent with the actual state on the connection, therefore, the state needs to be cleaned up on exception. Example code https://github.com/wenjunxiao/lab-tomcat-jdbc-autocommit

When an exception occurs while writing, the ConnectionState state will be inconsistent with the actual state on the connection, therefore, the state needs to be cleaned up on exception. Example code https://github.com/wenjunxiao/lab-tomcat-jdbc-autocommit
@aooohan aooohan self-assigned this Aug 2, 2023
@aooohan
Copy link
Member

aooohan commented Aug 3, 2023

Thanks for the PR. I have merged manually with adding a unit test and changelog entry.

@aooohan aooohan closed this Aug 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants