完善测试

git-svn-id: http://code.alibabatech.com/svn/druid/trunk@804 b9813039-fb51-4c41-a8b9-e21c2acb5095
This commit is contained in:
wenshao
2011-09-16 06:44:22 +00:00
parent 850493fb48
commit 29c01715f0
2 changed files with 319 additions and 5 deletions
@@ -533,7 +533,7 @@ public class MockCallableStatement extends MockPreparedStatement implements Call
@Override
public void setNClob(String parameterName, Reader x, long length) throws SQLException {
setObject(parameterName, x);
}
@Override
@@ -547,14 +547,13 @@ public class MockCallableStatement extends MockPreparedStatement implements Call
}
@Override
public void setSQLXML(String parameterName, SQLXML xmlObject) throws SQLException {
public void setSQLXML(String parameterName, SQLXML x) throws SQLException {
setObject(parameterName, x);
}
@Override
public SQLXML getSQLXML(int parameterIndex) throws SQLException {
return null;
return (SQLXML) getObject(parameterIndex);
}
@Override