mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
change default
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user