[jboss-jira] [JBoss JIRA] (AG-93) Prevents calls to setAutoCommit that don't change the auto-commit state
Luis Barreiro (Jira)
issues at jboss.org
Tue Oct 9 22:48:01 EDT 2018
[ https://issues.jboss.org/browse/AG-93?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Luis Barreiro closed AG-93.
---------------------------
> Prevents calls to setAutoCommit that don't change the auto-commit state
> ------------------------------------------------------------------------
>
> Key: AG-93
> URL: https://issues.jboss.org/browse/AG-93
> Project: Agroal
> Issue Type: Bug
> Components: pool
> Affects Versions: 1.1
> Reporter: Luis Barreiro
> Assignee: Luis Barreiro
> Priority: Major
> Fix For: 1.2
>
>
> Calls to setAutoCommit always set it as a dirty attribute, even if they don't effectively change auto-commit state. This will cause another call to setAutoCommit when returning the connection to the pool.
> Some drivers don't do well with calls to setAutoCommit when in transaction. This change will prevent those calls (as long as it's set to false in the configuration).
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
More information about the jboss-jira
mailing list