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

--no commit message

--no commit message
上级 21c2318f
...@@ -482,7 +482,7 @@ This is achieved using different database URLs. Settings in the URLs are not cas ...@@ -482,7 +482,7 @@ This is achieved using different database URLs. Settings in the URLs are not cas
<tr> <tr>
<td><a href="tutorial.html#using_server">Remote using TCP/IP</a></td> <td><a href="tutorial.html#using_server">Remote using TCP/IP</a></td>
<td> <td>
jdbc:h2:tcp://&lt;server&gt;[:&lt;port&gt;]/&lt;databaseName&gt;<br /> jdbc:h2:tcp://&lt;server&gt;[:&lt;port&gt;]/[&lt;path&gt;]&lt;databaseName&gt;<br />
jdbc:h2:tcp://localhost/~/test<br /> jdbc:h2:tcp://localhost/~/test<br />
jdbc:h2:tcp://dbserv:8084/~/sample jdbc:h2:tcp://dbserv:8084/~/sample
</td> </td>
......
...@@ -407,6 +407,7 @@ Of course, patches are always welcome, but are not always applied as is. Patches ...@@ -407,6 +407,7 @@ Of course, patches are always welcome, but are not always applied as is. Patches
</li><li>Support reading JCR data: one table per node type; query table; cache option </li><li>Support reading JCR data: one table per node type; query table; cache option
</li><li>OSGi: create a sample application, test, document. </li><li>OSGi: create a sample application, test, document.
</li><li>help.csv: use complete examples for functions; run as test case. </li><li>help.csv: use complete examples for functions; run as test case.
</li><li>Deploy h2..-sources.jar to maven repository.
</li></ul> </li></ul>
<h2>Not Planned</h2> <h2>Not Planned</h2>
......
...@@ -53,7 +53,7 @@ public class RunScript extends Tool { ...@@ -53,7 +53,7 @@ public class RunScript extends Tool {
" [-driver <class>] The JDBC driver class to use (not required in most cases)\n" + " [-driver <class>] The JDBC driver class to use (not required in most cases)\n" +
" [-showResults] Show the statements and the results of queries\n" + " [-showResults] Show the statements and the results of queries\n" +
" [-checkResults] Check if the query results match the expected results\n" + " [-checkResults] Check if the query results match the expected results\n" +
" [-options ...] The list of options (only for H2 embedded mode)"); " [-options ...] A list of options (only for embedded H2, see RUNSCRIPT)");
out.println("See also http://h2database.com/javadoc/" + getClass().getName().replace('.', '/') + ".html"); out.println("See also http://h2database.com/javadoc/" + getClass().getName().replace('.', '/') + ".html");
} }
...@@ -71,8 +71,8 @@ public class RunScript extends Tool { ...@@ -71,8 +71,8 @@ public class RunScript extends Tool {
* databases) </li> * databases) </li>
* <li>-showResults (show the statements and the results of queries)</li> * <li>-showResults (show the statements and the results of queries)</li>
* <li>-checkResults (check if the query results match the expected results</li> * <li>-checkResults (check if the query results match the expected results</li>
* <li>-options (to specify a list of options ;only for H2 and only when * <li>-options (to specify a list of options for the RUNSCRIPT command;
* using the embedded mode) </li> * only for H2 and only when using the embedded mode)</li>
* </ul> * </ul>
* To include local files when using remote databases, use the special * To include local files when using remote databases, use the special
* syntax: * syntax:
......
...@@ -4,6 +4,9 @@ MySQL ...@@ -4,6 +4,9 @@ MySQL
SET GLOBAL sql_mode='ANSI'; SET GLOBAL sql_mode='ANSI';
SELECT @@global.sql_mode SELECT @@global.sql_mode
Non-standard escape mechanism:
select 'Joe''s', 'Joe\'s';
Compare with NULL problem: Compare with NULL problem:
drop table test; drop table test;
create table test(id int); create table test(id int);
...@@ -33,6 +36,8 @@ The workaround responseBuffering=adaptive doesn't always seem to work ...@@ -33,6 +36,8 @@ The workaround responseBuffering=adaptive doesn't always seem to work
PostgreSQL PostgreSQL
-------------------------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------------------------
Non-standard escape mechanism:
select 'Joe''s', 'Joe\'s';
HSQLDB HSQLDB
-------------------------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------------------------
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论