FilterAdapter的connection_createStatement传递参数出错

git-svn-id: http://code.alibabatech.com/svn/druid/trunk@850 b9813039-fb51-4c41-a8b9-e21c2acb5095
This commit is contained in:
wenshao
2011-09-19 03:17:54 +00:00
parent 6217175420
commit 4787fe586f
5 changed files with 76 additions and 14 deletions
@@ -246,7 +246,12 @@ public class MockConnection implements Connection {
throw new MockConnectionClosedException();
}
return new MockStatement(this);
MockStatement stmt = new MockStatement(this);
stmt.setResultSetType(resultSetType);
stmt.setResultSetConcurrency(resultSetConcurrency);
return stmt;
}
@Override