提交 335fcf60 authored 作者: Thomas Mueller's avatar Thomas Mueller

Various CallableStatement methods could throw a NullPointerException.

上级 1797573d
...@@ -112,7 +112,7 @@ public class TestCallableStatement extends TestBase { ...@@ -112,7 +112,7 @@ public class TestCallableStatement extends TestBase {
assertEquals(ErrorCode.OBJECT_CLOSED, e.getErrorCode()); assertEquals(ErrorCode.OBJECT_CLOSED, e.getErrorCode());
} }
try { try {
call.getURL("X"); call.getString("X");
} catch (SQLException e) { } catch (SQLException e) {
assertEquals(ErrorCode.OBJECT_CLOSED, e.getErrorCode()); assertEquals(ErrorCode.OBJECT_CLOSED, e.getErrorCode());
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论