提交 36841fdf authored 作者: Thomas Mueller's avatar Thomas Mueller

Prepare release.

上级 ad94cc5a
...@@ -1452,7 +1452,7 @@ Both defaults can be customized via ...@@ -1452,7 +1452,7 @@ Both defaults can be customized via
prior opening a database connection. prior opening a database connection.
</p> </p>
<p> <p>
Since version 1.2.140 it is possible to let the old h2 classes (v 1.2.128) connect to the database. Since version 1.2.140 it is possible to let the old h2 classes (v 1.2.128) connect to the database.
The automatic upgrade .jar file must be present, and the URL must start with <code>jdbc:h2v1_1:</code>. The automatic upgrade .jar file must be present, and the URL must start with <code>jdbc:h2v1_1:</code>.
If the database should automatically connect using the old version if a database with the old format exists If the database should automatically connect using the old version if a database with the old format exists
(without upgrade), and use the new version otherwise, then append <code>;NO_UPGRADE=TRUE</code> (without upgrade), and use the new version otherwise, then append <code>;NO_UPGRADE=TRUE</code>
......
...@@ -18,6 +18,10 @@ Change Log ...@@ -18,6 +18,10 @@ Change Log
<h1>Change Log</h1> <h1>Change Log</h1>
<h2>Next Version (unreleased)</h2> <h2>Next Version (unreleased)</h2>
<ul><li>-
</li></ul>
<h2>Version 1.3.148 Beta (2010-12-12)</h2>
<ul><li>The built-in connection pool was simplified a bit. <ul><li>The built-in connection pool was simplified a bit.
The dispose() method no longer throws an exception (it only logs it). The dispose() method no longer throws an exception (it only logs it).
</li><li>The database upgrade (to upgrade from H2 version 1.1.x) has been simplified. </li><li>The database upgrade (to upgrade from H2 version 1.1.x) has been simplified.
...@@ -30,7 +34,7 @@ Change Log ...@@ -30,7 +34,7 @@ Change Log
</li><li>The DbStarter servlet context listener now starts the server before opening a connection, </li><li>The DbStarter servlet context listener now starts the server before opening a connection,
so that connecting using the server mode works. so that connecting using the server mode works.
</li><li>The Shell tool can now enable, disable, and display the current autocommit mode. </li><li>The Shell tool can now enable, disable, and display the current autocommit mode.
</li><li>There is a limitation in the cluster mode: </li><li>There is a limitation in the cluster mode:
The SQL statement SET AUTOCOMMIT FALSE doesn't work. The SQL statement SET AUTOCOMMIT FALSE doesn't work.
To disable autocommit, the method Connection.setAutoCommit(false) needs to be called. To disable autocommit, the method Connection.setAutoCommit(false) needs to be called.
This is now documented. See also issue 259. This is now documented. See also issue 259.
......
...@@ -17,7 +17,7 @@ Downloads ...@@ -17,7 +17,7 @@ Downloads
<h1>Downloads</h1> <h1>Downloads</h1>
<h3>Version ${version} (${versionDate})</h3> <h3>Version ${version} (${versionDate}), Beta</h3>
<p> <p>
<a href="http://www.h2database.com/h2-setup-${versionDate}.exe">Windows Installer</a> <a href="http://www.h2database.com/h2-setup-${versionDate}.exe">Windows Installer</a>
<!-- sha1Exe --><br /> <!-- sha1Exe --><br />
......
...@@ -215,7 +215,7 @@ statement can have multiple reasons. Follow this checklist: ...@@ -215,7 +215,7 @@ statement can have multiple reasons. Follow this checklist:
By default, H2 closes the database when the last connection is closed. By default, H2 closes the database when the last connection is closed.
If your application closes the only connection after each operation, If your application closes the only connection after each operation,
the database is opened and closed a lot, which is quite slow. the database is opened and closed a lot, which is quite slow.
There are multiple ways to solve this problem, see There are multiple ways to solve this problem, see
<a href="performance.html#database_performance_tuning">Database Performance Tuning</a>. <a href="performance.html#database_performance_tuning">Database Performance Tuning</a>.
</p> </p>
...@@ -269,14 +269,14 @@ For more information, see ...@@ -269,14 +269,14 @@ For more information, see
<h3 id="how_to_contribute">How to Contribute to this Project?</h3> <h3 id="how_to_contribute">How to Contribute to this Project?</h3>
<p> <p>
There are various way to help develop an open source project like H2. The first step could be to There are various way to help develop an open source project like H2. The first step could be to
<a href="build.html#translating">translate</a> the error messages and the GUI to your native language. <a href="build.html#translating">translate</a> the error messages and the GUI to your native language.
Then, you could Then, you could
<a href="build.html#providing_patches">provide patches</a>. <a href="build.html#providing_patches">provide patches</a>.
Please start with small patches. That could be adding a test case to improve the Please start with small patches. That could be adding a test case to improve the
<a href="build.html#automated">code coverage</a> (the target code coverage for this project is 90%, higher is better). <a href="build.html#automated">code coverage</a> (the target code coverage for this project is 90%, higher is better).
You will have to <a href="build.html">develop, build and run the tests</a>. You will have to <a href="build.html">develop, build and run the tests</a>.
Once you are familiar with the code, you could implement missing features from the Once you are familiar with the code, you could implement missing features from the
<a href="roadmap.html">feature request list</a>. <a href="roadmap.html">feature request list</a>.
I suggest to start with very small features that are easy to implement. I suggest to start with very small features that are easy to implement.
Keep in mind to provide test cases as well. Keep in mind to provide test cases as well.
......
...@@ -30,12 +30,12 @@ Welcome to H2, the Java SQL database. The main features of H2 are: ...@@ -30,12 +30,12 @@ Welcome to H2, the Java SQL database. The main features of H2 are:
</li><li>Small footprint: around 1 MB jar file size </li><li>Small footprint: around 1 MB jar file size
</li></ul> </li></ul>
<table style="border: 0px; width: 450px;"> <table style="border: 0px; width: 470px;">
<tr><td style="border: 0px; background-color: #eee;"> <tr><td style="border: 0px; background-color: #eee;">
<table style="border: 0px; margin: 0px 7px 12px 7px;"> <table style="border: 0px; margin: 0px 7px 12px 7px;">
<tr><td style="border: 0px; background-color: #eee;" colspan="2"> <tr><td style="border: 0px; background-color: #eee;" colspan="2">
<h2 style="margin-top: 1em;">Download</h2> <h2 style="margin-top: 1em;">Download</h2>
Version ${version} (${versionDate}) Version ${version} (${versionDate}), Beta
</td></tr> </td></tr>
<tr><td style="border: 0px; background-color: #eee;"> <tr><td style="border: 0px; background-color: #eee;">
<a href="http://www.h2database.com/h2-setup-${versionDate}.exe"><img style="border: 1px #00f solid;" src="images/download.png" alt="Download this database" width="22" height="20"/></a> <a href="http://www.h2database.com/h2-setup-${versionDate}.exe"><img style="border: 1px #00f solid;" src="images/download.png" alt="Download this database" width="22" height="20"/></a>
...@@ -82,7 +82,7 @@ Welcome to H2, the Java SQL database. The main features of H2 are: ...@@ -82,7 +82,7 @@ Welcome to H2, the Java SQL database. The main features of H2 are:
<tr><td colspan="3" style="border: 0px; padding: 5px 0px 15px 0px;"> <tr><td colspan="3" style="border: 0px; padding: 5px 0px 15px 0px;">
<h2 style="margin-top: 1em;">Features</h2> <h2 style="margin-top: 1em;">Features</h2>
<table style="width: 450px;"><tr class="notranslate"> <table style="width: 470px;"><tr class="notranslate">
<th></th> <th></th>
<th>H2</th> <th>H2</th>
<th><a href="http://db.apache.org/derby">Derby</a></th> <th><a href="http://db.apache.org/derby">Derby</a></th>
......
...@@ -22,7 +22,7 @@ Initial Developer: H2 Group ...@@ -22,7 +22,7 @@ Initial Developer: H2 Group
} else if (key == 'build') { } else if (key == 'build') {
if (value == 64) { if (value == 64) {
tag = 'tags/version-1.0.' + value; tag = 'tags/version-1.0.' + value;
} else if (value == 146) { } else if (value == 146 || value == 148) {
tag = 'tags/version-1.3.' + build + '/h2'; tag = 'tags/version-1.3.' + build + '/h2';
} else if (value >= 120) { } else if (value >= 120) {
tag = 'tags/version-1.2.' + value + '/h2'; tag = 'tags/version-1.2.' + value + '/h2';
......
...@@ -68,7 +68,7 @@ function go(file, line) { ...@@ -68,7 +68,7 @@ function go(file, line) {
var tag = 'trunk/h2'; var tag = 'trunk/h2';
if (build == 64) { if (build == 64) {
tag = 'tags/version-1.0.' + build; tag = 'tags/version-1.0.' + build;
} else if (build == 146) { } else if (build == 146 || build == 148) {
tag = 'tags/version-1.3.' + build + '/h2'; tag = 'tags/version-1.3.' + build + '/h2';
} else if (build >= 120) { } else if (build >= 120) {
tag = 'tags/version-1.2.' + build + '/h2'; tag = 'tags/version-1.2.' + build + '/h2';
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -2,6 +2,8 @@ Update Constants.java - change version and build number ...@@ -2,6 +2,8 @@ Update Constants.java - change version and build number
Update changelog.html - add new version, remove oldest Update changelog.html - add new version, remove oldest
Update newsfeed.sql - add new version, remove oldest Update newsfeed.sql - add new version, remove oldest
Minor version change: change sourceError.html and source.html Minor version change: change sourceError.html and source.html
If a beta, change download.html: Version ${version} (${versionDate}), Beta
If a beta, change mainWeb.html: Version ${version} (${versionDate}), Beta
Benchmark: use latest versions of other dbs, change version(s) in performance.html Benchmark: use latest versions of other dbs, change version(s) in performance.html
Run ./buildRelease.sh / buildRelease.bat Run ./buildRelease.sh / buildRelease.bat
......
...@@ -16,22 +16,22 @@ public class Constants { ...@@ -16,22 +16,22 @@ public class Constants {
/** /**
* The build date is updated for each public release. * The build date is updated for each public release.
*/ */
public static final String BUILD_DATE = "2010-11-21"; public static final String BUILD_DATE = "2010-12-12";
/** /**
* The build date is updated for each public release. * The build date is updated for each public release.
*/ */
public static final String BUILD_DATE_STABLE = "2010-11-02"; public static final String BUILD_DATE_STABLE = "2010-11-21";
/** /**
* The build id is incremented for each public release. * The build id is incremented for each public release.
*/ */
public static final int BUILD_ID = 147; public static final int BUILD_ID = 148;
/** /**
* The build id of the last stable release. * The build id of the last stable release.
*/ */
public static final int BUILD_ID_STABLE = 145; public static final int BUILD_ID_STABLE = 147;
/** /**
* If H2 is compiled to be included in a product, this should be set to * If H2 is compiled to be included in a product, this should be set to
......
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
CREATE TABLE VERSION(ID INT PRIMARY KEY, VERSION VARCHAR, CREATED VARCHAR); CREATE TABLE VERSION(ID INT PRIMARY KEY, VERSION VARCHAR, CREATED VARCHAR);
INSERT INTO VERSION VALUES INSERT INTO VERSION VALUES
(98, '1.3.148 Beta', '2010-12-12'),
(97, '1.2.147', '2010-11-21'), (97, '1.2.147', '2010-11-21'),
(96, '1.3.146 Beta', '2010-11-08'), (96, '1.3.146 Beta', '2010-11-08'),
(95, '1.2.145', '2010-11-02'), (95, '1.2.145', '2010-11-02'),
......
...@@ -664,4 +664,5 @@ mailto dong adconion edong twitter consortium ogc geo geospatial flexibility ...@@ -664,4 +664,5 @@ mailto dong adconion edong twitter consortium ogc geo geospatial flexibility
mbeans unregisters mbeans unregisters
arithmetics subtracting multiplying dividing arithmetics subtracting multiplying dividing
contended readwrite requery bindings projection syncable managing observer misuse windowed closable discriminator requeried abort contended readwrite requery bindings projection syncable managing observer misuse windowed closable discriminator requeried abort
\ No newline at end of file familiar rice reachable stopps mind develop currtid disposition connct extras
\ No newline at end of file
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论