mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
Update src/main/java/com/alibaba/druid/pool/DruidDataSourceFactory.java
这个判断有问题,为啥要做这个判断呢?
This commit is contained in:
@@ -95,9 +95,9 @@ public class DruidDataSourceFactory implements ObjectFactory {
|
||||
return null;
|
||||
}
|
||||
Reference ref = (Reference) obj;
|
||||
if (!"javax.sql.DataSource".equals(ref.getClassName())) {
|
||||
return null;
|
||||
}
|
||||
//if (!"javax.sql.DataSource".equals(ref.getClassName())) {
|
||||
// return null;
|
||||
//}
|
||||
|
||||
Properties properties = new Properties();
|
||||
for (int i = 0; i < ALL_PROPERTIES.length; i++) {
|
||||
|
||||
Reference in New Issue
Block a user