提交 927afe2d authored 作者: Thomas Mueller's avatar Thomas Mueller

--no commit message

--no commit message
上级 fb598f3f
#Sun Apr 22 05:14:53 CEST 2007
benchmark.drivers.dir=D\:/data/java
#Sun Apr 29 09:21:04 CEST 2007
javac=javac
version.name.maven=1.0.20070320
benchmark.drivers.dir=D\:/data/java
version.name.maven=1.0.20070304
jdk=1.4
......@@ -65,7 +65,7 @@ The version is currently 1.0.<year><month><day>. Example:
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<version>1.0.20061217</version>
<version>1.0.20070304</version>
</dependency>
</pre>
......
......@@ -11,16 +11,16 @@ H2 Database Engine
<h1>Downloads</h1>
<h3>Version 1.0 / 2007-04-20 (Current)</h3>
<h3>Version 1.0 / 2007-04-29 (Current)</h3>
<p>
<a href="http://www.h2database.com/h2-setup-2007-04-20.exe">Windows Installer (2.7 MB)</a><br />
<a href="http://www.h2database.com/h2-2007-04-20.zip">Platform-Independent Zip (3.6 MB)</a><br />
<a href="http://www.h2database.com/h2-setup-2007-04-29.exe">Windows Installer (2.9 MB)</a><br />
<a href="http://www.h2database.com/h2-2007-04-29.zip">Platform-Independent Zip (3.8 MB)</a><br />
</p>
<h3>Version 1.0 / 2007-04-20 (Last Stable)</h3>
<h3>Version 1.0 / 2007-03-04 (Last Stable)</h3>
<p>
<a href="http://www.h2database.com/h2-setup-2007-04-20.exe">Windows Installer (2.7 MB)</a><br />
<a href="http://www.h2database.com/h2-2007-04-20.zip">Platform-Independent Zip (3.6 MB)</a><br />
<a href="http://www.h2database.com/h2-setup-2007-03-04.exe">Windows Installer (2.7 MB)</a><br />
<a href="http://www.h2database.com/h2-2007-03-04.zip">Platform-Independent Zip (3.6 MB)</a><br />
</p>
<p>
......
......@@ -15,7 +15,7 @@ Frequently Asked Questions
<h3>Are there any known bugs? When is the next release?</h3>
Usually, bugs get fixes as they are found. There is a release every few weeks.
Here is the list of known and confirmed issues as of
2007-03-20:
2007-04-29:
<ul>
<li>Can not build using the test cases ant with JDK 1.3 at the moment. However most things are fixed.
</li><li>Some problems have been found with right outer join. Internally, it is converted to left outer join, which
......
......@@ -36,7 +36,7 @@ Hypersonic SQL or HSQLDB. H2 is built from scratch.
<h3>Version 1.0 (Current)</h3>
<h3>Version 1.0 / 2007-04-20 (Build 45) TODO</h3><ul>
<h3>Version 1.0 / 2007-04-29 (Build 46)</h3><ul>
<li>Unnamed private in-memory database (jdbc:h2:mem:) were not 'private' as documented. Fixed.
</li><li>Autocomplete in the Console application: now the result frame scrolls to the top when the list is updated.
</li><li>GROUP BY expressions did not work correctly in subqueries. Fixed.
......@@ -1166,7 +1166,8 @@ Hypersonic SQL or HSQLDB. H2 is built from scratch.
<h3>Priority 1</h3>
<ul>
<li>More tests with MULTI_THREADED=1
<li>RECOVER=1 should automatically recover, =2 should run the recovery tool if required
</li><li>More tests with MULTI_THREADED=1
</li><li>Improve performance for create table (if this is possible)
</li><li>Test with Spatial DB in a box / JTS (http://docs.codehaus.org/display/GEOS/SpatialDBBox)
</li><li>Document how to use H2 with PHP (generic database API)
......@@ -1183,7 +1184,6 @@ Hypersonic SQL or HSQLDB. H2 is built from scratch.
</li><li>Migrate database tool (also from other database engines)
</li><li>Shutdown compact
</li><li>Optimization of distinct with index: select distinct name from test
</li><li>RECOVER=1 automatically if a problem opening
</li><li>Forum: email notification doesn't work? test or disable or document
</li><li>Document server mode, embedded mode, web app mode, dual mode (server+embedded)
</li><li>Stop the server: close all open databases first
......
......@@ -30,17 +30,17 @@ Welcome to H2, the free SQL database. The main feature of H2 are:
<table style="border: 0px; margin: 5px; background-color: #eee;">
<tr><td style="border: 0px; background-color: #eee;" colspan="2">
<h3>Download</h3>
Version 1.0 / 2007-04-20:
Version 1.0 / 2007-04-29:
</td></tr>
<tr><td style="border: 0px; background-color: #eee;">
<a href="http://www.h2database.com/h2-setup-2007-04-20.exe"><img border="1" src="images/download.png" alt="download" /></a>
<a href="http://www.h2database.com/h2-setup-2007-04-29.exe"><img border="1" src="images/download.png" alt="download" /></a>
</td><td style="vertical-align: middle; border: 0px; background-color: #eee;">
<a href="http://www.h2database.com/h2-setup-2007-04-20.exe">Windows Installer (2.7 MB)</a>
<a href="http://www.h2database.com/h2-setup-2007-04-29.exe">Windows Installer (2.9 MB)</a>
</td></tr>
<tr><td style="border: 0px; background-color: #eee;">
<a href="http://www.h2database.com/h2-2007-04-20.zip"><img border="1" src="images/download.png" alt="download" /></a>
<a href="http://www.h2database.com/h2-2007-04-29.zip"><img border="1" src="images/download.png" alt="download" /></a>
</td><td style="vertical-align: middle; border: 0px; background-color: #eee;">
<a href="http://www.h2database.com/h2-2007-04-20.zip">Platform-Independent Zip (3.6 MB)</a>
<a href="http://www.h2database.com/h2-2007-04-29.zip">Platform-Independent Zip (3.8 MB)</a>
</td></tr>
<tr><td style="border: 0px; background-color: #eee;" colspan="2">
<a href="download.html">All Downloads</a>
......@@ -52,7 +52,7 @@ Welcome to H2, the free SQL database. The main feature of H2 are:
<tr><td style="border: 0px; background-color: #eee;">
<h3>Support</h3>
<p>
<a href="http://www.h2database.com/ipowerb" target="_top">Forums: Help and Open Discussion</a><br /><br />
<a href="http://groups.google.com/group/h2-database" target="_top">Google Group: Help and Discussion</a><br /><br />
Or send an e-mail to: <br />
<script type="text/javascript">
<!--
......
......@@ -22,7 +22,8 @@ Performance
<h2>Performance Comparison</h2>
In most cases H2 is a lot faster than all other
(open source and not open source) database engines:
(open source and not open source) database engines.
Please note this is mostly a single connection benchmark run on one computer.
<h3>Embedded</h3>
<table border="1" class="bar">
......@@ -131,12 +132,14 @@ SQLite was not tested because the JDBC driver doesn't support transactions.
<h3>About this Benchmark</h3>
<h4>Number of Connections</h4>
This is a single-connection benchmark.
This is mostly a single-connection benchmark.
BenchB uses multiple connections, the other tests one connection.
<h4>Real-World Tests</h4>
Good benchmarks emulate real-world use cases. This benchmark includes 3 test cases:
A simple test case with one table and many small updates / deletes.
BenchA is similar to the TPC-A test, but single connection / single threaded (see also: www.tpc.org).
BenchB is similar to the TPC-B test, using multiple connections (one thread per connection).
BenchC is similar to the TPC-C test, but single connection / single threaded.
<h4>Comparing Embedded with Server Databases</h4>
......
......@@ -49,6 +49,7 @@ Package org.h2.tools<br />
<a href="org/h2/tools/MultiDimension.html" target="javadoc">MultiDimension</a><br />
<a href="org/h2/tools/Script.html" target="javadoc">Script</a><br />
<a href="org/h2/tools/Recover.html" target="javadoc">Recover</a><br />
<a href="org/h2/tools/Restore.html" target="javadoc">Restore</a><br />
<a href="org/h2/tools/RunScript.html" target="javadoc">RunScript</a><br />
<a href="org/h2/tools/Server.html" target="javadoc">Server</a><br />
<a href="org/h2/tools/SimpleResultSet.html" target="javadoc">SimpleResultSet</a><br />
......
......@@ -49,7 +49,7 @@ package org.h2.engine;
* - Switch off auto-build
* - ant all
* - Make sure odbc files are the
* - Make sure the pdf file is there
* - Copy the pdf file to h2/docs
* - Make sure the build files are removed
* - ant zip
* - Windows installer (nsis)
......@@ -66,8 +66,8 @@ package org.h2.engine;
*/
public class Constants {
public static final int BUILD_ID = 45;
private static final String BUILD = "2007-03-20";
public static final int BUILD_ID = 46;
private static final String BUILD = "2007-04-29";
public static final int VERSION_MAJOR = 1;
public static final int VERSION_MINOR = 0;
......
......@@ -10,6 +10,70 @@ INSERT INTO CHANNEL VALUES('H2 Database Engine' ,
CREATE TABLE ITEM(ID INT PRIMARY KEY, TITLE VARCHAR, ISSUED TIMESTAMP, DESC VARCHAR);
INSERT INTO ITEM VALUES(23,
'New version available: 1.0 / 2007-04-29', '2007-04-29 12:00:00',
'A new version of H2 is available for <a href="http://www.h2database.com">download</a>.
<br />
<b>Changes and new functionality:</b>
<ul>
<li>New function TABLE to define ad-hoc (temporary) tables in a query.
This also solves problems with variable-size IN(...) queries:
instead of SELECT * FROM TEST WHERE ID IN(?, ?, ...) you can now write:
SELECT * FROM TABLE(ID INT=?) X, TEST WHERE X.ID=TEST.ID
In this case, the index is used.
</li><li>New data type ARRAY. Actually it was there before, but is now documented
and better tested (however it must still be considered experimental).
The java.sql.Array implementation is incomplete, but setObject(1, new Object[]{...})
and getObject(..) can be used. New functions ARRAY_GET and ARRAY_LENGTH.
</li><li>Autocomplete in the Console application: now the result frame scrolls to the top when the list is updated.
</li><li>SimpleResultSet now has some basic data type conversion features.
</li><li>The BACKUP command is better tested and documented.
This means hot backup (online backup) is now possible.
</li><li>The old ''Backup'' tool is now called ''Script'' (as the SQL statement).
</li><li>There are new ''Backup'' and ''Restore'' tools that work with database files directly.
</li><li>The new function LINK_SCHEMA simplifies linking all tables of a schema.
</li><li>SCRIPT DROP now also drops aliases (Java functions) if they exist.
</li><li>For encrypted databases, the trace option can no longer be enabled manually by creating a file.
</li><li>For linked tables, NULL in the unique key is now supported.
</li><li>For read-only databases, temp files are now created in the default temp directory instead
of the database directory.
</li><li>CSVWRITE now returns the number of rows written.
</li><li>The Portuguese (Europe) translation is available. Thanks a lot to Antonio Casqueiro!
</li><li>The error message for invalid views has been improved (the root cause is included in the message now).
</li><li>SQLException.getCause of the now works for JDK 1.4 and higher.
</li>
</ul>
<b>Bugfixes:</b>
<ul>
<li>Unnamed private in-memory database (jdbc:h2:mem:) were not ''private'' as documented. Fixed.
</li><li>GROUP BY expressions did not work correctly in subqueries. Fixed.
</li><li>When using JDK 1.5 or later, and switching on h2.lobFilesInDirectories,
the performance for creating LOBs was bad. This has been fixed, however
creating lots of LOBs it is still faster when the setting is switched off.
</li><li>A problem with multiple unnamed dynamic tables (FROM (SELECT...)) has been fixed.
</li><li>Appending ''Z'' to a timestamp did not have an effect. Now it is interpreted as +00:00 (GMT).
</li><li>The complete syntax for referential and check constraints is now supported
when written as part of the column definition, behind PRIMARY KEY.
</li><li>CASE WHEN ... returned the wrong result when the condition evaluated to NULL.
</li><li>Sending CLOB data was slow in some systems when using the server version. Fixed.
</li><li>The data type of NULLIF was NULL if the first expression was a column. Now the data type is set correctly.
</li><li>Indexes (and other related objects) for local temporary tables where not dropped
when the session was closed. Fixed.
</li><li>ALTER TABLE did not work for tables with computed columns.
</li><li>If the index file was deleted, an error was logged in the .trace.db file. This is no longer done.
</li><li>IN(SELECT ...) was not working correctly if the subquery returned a NULL value. Fixed.
</li><li>DROP ALL OBJECTS did not drop constants.
</li><li>DROP ALL OBJECTS dropped the role PUBLIC, which was wrong. Fixed.
</li><li>CASE was parsed as a function if the expression was in (). Fixed.
</li><li>When ORDER BY was used together with DISTINCT, it was required to type the column
name exactly in the select list and the order list exactly in the same way.
This is not required any longer.
</li>
</ul>
For future plans, see the new ''Roadmap'' page on the web site.
</ul>
');
INSERT INTO ITEM VALUES(22,
'New version available: 1.0 / 2007-03-04', '2007-03-04 12:00:00',
'A new version of H2 is available for <a href="http://www.h2database.com">download</a>.
......@@ -546,45 +610,6 @@ The plans for the next release are:
</li></ul>
');
INSERT INTO ITEM VALUES(5,
'New version available: 0.9 Beta / 2006-07-29', '2006-07-30 12:00:00',
'A new version of H2 is available for <a href="http://www.h2database.com">download</a>.
<br />
<b>Changes and new functionality:</b>
<ul>
<li>ParameterMetaData is now implemented
</li><li>Experimental auto-complete functionality in the H2 Console.
Does not yet work for all cases.
Press [Ctrl]+[Space] to activate, and [Esc] to deactivate it.
</li><li>1.0/3.0 is now 0.33333... and not 0.3 as before.
The scale of a DECIMAL division is adjusted automatically (up to current scale + 25).
</li><li>''SELECT * FROM TEST'' can now be written as ''FROM TEST SELECT *''
</li><li>New parameter schemaName in Trigger.init.
</li><li>New method DatabaseEventListener.init to pass the database URL.
</li><li> Opening a database that was not closed previously is now faster
(specially if using a database URL of the form jdbc:h2:test;LOG=2)
</li><li>Improved performance for Statement.getGeneratedKeys
</li></ul>
<b>Bugfixes:</b>
<ul>
<li>SCRIPT: The system generated indexes are not any more included in the script file.
Also, the drop statements for generated sequences are not included in the script any longer.
</li><li>Bugfix: IN(NULL) didn''t return NULL in every case. Fixed.
</li><li>Bugfix: DATEDIFF didn''t work correctly for hour, minute and second if one of the dates was before 1970.
</li><li>SELECT EXCEPT (or MINUS) did not work for some cases. Fixed.
</li><li>DATEDIFF now returns a BIGINT and not an INT
</li><li>DATEADD didn''t work for milliseconds.
</li><li>Could not connect to a database that was closing at the same time.
</li><li>C-style block comments /* */ are not parsed correctly when they contain * or /
</li></ul>
For details see also the history. The plans for the next release are:
<ul>
<li>Bugfixes, write more tests, more bugfixes, more tests.
</li><li>Proposal for changed license.
</li><li>For other plans, see the new ''Roadmap'' part on the web site.
</li></ul>
');
SELECT 'newsfeed-rss.xml' FILE,
XMLSTARTDOC() ||
XMLNODE('rss', XMLATTR('version', '2.0'),
......
......@@ -10,8 +10,6 @@ import java.util.Properties;
import org.h2.server.TcpServer;
import org.h2.test.jdbc.*;
import org.h2.test.jdbc.xa.TestXA;
import org.h2.test.cases.TestBlobDir;
import org.h2.test.cases.TestCalendar;
import org.h2.test.db.*;
import org.h2.test.server.TestNestedLoop;
import org.h2.test.synth.TestBtreeIndex;
......@@ -88,8 +86,8 @@ java -Xmx512m -Xrunhprof:cpu=samples,depth=8 org.h2.tools.RunScript -url jdbc:h2
public static void main(String[] args) throws Exception {
long time = System.currentTimeMillis();
TestAll test = new TestAll();
test.printSystem();
test.printSystem();
/*
how to make -baseDir work for H2 Console?
*/
......@@ -98,6 +96,13 @@ how to make -baseDir work for H2 Console?
Pavel Ganelin
Integrate patches www.dullesopen.com/software/h2-database-03-04-07-mod.src.zip
*/
/*
Fix Quickstart
h2.linkedTableUpdates to send update statements instead of delete-insert pairs
Test Eclipse DTP 1.5 (HSQLDB / H2 connection bug fixed)
Automate power off tests
*/
/*
drop all objects;
......@@ -105,14 +110,16 @@ create table parent(id int primary key, parent int);
insert into parent values(1, null), (2, 1), (3, 1);
with test_view(id, parent) as
select id, parent from parent where parent is null
select id, parent from parent where id = ?
union all
select parent.id, parent.parent from test_view, parent
where parent.parent = test_view.id
select * from test_view;
select * from test_view {1: 1};
drop view test_view;
with test_view(id, parent) as
select id, parent from parent where id = 2
select id, parent from parent where id = 1
union all
select parent.id, parent.parent from test_view, parent
where parent.parent = test_view.id
......@@ -120,13 +127,6 @@ select * from test_view;
drop view test_view;
@LOOP 10 with test_view(id, parent) as
select id, parent from parent where id = ?
union all
select parent.id, parent.parent from test_view, parent
where parent.parent = test_view.id
select * from test_view;
drop table parent;
*/
......
......@@ -458,6 +458,7 @@ wanted thoughts europeu astonished acceptable blobtable retrieval wasn demonstra
incidentally brutal carefully pervasive testlob mydatetime antonio casqueiro sybase fourth
pad microsystems dullesopen rpad spot lpad ganelin sssz testabc pst dumping lots
chdh biz inventec
enclosing mostly dtp scrolls cars splitting replay incomplete automate
### evaluatable > evaluable
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论