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

Documentation.

上级 7f8ce4a4
...@@ -24,7 +24,7 @@ Change Log ...@@ -24,7 +24,7 @@ Change Log
</li><li>Issue 294: OSGi: the versions were missing in manifest package exports. </li><li>Issue 294: OSGi: the versions were missing in manifest package exports.
</li><li>The option -baseDir didn't work with symbolic links. </li><li>The option -baseDir didn't work with symbolic links.
</li><li>Database-level connection settings could only be set in the database URL, </li><li>Database-level connection settings could only be set in the database URL,
but not using the Properties parameter of DriverManaget.getConnection(String url, Properties info). but not using the Properties parameter of DriverManager.getConnection(String url, Properties info).
</li></ul> </li></ul>
<h2>Version 1.3.152 Beta (2011-03-01)</h2> <h2>Version 1.3.152 Beta (2011-03-01)</h2>
......
...@@ -132,6 +132,7 @@ spread the word, and translated this project. Also many thanks to the donors: ...@@ -132,6 +132,7 @@ spread the word, and translated this project. Also many thanks to the donors:
</li><li>Theis Borg, Denmark </li><li>Theis Borg, Denmark
</li><li>Joel A. Garringer, USA </li><li>Joel A. Garringer, USA
</li><li>Olivier Chafik, France </li><li>Olivier Chafik, France
</li><li>Rene Schwietzke, Germany
</li></ul> </li></ul>
<!-- [close] { --></div></td></tr></table><!-- } --><!-- analytics --></body></html> <!-- [close] { --></div></td></tr></table><!-- } --><!-- analytics --></body></html>
......
...@@ -215,6 +215,7 @@ See also <a href="build.html#providing_patches">Providing Patches</a>. ...@@ -215,6 +215,7 @@ See also <a href="build.html#providing_patches">Providing Patches</a>.
</li><li>Support compatibility for jdbc:hsqldb:res: </li><li>Support compatibility for jdbc:hsqldb:res:
</li><li>Provide an Java SQL builder with standard and H2 syntax </li><li>Provide an Java SQL builder with standard and H2 syntax
</li><li>Trace: write OS, file system, JVM,... when opening the database </li><li>Trace: write OS, file system, JVM,... when opening the database
</li><li>MySQL compatibility: update test1 t1, test2 t2 set t1.id = t2.id where t1.id = t2.id;
</li><li>Support indexes for views (probably requires materialized views) </li><li>Support indexes for views (probably requires materialized views)
</li><li>Document SET SEARCH_PATH, BEGIN, EXECUTE, parameters </li><li>Document SET SEARCH_PATH, BEGIN, EXECUTE, parameters
</li><li>Browser: use Desktop.isDesktopSupported and browse when using JDK 1.6 </li><li>Browser: use Desktop.isDesktopSupported and browse when using JDK 1.6
...@@ -253,7 +254,6 @@ See also <a href="build.html#providing_patches">Providing Patches</a>. ...@@ -253,7 +254,6 @@ See also <a href="build.html#providing_patches">Providing Patches</a>.
CREATE USER SA PASSWORD ""; GRANT DBA TO SA; SET SCHEMA PUBLIC CREATE USER SA PASSWORD ""; GRANT DBA TO SA; SET SCHEMA PUBLIC
</li><li>Translation: use ${.} in help.csv </li><li>Translation: use ${.} in help.csv
</li><li>Translated .pdf </li><li>Translated .pdf
</li><li>MySQL compatibility: update test1 t1, test2 t2 set t1.id = t2.id where t1.id = t2.id;
</li><li>Recovery tool: bad blocks should be converted to INSERT INTO SYSTEM_ERRORS(...), and things should go into the .trace.db file </li><li>Recovery tool: bad blocks should be converted to INSERT INTO SYSTEM_ERRORS(...), and things should go into the .trace.db file
</li><li>RECOVER=2 to backup the database, run recovery, open the database </li><li>RECOVER=2 to backup the database, run recovery, open the database
</li><li>Recovery should work with encrypted databases </li><li>Recovery should work with encrypted databases
...@@ -441,7 +441,7 @@ See also <a href="build.html#providing_patches">Providing Patches</a>. ...@@ -441,7 +441,7 @@ See also <a href="build.html#providing_patches">Providing Patches</a>.
</li><li>User defined functions: allow to store the bytecode (of just the class, or the jar file of the extension) in the database. </li><li>User defined functions: allow to store the bytecode (of just the class, or the jar file of the extension) in the database.
</li><li>Compatibility: ResultSet.getObject() on a CLOB (TEXT) should return String for PostgreSQL and MySQL. </li><li>Compatibility: ResultSet.getObject() on a CLOB (TEXT) should return String for PostgreSQL and MySQL.
</li><li>Optimizer: WHERE X=? AND Y IN(?), it always uses the index on Y. Should be cost based. </li><li>Optimizer: WHERE X=? AND Y IN(?), it always uses the index on Y. Should be cost based.
</li><li>Make the cache scan resistant (currently a small cache is faster than a large cache for large table scans). </li><li>Oracle compatibility: support INSERT ALL.
</li><li>Issue 178: Optimizer: index usage when both ascending and descending indexes are available. </li><li>Issue 178: Optimizer: index usage when both ascending and descending indexes are available.
</li><li>Issue 179: Related subqueries in HAVING clause. </li><li>Issue 179: Related subqueries in HAVING clause.
</li><li>IBM DB2 compatibility: NOT NULL WITH DEFAULT. Similar to MySQL Mode.convertInsertNullToZero. </li><li>IBM DB2 compatibility: NOT NULL WITH DEFAULT. Similar to MySQL Mode.convertInsertNullToZero.
...@@ -512,7 +512,6 @@ See also <a href="build.html#providing_patches">Providing Patches</a>. ...@@ -512,7 +512,6 @@ See also <a href="build.html#providing_patches">Providing Patches</a>.
</li><li>Require appending DANGEROUS=TRUE when using certain dangerous settings such as </li><li>Require appending DANGEROUS=TRUE when using certain dangerous settings such as
LOG=0, LOG=1, LOCK_MODE=0, disabling FILE_LOCK,... LOG=0, LOG=1, LOCK_MODE=0, disabling FILE_LOCK,...
</li><li>Support for Thread.interrupt to cancel running statements. </li><li>Support for Thread.interrupt to cancel running statements.
</li><li>Oracle compatibility: support INSERT ALL.
</li><li>Support UDT (user defined types) similar to how Apache Derby supports it: </li><li>Support UDT (user defined types) similar to how Apache Derby supports it:
check constraint, allow to use it in Java functions as parameters (return values already seem to work). check constraint, allow to use it in Java functions as parameters (return values already seem to work).
</li><li>Encrypted file system (use cipher text stealing so file length doesn't need to decrypt; 4 KB header per file, </li><li>Encrypted file system (use cipher text stealing so file length doesn't need to decrypt; 4 KB header per file,
...@@ -540,6 +539,7 @@ See also <a href="build.html#providing_patches">Providing Patches</a>. ...@@ -540,6 +539,7 @@ See also <a href="build.html#providing_patches">Providing Patches</a>.
(maybe only for a part of the values - the ones that can be evaluated). (maybe only for a part of the values - the ones that can be evaluated).
</li><li>Compatibility for ARRAY data type (Oracle: VARRAY(n) of VARCHAR(m); HSQLDB: VARCHAR(n) ARRAY; Postgres: VARCHAR(n)[]). </li><li>Compatibility for ARRAY data type (Oracle: VARRAY(n) of VARCHAR(m); HSQLDB: VARCHAR(n) ARRAY; Postgres: VARCHAR(n)[]).
</li><li>PostgreSQL compatible array literal syntax: ARRAY[['a', 'b'], ['c', 'd']] </li><li>PostgreSQL compatible array literal syntax: ARRAY[['a', 'b'], ['c', 'd']]
</li><li>PostgreSQL compatibility: UPDATE with FROM.
</li></ul> </li></ul>
<h2>Not Planned</h2> <h2>Not Planned</h2>
......
...@@ -550,7 +550,7 @@ or upgrade to a version of Hibernate where this is fixed. ...@@ -550,7 +550,7 @@ or upgrade to a version of Hibernate where this is fixed.
</p> </p>
<p> <p>
When using Hibernate, try to use the <code>H2Dialect</code> if possible. When using Hibernate, try to use the <code>H2Dialect</code> if possible.
When using the <code>H2Dialect</code>, When using the <code>H2Dialect</code>,
compatibility modes such as <code>MODE=MySQL</code> are not supported. compatibility modes such as <code>MODE=MySQL</code> are not supported.
When using such a compatibility mode, use the Hibernate dialect for the When using such a compatibility mode, use the Hibernate dialect for the
corresponding database instead of the <code>H2Dialect</code>. corresponding database instead of the <code>H2Dialect</code>.
......
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.
...@@ -35,13 +35,13 @@ public class TestDriver extends TestBase { ...@@ -35,13 +35,13 @@ public class TestDriver extends TestBase {
} }
private void testSettingsAsProperties() throws Exception { private void testSettingsAsProperties() throws Exception {
Properties props = new Properties(); Properties prop = new Properties();
props.put("user", getUser()); prop.put("user", getUser());
props.put("password", getPassword()); prop.put("password", getPassword());
props.put("max_compact_time", "1234"); prop.put("max_compact_time", "1234");
props.put("unknown", "1234"); prop.put("unknown", "1234");
String url = getURL("driver", true); String url = getURL("driver", true);
Connection conn = DriverManager.getConnection(url, props); Connection conn = DriverManager.getConnection(url, prop);
ResultSet rs; ResultSet rs;
rs = conn.createStatement().executeQuery( rs = conn.createStatement().executeQuery(
"select * from information_schema.settings where name='MAX_COMPACT_TIME'"); "select * from information_schema.settings where name='MAX_COMPACT_TIME'");
......
...@@ -675,7 +675,7 @@ denydatawriter datareader datawriter catlog ...@@ -675,7 +675,7 @@ denydatawriter datareader datawriter catlog
raise inspector maintain understanding annotated loose ensures inherits raise inspector maintain understanding annotated loose ensures inherits
trouble designed decouple reflectively skeletons retention reflective validates trouble designed decouple reflectively skeletons retention reflective validates
clip upgrades demonstrate inspectors clip upgrades demonstrate inspectors
exceed identities differentiate inherited tracks notated strip suggestions exceed identities differentiate inherited tracks strip suggestions
registration sanity improperly annotate inheritance composite inspected registration sanity improperly annotate inheritance composite inspected
hurt imposes marshal policy upgrader configurations dark varray xlint executor hurt imposes marshal policy upgrader configurations dark varray xlint executor
completion completion inactivity exports maintains backside schwietzke rene
...@@ -104,7 +104,8 @@ import java.lang.annotation.Target; ...@@ -104,7 +104,8 @@ import java.lang.annotation.Target;
* <pre> * <pre>
* Db db = Db.open(&quot;jdbc:h2:mem:&quot;, &quot;sa&quot;, &quot;sa&quot;); * Db db = Db.open(&quot;jdbc:h2:mem:&quot;, &quot;sa&quot;, &quot;sa&quot;);
* DbInspector inspector = new DbInspector(db); * DbInspector inspector = new DbInspector(db);
* List&lt;Validation&gt; remarks = inspector.validateModel(new MyModel(), throwOnError); * List&lt;Validation&gt; remarks =
* inspector.validateModel(new MyModel(), throwOnError);
* for (Validation remark : remarks) { * for (Validation remark : remarks) {
* System.out.println(remark); * System.out.println(remark);
* } * }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论