提交 69f143ed authored 作者: Thomas Mueller's avatar Thomas Mueller

--no commit message

--no commit message
上级 3697cea5
......@@ -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.
......
......@@ -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 two disadvantages: All processes need to have access to the database files.
This mode has three 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.
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>
......
......@@ -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 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论