长事务监控

git-svn-id: http://code.alibabatech.com/svn/druid/trunk@856 b9813039-fb51-4c41-a8b9-e21c2acb5095
This commit is contained in:
wenshao
2011-09-19 06:07:27 +00:00
parent 1dd5fd7576
commit 5776915952
4 changed files with 49 additions and 8 deletions
@@ -49,6 +49,7 @@ public class PoolableCallableStatementTest extends TestCase {
Assert.assertEquals(raw, stmt.getCallableStatementRaw());
}
@SuppressWarnings("deprecation")
public void test_callableStmt() throws Exception {
Assert.assertTrue(stmt.wasNull() == false);
@@ -263,6 +264,7 @@ public class PoolableCallableStatementTest extends TestCase {
}
}
@SuppressWarnings("deprecation")
public void test_get_error() {
{
SQLException error = null;