提交 682efd30 authored 作者: Thomas Mueller's avatar Thomas Mueller

--no commit message

--no commit message
上级 33a0a8c6
...@@ -202,9 +202,9 @@ public class TestMetaData extends TestBase { ...@@ -202,9 +202,9 @@ public class TestMetaData extends TestBase {
stat.executeUpdate("CREATE TABLE t (blob BLOB, clob CLOB)"); stat.executeUpdate("CREATE TABLE t (blob BLOB, clob CLOB)");
stat.execute("INSERT INTO t VALUES('', '')"); stat.execute("INSERT INTO t VALUES('', '')");
ResultSet rs = stat.executeQuery("SELECT blob,clob FROM t"); ResultSet rs = stat.executeQuery("SELECT blob,clob FROM t");
ResultSetMetaData rsmd = rs.getMetaData(); ResultSetMetaData meta = rs.getMetaData();
assertEquals("java.io.InputStream", rsmd.getColumnClassName(1)); assertEquals("java.io.InputStream", meta.getColumnClassName(1));
assertEquals("java.io.Reader", rsmd.getColumnClassName(2)); assertEquals("java.io.Reader", meta.getColumnClassName(2));
rs.next(); rs.next();
assertEquals("java.io.ByteArrayInputStream", rs.getObject(1).getClass().getName()); assertEquals("java.io.ByteArrayInputStream", rs.getObject(1).getClass().getName());
assertEquals("java.io.BufferedReader", rs.getObject(2).getClass().getName()); assertEquals("java.io.BufferedReader", rs.getObject(2).getClass().getName());
......
...@@ -551,4 +551,4 @@ geocoder geocoding longitude estimating microarray latitude magnolia pfgrc ...@@ -551,4 +551,4 @@ geocoder geocoding longitude estimating microarray latitude magnolia pfgrc
refill analyzers patches popular came growing indication arabic graphic toc refill analyzers patches popular came growing indication arabic graphic toc
numbering goto outline makensis macro hyperlink dispatch setlocal wend numbering goto outline makensis macro hyperlink dispatch setlocal wend
widows msgbox designer styles families uno soffice orphans stan ucb rem widows msgbox designer styles families uno soffice orphans stan ucb rem
pdfurl upate pagebreak ren echo pdfurl upate pagebreak ren echo atlassian buggy submitted
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论