-
Notifications
You must be signed in to change notification settings - Fork 13k
Closed
Labels
enhancementImprove a feature or add a new featureImprove a feature or add a new feature
Milestone
Description
Why resetAutoCommit() in close is necessary?
When connection is newly created or popped from pool, setDesiredAutoCommit is called and AutoCommit is set to desired state, anyway.
When connection is not pooled and really closed, resetting AutoCommit appears to be useless. Because it's going to be closed.
So in both pooled and non pooled case, resetAutoCommit appears to be useless.
And setting when popped and resetting when pushed, it exec “SET AUTOCOMMIT” and it’s taking some time to process.
Shouldn't resetAutoCommit in close be removed?
Metadata
Metadata
Assignees
Labels
enhancementImprove a feature or add a new featureImprove a feature or add a new feature