完善mock和测试

git-svn-id: http://code.alibabatech.com/svn/druid/trunk@836 b9813039-fb51-4c41-a8b9-e21c2acb5095
This commit is contained in:
wenshao
2011-09-18 07:00:02 +00:00
parent 4ed95e9e0f
commit a5d592933b
5 changed files with 115 additions and 52 deletions
@@ -284,12 +284,12 @@ public class DruidDataSourceFactory implements ObjectFactory {
value = properties.getProperty(PROP_EXCEPTION_SORTER);
if (value != null) {
dataSource.setExceptionSoter(value);
dataSource.setExceptionSorter(value);
}
value = properties.getProperty(PROP_EXCEPTION_SORTER_CLASS_NAME);
if (value != null) {
dataSource.setExceptionSoter(value);
dataSource.setExceptionSorter(value);
}
value = properties.getProperty(PROP_INITCONNECTIONSQLS);