improve OracleExceptionSorter

This commit is contained in:
wenshao
2013-05-27 01:16:43 +08:00
parent 19bf88548c
commit 2fe4356edb
10 changed files with 52 additions and 2 deletions
@@ -1,10 +1,12 @@
package com.alibaba.druid.bvt.pool;
import java.sql.SQLException;
import java.util.Properties;
import junit.framework.Assert;
import junit.framework.TestCase;
import org.junit.Assert;
import com.alibaba.druid.pool.DruidDataSource;
import com.alibaba.druid.pool.ExceptionSorter;
import com.alibaba.druid.pool.vendor.MySqlValidConnectionChecker;
@@ -98,5 +100,11 @@ public class DruidDataSourceTest4 extends TestCase {
return false;
}
@Override
public void configFromProperties(Properties properties) {
// TODO Auto-generated method stub
}
}
}
@@ -4,6 +4,7 @@ import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.Properties;
import junit.framework.TestCase;
@@ -40,6 +41,11 @@ public class DruidDataSourceTest_exceptionSorter extends TestCase {
public boolean isExceptionFatal(SQLException e) {
return true;
}
@Override
public void configFromProperties(Properties properties) {
}
});
}