mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
improved jdk7 support & postgresql support.
This commit is contained in:
@@ -700,8 +700,9 @@ public class DruidDataSource extends DruidAbstractDataSource implements DruidDat
|
||||
this.dbType = JdbcUtils.getDbType(jdbcUrl, null);
|
||||
}
|
||||
|
||||
if (JdbcConstants.MYSQL.equals(this.dbType) || //
|
||||
JdbcConstants.MARIADB.equals(this.dbType)) {
|
||||
if (JdbcConstants.MYSQL.equals(this.dbType)
|
||||
|| JdbcConstants.MARIADB.equals(this.dbType)
|
||||
|| JdbcConstants.ALIYUN_ADS.equals(this.dbType)) {
|
||||
boolean cacheServerConfigurationSet = false;
|
||||
if (this.connectProperties.containsKey("cacheServerConfiguration")) {
|
||||
cacheServerConfigurationSet = true;
|
||||
|
||||
Reference in New Issue
Block a user