change default

This commit is contained in:
wenshao
2013-04-28 15:13:10 +08:00
parent 53984d9358
commit f7f8936bd1
8 changed files with 23 additions and 21 deletions
@@ -575,6 +575,10 @@ public class DruidDataSource extends DruidAbstractDataSource implements DruidDat
if (!(isTestOnBorrow() || isTestOnReturn() || isTestWhileIdle())) {
return;
}
if (this.validConnectionChecker != null) {
return;
}
if (this.getValidationQuery() != null && this.getValidationQuery().length() > 0) {
return;