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.
See https://github.com/apache/tomcat/pull/170