Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
dd477e58
提交
dd477e58
authored
1月 03, 2011
作者:
Thomas Mueller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Documentation.
上级
7263a660
隐藏空白字符变更
内嵌
并排
正在显示
8 个修改的文件
包含
21 行增加
和
14 行删除
+21
-14
build.html
h2/src/docsrc/html/build.html
+0
-4
changelog.html
h2/src/docsrc/html/changelog.html
+6
-3
features.html
h2/src/docsrc/html/features.html
+3
-3
history.html
h2/src/docsrc/html/history.html
+1
-0
links.html
h2/src/docsrc/html/links.html
+7
-0
SimpleResultSet.java
h2/src/main/org/h2/tools/SimpleResultSet.java
+2
-2
TestLobApi.java
h2/src/test/org/h2/test/jdbc/TestLobApi.java
+1
-1
dictionary.txt
h2/src/tools/org/h2/build/doc/dictionary.txt
+1
-1
没有找到文件。
h2/src/docsrc/html/build.html
浏览文件 @
dd477e58
...
@@ -42,10 +42,6 @@ Build
...
@@ -42,10 +42,6 @@ Build
This database is written in Java and therefore works on many platforms.
This database is written in Java and therefore works on many platforms.
It can also be compiled to a native executable using GCJ.
It can also be compiled to a native executable using GCJ.
</p>
</p>
<p>
For Java 1.4, the jar file needs to be converted first using
<a
href=
"http://retrotranslator.sourceforge.net"
>
Retrotranslator
</a>
.
</p>
<h2
id=
"environment"
>
Environment
</h2>
<h2
id=
"environment"
>
Environment
</h2>
<p>
<p>
...
...
h2/src/docsrc/html/changelog.html
浏览文件 @
dd477e58
...
@@ -18,12 +18,15 @@ Change Log
...
@@ -18,12 +18,15 @@ Change Log
<h1>
Change Log
</h1>
<h1>
Change Log
</h1>
<h2>
Next Version (unreleased)
</h2>
<h2>
Next Version (unreleased)
</h2>
<ul><li>
When the system property h2.lobInDatabase is set, reading a BLOB is a bit faster
<ul><li>
Multi-version concurrency: SELECT ... FOR UPDATE threw a "concurrent update" exception immediately
instead of a "lock timeout" exception after the set lock timeout if the row was already locked by another connection.
</li><li>
Translation: the H2 Console and error messages have been translated to Czech by Hannibal (http://hannibal.cestiny.cz/). Thanks a lot!
</li><li>
When the system property h2.lobInDatabase is set, reading a BLOB is a bit faster
because the length is not read.
because the length is not read.
</li><li>
The SimpleResultSet now has a feature to not close the result set after reading the last row.
</li><li>
The SimpleResultSet now has a feature to not close the result set after reading the last row.
</li><li>
Native fulltext search: the ignore list doesn't need to be all uppercase now.
</li><li>
Native fulltext search: the ignore list doesn't need to be all uppercase now.
</li><li>
Improved statistics output in the Recover tool.
</li><li>
Improved statistics output in the Recover tool.
</li><li>
Issue 269: GROUP BY queries with a column or having clause that contains IN(SELECT ...)
</li><li>
Issue 269: GROUP BY queries with a column or having clause that contains IN(SELECT ...)
could return the wrong values. Example: SELECT X IN(SELECT Y) FROM Z GROUP BY X.
could return the wrong values. Example: SELECT X IN(SELECT Y) FROM Z GROUP BY X.
</li><li>
After closing a database, the writer thread will stop almost immediately (instead of after at most 100 ms).
</li><li>
After closing a database, the writer thread will stop almost immediately (instead of after at most 100 ms).
This should avoid error messages in the Tomcat log file after a shutdown.
This should avoid error messages in the Tomcat log file after a shutdown.
...
@@ -31,7 +34,7 @@ Change Log
...
@@ -31,7 +34,7 @@ Change Log
</li><li>
The SLF4J 1.6 API is now used by default (this should not have any user visible effect).
</li><li>
The SLF4J 1.6 API is now used by default (this should not have any user visible effect).
</li><li>
The org.h2.tools.Console no longer calls System.exit on shutdown
</li><li>
The org.h2.tools.Console no longer calls System.exit on shutdown
(this should not have any user visible effect, but should allow to integrate the tool easier into other applications).
(this should not have any user visible effect, but should allow to integrate the tool easier into other applications).
</li><li>
Improved date / time arithmetics. Adding and subtracting a
</li><li>
Improved date / time arithmetics. Adding and subtracting a
floating point value from a date or timestamp is now supported.
floating point value from a date or timestamp is now supported.
</li><li>
When creating a BLOB with in InputStream or a CLOB with a Reader, and the InputStream or Reader
</li><li>
When creating a BLOB with in InputStream or a CLOB with a Reader, and the InputStream or Reader
threw an non-IOException, then the LOB storage was broken when storing LOBs in the database.
threw an non-IOException, then the LOB storage was broken when storing LOBs in the database.
...
...
h2/src/docsrc/html/features.html
浏览文件 @
dd477e58
...
@@ -1120,9 +1120,9 @@ This feature doesn't work with in-memory databases. Example database URL:
...
@@ -1120,9 +1120,9 @@ This feature doesn't work with in-memory databases. Example database URL:
jdbc:h2:/data/test;AUTO_SERVER=TRUE
jdbc:h2:/data/test;AUTO_SERVER=TRUE
</pre>
</pre>
<p>
<p>
Use the same URL for all connections to this database.
Behind the scenes, when using this mode,
Use the same URL for all connections to this database.
Internally, when using this mode,
the first connection to the database is made in embedded mode, and additionally a server
the first connection to the database is made in embedded mode, and additionally a server
is started internally (as a daemon thread). If the database is already open in another process,
is started internally (as a daemon thread). If the database is already open in another process,
the server mode is used automatically.
the server mode is used automatically.
</p>
</p>
<p>
<p>
...
...
h2/src/docsrc/html/history.html
浏览文件 @
dd477e58
...
@@ -130,6 +130,7 @@ spread the word, and translated this project. Also many thanks to the donors:
...
@@ -130,6 +130,7 @@ spread the word, and translated this project. Also many thanks to the donors:
</li><li>
Philippe Marschall, Switzerland
</li><li>
Philippe Marschall, Switzerland
</li><li>
Knut Staring, Norway
</li><li>
Knut Staring, Norway
</li><li>
Theis Borg, Denmark
</li><li>
Theis Borg, Denmark
</li><li>
Joel A. Garringer, USA
</li></ul>
</li></ul>
<!-- [close] { -->
</div></td></tr></table>
<!-- } --><!-- analytics -->
</body></html>
<!-- [close] { -->
</div></td></tr></table>
<!-- } --><!-- analytics -->
</body></html>
...
...
h2/src/docsrc/html/links.html
浏览文件 @
dd477e58
...
@@ -632,6 +632,13 @@ SQLOrm</a><br />
...
@@ -632,6 +632,13 @@ SQLOrm</a><br />
Java Object Relation Mapping.
Java Object Relation Mapping.
</p>
</p>
<p><a
href=
"http://csv-jdbc.com"
>
StelsCSV and StelsXML
</a><br
/>
StelsCSV is a CSV JDBC type 4 driver that allows to perform SQL queries and other JDBC operations on text files.
StelsXML is a XML JDBC type 4 driver that allows to perform SQL queries and other JDBC operations on XML files.
Both use H2 as the SQL engine.
</p>
<p><a
href=
"http://www.intertec.ch/storybook"
>
<p><a
href=
"http://www.intertec.ch/storybook"
>
StorYBook
</a><br
/>
StorYBook
</a><br
/>
A summary-based tool for novelist and script writers. It helps to keep the overview over the various traces a story has.
A summary-based tool for novelist and script writers. It helps to keep the overview over the various traces a story has.
...
...
h2/src/main/org/h2/tools/SimpleResultSet.java
浏览文件 @
dd477e58
...
@@ -2124,8 +2124,8 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData {
...
@@ -2124,8 +2124,8 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData {
//## Java 1.6 end ##
//## Java 1.6 end ##
/**
/**
* Set the auto-close behavior. If enabled (the default), the result set is
closed
* Set the auto-close behavior. If enabled (the default), the result set is
* after reading the last row.
*
closed
after reading the last row.
*
*
* @param autoClose the new value
* @param autoClose the new value
*/
*/
...
...
h2/src/test/org/h2/test/jdbc/TestLobApi.java
浏览文件 @
dd477e58
...
@@ -68,7 +68,7 @@ public class TestLobApi extends TestBase {
...
@@ -68,7 +68,7 @@ public class TestLobApi extends TestBase {
try
{
try
{
prep
.
setCharacterStream
(
1
,
new
Reader
()
{
prep
.
setCharacterStream
(
1
,
new
Reader
()
{
int
pos
;
int
pos
;
public
int
read
(
char
[]
cbu
f
,
int
off
,
int
len
)
throws
IOException
{
public
int
read
(
char
[]
buf
f
,
int
off
,
int
len
)
throws
IOException
{
pos
+=
len
;
pos
+=
len
;
if
(
pos
>
100001
)
{
if
(
pos
>
100001
)
{
if
(
ioException
)
{
if
(
ioException
)
{
...
...
h2/src/tools/org/h2/build/doc/dictionary.txt
浏览文件 @
dd477e58
...
@@ -665,4 +665,4 @@ mbeans unregisters subtracting multiplying dividing contended bindings
...
@@ -665,4 +665,4 @@ mbeans unregisters subtracting multiplying dividing contended bindings
projection managing observer misuse windowed discriminator abort familiar rice
projection managing observer misuse windowed discriminator abort familiar rice
reachable mind develop disposition extras arithmetics readwrite syncable
reachable mind develop disposition extras arithmetics readwrite syncable
requeried requery closable curr outdated market accurate borg theis welford
requeried requery closable curr outdated market accurate borg theis welford
ooq exceeded eye
ooq exceeded eye
prevention
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论