https://issues.apache.org/bugzilla/show_bug.cgi?id=56974

            Bug ID: 56974
           Summary: jdbc-pool validation query defaultAutoCommit status
           Product: Tomcat Modules
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: jdbc-pool
          Assignee: dev@tomcat.apache.org
          Reporter: denuwanthi.hasanth...@gmail.com

I would like to know wether the validation query made by jdbc pool is done in
defaultAutoCommit=true mode.
Because, it seems like after the validation query, it is not committed. So,
when we try to do some other operation we get an error : "Cannot change
transaction isolation level in the middle of a transaction"
Thus, we have to forcefully commit the validation query, by making
defaultAutoCommit=true in our datasource configuration.
Any insight on this is much appreciated.

Thanks,
Denuwanthi.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to