Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
69f143ed
提交
69f143ed
authored
4月 05, 2009
作者:
Thomas Mueller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
--no commit message
--no commit message
上级
3697cea5
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
20 行增加
和
3 行删除
+20
-3
changelog.html
h2/src/docsrc/html/changelog.html
+3
-1
features.html
h2/src/docsrc/html/features.html
+15
-2
TestAll.java
h2/src/test/org/h2/test/TestAll.java
+2
-0
没有找到文件。
h2/src/docsrc/html/changelog.html
浏览文件 @
69f143ed
...
...
@@ -18,7 +18,9 @@ Change Log
<h1>
Change Log
</h1>
<h2>
Next Version (unreleased)
</h2>
<ul><li>
Sometimes a StackOverflow occured when checking for deadlock. See also
<ul><li>
When using the built-in connection pool, connections were not rolled back and
autocommit was not enabled after closing a connection. Fixed.
</li><li>
Sometimes a StackOverflow occurred when checking for deadlock. See also
http://code.google.com/p/h2database/issues/detail?id=61
</li><li>
The Shell tool does no longer truncate results with only one column, and displays
a message if data was truncated.
...
...
h2/src/docsrc/html/features.html
浏览文件 @
69f143ed
...
...
@@ -1180,10 +1180,23 @@ When the first connection is closed, the server stops. If other (remote) connect
open, one of them will then start a server (auto-reconnect is enabled automatically).
</p>
<p>
This mode has t
wo
disadvantages: All processes need to have access to the database files.
This mode has t
hree
disadvantages: All processes need to have access to the database files.
Then, if the first connection is closed (the connection that started the server), open transactions of
other connections will be rolled back.
Also, explicit client/server connections (using jdbc:h2:tcp:// or ssl://) are not supported.
</p>
<p>
Here is an example how to use this mode. Application 1 and 2 are not necessarily started
on the same computer, but they need to have access to the database files. Application 1
and 2 are typically two different processes (however they could run within the same process).
</p>
<pre>
// Application 1:
DriverManager.getConnection("jdbc:h2:/data/test;AUTO_SERVER=TRUE");
// Application 2:
DriverManager.getConnection("jdbc:h2:/data/test;AUTO_SERVER=TRUE");
</pre>
<br
/><a
name=
"trace_options"
></a>
<h2>
Using the Trace Options
</h2>
...
...
h2/src/test/org/h2/test/TestAll.java
浏览文件 @
69f143ed
...
...
@@ -282,6 +282,8 @@ java org.h2.test.TestAll timer
/*
website: remove redirect
Check JBoss and Spring support models
Move issues to the roadmap
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论