提交 f1887961 authored 作者: Thomas Mueller's avatar Thomas Mueller

Documentation.

上级 cd49d27d
...@@ -18,16 +18,16 @@ Change Log ...@@ -18,16 +18,16 @@ Change Log
<h1>Change Log</h1> <h1>Change Log</h1>
<h2>Next Version (unreleased)</h2> <h2>Next Version (unreleased)</h2>
<ul><li>Statement.getQueryTimeout(): only the first call to this method will query the database. <ul><li>Statement.getQueryTimeout(): only the first call to this method will query the database.
If the query timeout was changed in another way than calling setQueryTimeout, If the query timeout was changed in another way than calling setQueryTimeout,
this method will always return the last value. This was changed because Hibernate this method will always return the last value. This was changed because Hibernate
calls getQueryTimeout() a lot. calls getQueryTimeout() a lot.
</li><li>Issue 416: PreparedStatement.setNString throws AbstractMethodError. </li><li>Issue 416: PreparedStatement.setNString throws AbstractMethodError.
All implemented JDBC 4 methods that don't break compatiblity with Java 5 All implemented JDBC 4 methods that don't break compatibility with Java 5
are now included in the default jar file. are now included in the default jar file.
</li><li>Issue 414: for some functions, the parameters were evaluated twice </li><li>Issue 414: for some functions, the parameters were evaluated twice
(for example "char(nextval(..))" ran "nextval(..)" twice). (for example "char(nextval(..))" ran "nextval(..)" twice).
</li><li>The ResultSetMetaData methods getSchemaName and getTableName </li><li>The ResultSetMetaData methods getSchemaName and getTableName
could return null instead of "" (an empty string) as specified in the JDBC API. could return null instead of "" (an empty string) as specified in the JDBC API.
</li><li>Added compatibility for "SET NAMES" query in MySQL compatibility mode.</li> </li><li>Added compatibility for "SET NAMES" query in MySQL compatibility mode.</li>
</ul> </ul>
......
...@@ -1649,7 +1649,7 @@ public static class MyTableEngine implements org.h2.api.TableEngine { ...@@ -1649,7 +1649,7 @@ public static class MyTableEngine implements org.h2.api.TableEngine {
</pre> </pre>
and then create the table from SQL like this: and then create the table from SQL like this:
<pre> <pre>
CREATE TABLE mytable(id int, name varchar) ENGINE "acme.MyTableEngine"; CREATE TABLE TEST(ID INT, NAME VARCHAR) ENGINE "acme.MyTableEngine";
</pre> </pre>
</p> </p>
......
...@@ -43,7 +43,7 @@ Please note this is mostly a single connection benchmark run on one computer, ...@@ -43,7 +43,7 @@ Please note this is mostly a single connection benchmark run on one computer,
with many very simple operations running against the database. with many very simple operations running against the database.
This benchmark does not include very complex queries. This benchmark does not include very complex queries.
The embedded mode of H2 is faster than the client-server mode because The embedded mode of H2 is faster than the client-server mode because
the per-statement overhead is greatly reduced. the per-statement overhead is greatly reduced.
</p> </p>
<h3>Embedded</h3> <h3>Embedded</h3>
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论