Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
d7e9f4a2
提交
d7e9f4a2
authored
3月 21, 2009
作者:
Thomas Mueller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
--no commit message
--no commit message
上级
21c2318f
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
10 行增加
和
4 行删除
+10
-4
features.html
h2/src/docsrc/html/features.html
+1
-1
roadmap.html
h2/src/docsrc/html/roadmap.html
+1
-0
RunScript.java
h2/src/main/org/h2/tools/RunScript.java
+3
-3
otherDatabases.txt
h2/src/test/org/h2/test/otherDatabases.txt
+5
-0
没有找到文件。
h2/src/docsrc/html/features.html
浏览文件 @
d7e9f4a2
...
@@ -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://
<
server
>
[:
<
port
>
]/
<
databaseName
>
<br
/>
jdbc:h2:tcp://
<
server
>
[:
<
port
>
]/
[
<
path
>
]
<
databaseName
>
<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>
...
...
h2/src/docsrc/html/roadmap.html
浏览文件 @
d7e9f4a2
...
@@ -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>
...
...
h2/src/main/org/h2/tools/RunScript.java
浏览文件 @
d7e9f4a2
...
@@ -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:
...
...
h2/src/test/org/h2/test/otherDatabases.txt
浏览文件 @
d7e9f4a2
...
@@ -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
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论