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

--no commit message

--no commit message
上级 33a0a8c6
...@@ -17,12 +17,12 @@ Change Log ...@@ -17,12 +17,12 @@ Change Log
<h2>Next Version (unreleased)</h2> <h2>Next Version (unreleased)</h2>
<ul><li>ResultSetMetaData.getColumnClassName now returns the correct <ul><li>ResultSetMetaData.getColumnClassName now returns the correct
class name for BLOB and CLOB. class name for BLOB and CLOB.
</li><li>Fixed the Oracle mode: Oracle allows multiple rows only where </li><li>Fixed the Oracle mode: Oracle allows multiple rows only where
all columns of the unique index are NULL. all columns of the unique index are NULL.
</li><li>There is a problem with Hibernate when using Boolean columns. </li><li>There is a problem with Hibernate when using Boolean columns.
A patch for Hibernate has been submitted at A patch for Hibernate has been submitted at
http://opensource.atlassian.com/projects/hibernate/browse/HHH-3401 http://opensource.atlassian.com/projects/hibernate/browse/HHH-3401
</li><li>ORDER BY on tableName.columnName didn't work correctly if the column </li><li>ORDER BY on tableName.columnName didn't work correctly if the column
name was also used as an alias. name was also used as an alias.
</li><li>H2 Console: The progress display when opening a database has been improved. </li><li>H2 Console: The progress display when opening a database has been improved.
......
...@@ -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 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论