git-svn-id: http://code.alibabatech.com/svn/druid/trunk@74 b9813039-fb51-4c41-a8b9-e21c2acb5095

This commit is contained in:
wenshao
2011-05-14 09:09:13 +00:00
parent c96818767d
commit dacdee139c
5 changed files with 150 additions and 18 deletions
@@ -105,6 +105,10 @@ public class DruidDriver implements Driver, DruidDriverMBean {
@Override
public Connection connect(String url, Properties info) throws SQLException {
if (!acceptsURL(url)) {
return null;
}
connectCounter.incrementAndGet();
DataSourceProxyImpl dataSource = getDataSource(url, info);