change version & dbType

This commit is contained in:
wenshao
2012-07-22 10:38:57 +08:00
parent d8b2798b82
commit 9679dd624f
6 changed files with 19 additions and 3 deletions
@@ -68,7 +68,7 @@ public class DataSourceProxyImpl implements DataSourceProxy, DataSourceProxyImpl
this.rawDriver = rawDriver;
this.config = config;
this.dbType = JdbcUtils.getDbType(config.getRawUrl(), config.getRawDriverClassName());
this.dataSourceStat = new JdbcDataSourceStat(config.getName(), config.getUrl());
this.dataSourceStat = new JdbcDataSourceStat(config.getName(), config.getUrl(), dbType);
}
public String getDbType() {