提交 5562036a authored 作者: Thomas Mueller's avatar Thomas Mueller

When creating a BLOB with in InputStream or a CLOB with a Reader, and the…

When creating a BLOB with in InputStream or a CLOB with a Reader, and the InputStream or Reader threw an non-IOException, then the LOB storage was broken when storing LOBs in the database.
上级 1dfe2bb5
...@@ -82,7 +82,7 @@ public class TestLobApi extends TestBase { ...@@ -82,7 +82,7 @@ public class TestLobApi extends TestBase {
public void close() throws IOException { public void close() throws IOException {
// nothing to do // nothing to do
} }
}); }, -1);
fail(); fail();
} catch (Exception e) { } catch (Exception e) {
// expected // expected
...@@ -105,7 +105,7 @@ public class TestLobApi extends TestBase { ...@@ -105,7 +105,7 @@ public class TestLobApi extends TestBase {
} }
return 0; return 0;
} }
}); }, -1);
fail(); fail();
} catch (Exception e) { } catch (Exception e) {
// expected // expected
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论