Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
329480c5
提交
329480c5
authored
10月 04, 2009
作者:
Thomas Mueller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Prepare release
上级
53184870
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
1207 行增加
和
1180 行删除
+1207
-1180
changelog.html
h2/src/docsrc/html/changelog.html
+4
-4
_docs_en.utf8.txt
h2/src/docsrc/text/_docs_en.utf8.txt
+394
-382
_docs_ja.utf8.txt
h2/src/docsrc/text/_docs_ja.utf8.txt
+394
-382
_docs_en.properties
h2/src/docsrc/textbase/_docs_en.properties
+386
-382
newsfeed.sql
h2/src/test/org/h2/samples/newsfeed.sql
+29
-30
没有找到文件。
h2/src/docsrc/html/changelog.html
浏览文件 @
329480c5
...
@@ -22,16 +22,16 @@ Change Log
...
@@ -22,16 +22,16 @@ Change Log
<h2>
Version 1.2.120 (2009-09-26)
</h2>
<h2>
Version 1.2.120 (2009-09-26)
</h2>
<ul><li>
This is a beta version.
<ul><li>
This is a beta version.
</li><li>
In version 1.2, the following system properties are now enabled by default:
</li><li>
In version 1.2, the following system properties are now enabled by default:
h2.pageStore, h2.nullConcatIsNull, h2.optimizeInList. The default value for
h2.pageStore, h2.nullConcatIsNull, h2.optimizeInList. The default value for
h2.defaultMaxLengthInplaceLob is now 4096 (it was 1024 with version 1.1).
h2.defaultMaxLengthInplaceLob is now 4096 (it was 1024 with version 1.1).
</li><li>
New databases are now stored in the new 'page store' file format.
</li><li>
New databases are now stored in the new 'page store' file format.
Existing databases are kept in the old file format. To use the old file format,
Existing databases are kept in the old file format. To use the old file format,
append ;PAGE_STORE=FALSE to the database URL or set the system property h2.pageStore to false.
append ;PAGE_STORE=FALSE to the database URL or set the system property h2.pageStore to false.
</li><li>
Issue 125: Renaming primary keys was not persistent. Fixed.
</li><li>
Issue 125: Renaming primary keys was not persistent. Fixed.
Unfortunately, databases created by this version can not be opened with older versions because of this change.
</li><li>
Issue 124: Hibernate schema validation failed for decimal/numeric columns.
</li><li>
Issue 124: Hibernate schema validation failed for decimal/numeric columns.
This problem is fixed in the Hibernate dialect that is included with H2
This problem is fixed in the Hibernate dialect that is included with H2
(src/tools/org/hibernate/dialect/H2Dialect.java.txt), but not in Hibernate yet.
(src/tools/org/hibernate/dialect/H2Dialect.java.txt), but not in Hibernate yet.
Unfortunately, databases created by this version can not be opened with older versions because of this change.
</li><li>
PostgreSQL compatibility: function LASTVAL() as an alias for IDENTITY().
</li><li>
PostgreSQL compatibility: function LASTVAL() as an alias for IDENTITY().
</li><li>
Linked tables now support default values when inserting, updating or merging.
</li><li>
Linked tables now support default values when inserting, updating or merging.
</li><li>
Bugfixes in the page store.
</li><li>
Bugfixes in the page store.
...
...
h2/src/docsrc/text/_docs_en.utf8.txt
浏览文件 @
329480c5
差异被折叠。
点击展开。
h2/src/docsrc/text/_docs_ja.utf8.txt
浏览文件 @
329480c5
差异被折叠。
点击展开。
h2/src/docsrc/textbase/_docs_en.properties
浏览文件 @
329480c5
差异被折叠。
点击展开。
h2/src/test/org/h2/samples/newsfeed.sql
浏览文件 @
329480c5
...
@@ -13,6 +13,35 @@ INSERT INTO CHANNEL VALUES('H2 Database Engine' ,
...
@@ -13,6 +13,35 @@ INSERT INTO CHANNEL VALUES('H2 Database Engine' ,
CREATE
TABLE
ITEM
(
ID
INT
PRIMARY
KEY
,
TITLE
VARCHAR
,
ISSUED
TIMESTAMP
,
DESC
VARCHAR
);
CREATE
TABLE
ITEM
(
ID
INT
PRIMARY
KEY
,
TITLE
VARCHAR
,
ISSUED
TIMESTAMP
,
DESC
VARCHAR
);
INSERT
INTO
ITEM
VALUES
(
70
,
'New version available: 1.2.120 (2009-10-04)'
,
'2009-10-04 12:00:00'
,
$$
A
new
version
of
H2
is
available
for
<
a
href
=
"http://www.h2database.com"
>
download
</
a
>
.
(
You
may
have
to
click
'Refresh'
).
<
br
/>
<
b
>
Changes
and
new
functionality
:
</
b
>
<
ul
><
li
>
This
is
a
beta
version
.
</
li
><
li
>
New
databases
are
now
stored
in
a
new
file
format
.
Existing
databases
are
kept
in
the
old
file
format
.
</
li
><
li
>
Databases
created
by
this
version
can
not
be
opened
with
older
versions
.
</
li
><
li
>
In
version
1
.
2
,
the
following
system
properties
are
enabled
by
default
:
h2
.
pageStore
,
h2
.
nullConcatIsNull
,
h2
.
optimizeInList
.
</
li
><
li
>
PostgreSQL
compatibility
:
function
LASTVAL
()
as
an
alias
for
IDENTITY
().
</
li
><
li
>
Linked
tables
now
support
default
values
when
inserting
,
updating
or
merging
.
</
li
><
li
>
Possibility
to
set
a
vendor
id
in
Constants
.
java
.
</
li
><
li
>
Allow
writing
to
linked
tables
in
readonly
databases
.
</
li
></
ul
>
<
b
>
Bugfixes
:
</
b
>
<
ul
><
li
>
Issue
125
:
Renaming
primary
keys
was
not
persistent
.
Fixed
.
</
li
><
li
>
Issue
124
:
Hibernate
schema
validation
failed
for
decimal
/
numeric
columns
.
</
li
><
li
>
Bugfixes
in
the
page
store
.
</
li
></
ul
>
For
details
,
see
the
'Change Log'
at
http
:
//
www
.
h2database
.
com
/
html
/
changelog
.
html
<
br
/>
For
future
plans
,
see
the
'Roadmap'
page
at
http
:
//
www
.
h2database
.
com
/
html
/
roadmap
.
html
$$
);
INSERT
INTO
ITEM
VALUES
(
69
,
INSERT
INTO
ITEM
VALUES
(
69
,
'New version available: 1.1.119 (2009-09-26)'
,
'2009-09-26 12:00:00'
,
'New version available: 1.1.119 (2009-09-26)'
,
'2009-09-26 12:00:00'
,
$$
A
new
version
of
H2
is
available
for
<
a
href
=
"http://www.h2database.com"
>
download
</
a
>
.
$$
A
new
version
of
H2
is
available
for
<
a
href
=
"http://www.h2database.com"
>
download
</
a
>
.
...
@@ -414,36 +443,6 @@ For future plans, see the 'Roadmap' page at
...
@@ -414,36 +443,6 @@ For future plans, see the 'Roadmap' page at
http://www.h2database.com/html/roadmap.html
http://www.h2database.com/html/roadmap.html
$$);
$$);
INSERT INTO ITEM VALUES(56,
'
New
version
available
:
1
.
1
.
106
(
beta
;
2009
-
01
-
04
)
', '
2009
-
01
-
04
12
:
00
:
00
',
$$A new version of H2 is available for <a href="http://www.h2database.com">download</a>.
(You may have to click '
Refresh
').
<br />
<b>Changes and new functionality:</b>
<ul><li>The license change a bit: so far the license was modified to say
'
Swiss
law
'. This is now changed back to the original '
US
law
'.
</li><li>CREATE DOMAIN: built-in data types can now only be changed if no tables exist.
</li><li>DatabaseMetaData.getPrimaryKeys: the column PK_NAME now contains the
constraint name instead of the index name (compatibility for PostgreSQL and Derby).
</li></ul>
<b>Bugfixes:</b>
<ul><li>Statement.setQueryTimeout did not work correctly for some statements.
</li><li>Linked tables: a workaround for Oracle DATE columns has been implemented.
</li><li>Using IN(..) inside a IN(SELECT..) did not always work.
</li><li>Views with IN(..) that used a view itself did not work.
</li><li>Union queries with LIMIT or ORDER BY that are used in a view or subquery did not work.
</li><li>Constraints for local temporary tables now session scoped. So far they were global.
Thanks a lot to Eric Faulhaber for finding and fixing this problem!
</li><li>When using the auto-server mode, and if the lock file was modified in the future,
the wrong exception was thrown.
</li></ul>
For details, see the '
Change
Log
' at
http://www.h2database.com/html/changelog.html
<br />
For future plans, see the '
Roadmap
' page at
http://www.h2database.com/html/roadmap.html
$$);
SELECT '
newsfeed
-
rss
.
xml
' FILE,
SELECT '
newsfeed
-
rss
.
xml
' FILE,
XMLSTARTDOC() ||
XMLSTARTDOC() ||
XMLNODE('
rss
', XMLATTR('
version
', '
2
.
0
'),
XMLNODE('
rss
', XMLATTR('
version
', '
2
.
0
'),
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论