improved jdk7 support & postgresql support.

This commit is contained in:
wenshao
2017-07-11 15:48:00 +08:00
parent 1e0ce32284
commit 15ac64e501
10 changed files with 134 additions and 9 deletions
@@ -1635,7 +1635,8 @@ public abstract class DruidAbstractDataSource extends WrapperAdapter implements
stmt.execute(sql);
}
if (JdbcConstants.MYSQL.equals(dbType)) {
if (JdbcConstants.MYSQL.equals(dbType)
||JdbcConstants.ALIYUN_ADS.equals(dbType)) {
if (variables != null) {
ResultSet rs = null;
try {