提交 329480c5 authored 作者: Thomas Mueller's avatar Thomas Mueller

Prepare release

上级 53184870
...@@ -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.
......
...@@ -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 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论