提交 502d8756 authored 作者: Thomas Mueller's avatar Thomas Mueller

--no commit message

--no commit message
上级 36f23b16
...@@ -18,7 +18,17 @@ Change Log ...@@ -18,7 +18,17 @@ Change Log
<h1>Change Log</h1> <h1>Change Log</h1>
<h2>Next Version (unreleased)</h2> <h2>Next Version (unreleased)</h2>
<ul><li>- <ul><li>Improved exception message when connecting to a just started server fails.
</li><li>Connection.isValid is a bit faster.
</li><li>H2 Console: The autocomplete feature has been improved a bit. It can now better
parse conditions.
</li><li>When restarting a web application in Tomcat, an exception is thrown sometimes.
In most cases this is a NullPointerException.
The root cause of the problem is now documented in the FAQ:
Tomcat sets all static fields (final or non-final) to null when unloading a web application.
A workaround is to set the system property
org.apache.catalina.loader.WebappClassLoader.ENABLE_CLEAR_REFERENCES
to false.
</li></ul> </li></ul>
<h2>Version 1.1.107 (2009-01-24)</h2> <h2>Version 1.1.107 (2009-01-24)</h2>
......
...@@ -53,6 +53,10 @@ Here is the list of known and confirmed issues: ...@@ -53,6 +53,10 @@ Here is the list of known and confirmed issues:
the h2*.jar becomes corrupted by the install process, causing application failure. the h2*.jar becomes corrupted by the install process, causing application failure.
A workaround is to add an empty file h2*.jar.nopack next to the h2*.jar file. A workaround is to add an empty file h2*.jar.nopack next to the h2*.jar file.
This problem is solved in Install4j 4.1.4. This problem is solved in Install4j 4.1.4.
</li><li>Tomcat sets all static fields (final or non-final) to null when unloading a web application.
This can cause a NullPointerException in H2. In Tomcat >= 6.0 this behavior can be disabled
by setting the system property org.apache.catalina.loader.WebappClassLoader.ENABLE_CLEAR_REFERENCES
to false.
</li></ul> </li></ul>
<br /><a name="open_source"></a> <br /><a name="open_source"></a>
...@@ -69,7 +73,7 @@ Slow SELECT (or DELETE, UPDATE, MERGE) statement can have multiple reasons. ...@@ -69,7 +73,7 @@ Slow SELECT (or DELETE, UPDATE, MERGE) statement can have multiple reasons.
Follow this checklist: Follow this checklist:
</p> </p>
<ul> <ul>
<li>Run ANALYSE (see documentation for details). <li>Run ANALYZE (see documentation for details).
</li><li>Run the query with EXPLAIN and check if indexes are used (see documentation for details). </li><li>Run the query with EXPLAIN and check if indexes are used (see documentation for details).
</li><li>If required, create additional indexes and try again using ANALYZE and EXPLAIN. </li><li>If required, create additional indexes and try again using ANALYZE and EXPLAIN.
</li><li>If it doesn't help please report the problem. </li><li>If it doesn't help please report the problem.
......
...@@ -32,7 +32,7 @@ Installation ...@@ -32,7 +32,7 @@ Installation
To run the database, the following minimum software stack is known to work: To run the database, the following minimum software stack is known to work:
</p> </p>
<ul> <ul>
<li>Windows XP, MacOS, or Linux <li>Windows XP, Mac OS X, or Linux
</li><li>Recommended Windows file system: NTFS (FAT32 supports files up to 4 GB) </li><li>Recommended Windows file system: NTFS (FAT32 supports files up to 4 GB)
</li><li>Sun JDK 1.4 or newer </li><li>Sun JDK 1.4 or newer
</li><li>Mozilla Firefox 1.5 or newer </li><li>Mozilla Firefox 1.5 or newer
...@@ -41,10 +41,10 @@ To run the database, the following minimum software stack is known to work: ...@@ -41,10 +41,10 @@ To run the database, the following minimum software stack is known to work:
<br /><a name="supported_platforms"></a> <br /><a name="supported_platforms"></a>
<h2>Supported Platforms</h2> <h2>Supported Platforms</h2>
<p> <p>
As this database is written in Java, it can be run on many different platforms. As this database is written in Java, it can run on many different platforms.
It is tested with Java 1.4, 1.5, and 1.6 but can also be compiled to native code using GCJ. It is tested with Java 1.4, 1.5, and 1.6 but can also be compiled to native code using GCJ.
The source code does not use features of Java 1.5. Currently, the database is The source code does not use features of Java 1.5. Currently, the database is
developed and tested on Windows XP using the Sun JDK 1.4, but it also developed and tested on Windows XP and Mac OS X using the Sun JDK 1.5, but it also
works in many other operating systems and using other Java runtime environments. works in many other operating systems and using other Java runtime environments.
</p> </p>
......
...@@ -21,8 +21,8 @@ License ...@@ -21,8 +21,8 @@ License
<p> <p>
H2 is dual licensed and available under a modified version of the H2 is dual licensed and available under a modified version of the
MPL 1.1 (<a href="http://www.mozilla.org/MPL">Mozilla Public License</a>) MPL 1.1 (<a href="http://www.mozilla.org/MPL">Mozilla Public License</a>)
or EPL 1.0 (<a href="http://opensource.org/licenses/eclipse-1.0.php">Eclipse Public License</a>). or under the (unmodified) EPL 1.0 (<a href="http://opensource.org/licenses/eclipse-1.0.php">Eclipse Public License</a>).
The changes are <em class="u">underlined</em>. The changes to the MPL are <em class="u">underlined</em>.
There is a License FAQ for both the MPL and the EPL, most of that is applicable to the H2 License as well. There is a License FAQ for both the MPL and the EPL, most of that is applicable to the H2 License as well.
</p> </p>
<ul> <ul>
......
...@@ -26,13 +26,17 @@ If you want to add a link, please send it to the support email address or post i ...@@ -26,13 +26,17 @@ If you want to add a link, please send it to the support email address or post i
Seam In Action</a> Seam In Action</a>
<h2>Extensions</h2> <h2>Extensions</h2>
<a href="http://grails.org/H2+Database+Plugin">
Grails H2 Database Plugin</a>
<br />
<a href="http://code.google.com/p/h2osgi"> <a href="http://code.google.com/p/h2osgi">
h2osgi: OSGi for the H2 Database</a><br /> h2osgi: OSGi for the H2 Database</a>
<br />
<a href="http://code.google.com/p/h2sharp"> <a href="http://code.google.com/p/h2sharp">
H2Sharp: ADO.NET interface for the H2 database engine.</a><br /> H2Sharp: ADO.NET interface for the H2 database engine</a>
<br />
<a href="http://geosysin.iict.ch/irstv-trac/wiki/H2spatial/Download"> <a href="http://geosysin.iict.ch/irstv-trac/wiki/H2spatial/Download">
H2 Spatial: spatial functions to H2 database. H2 Spatial: spatial functions to H2 database</a>
</a>
<h2>Blogs</h2> <h2>Blogs</h2>
<a href="http://zvikico.typepad.com/problog/2008/04"> <a href="http://zvikico.typepad.com/problog/2008/04">
...@@ -494,6 +498,11 @@ SimpleORM</a><br /> ...@@ -494,6 +498,11 @@ SimpleORM</a><br />
Simple Java Object Relational Mapping. Simple Java Object Relational Mapping.
</p> </p>
<p><a href="http://symmetricds.codehaus.org">
SymmetricDS</a><br />
A web-enabled, database independent, data synchronization/replication software.
</p>
<p><a href="http://www.smartfoxserver.com"> <p><a href="http://www.smartfoxserver.com">
SmartFoxServer</a><br /> SmartFoxServer</a><br />
Platform for developing multiuser applications and games with Macromedia Flash. Platform for developing multiuser applications and games with Macromedia Flash.
......
...@@ -30,6 +30,7 @@ This database can be used in embedded mode, or in server mode. To use it in embe ...@@ -30,6 +30,7 @@ This database can be used in embedded mode, or in server mode. To use it in embe
<li>Add the <code>h2*.jar</code> to the classpath <li>Add the <code>h2*.jar</code> to the classpath
</li><li>Use the JDBC driver class: <code>org.h2.Driver</code> </li><li>Use the JDBC driver class: <code>org.h2.Driver</code>
</li><li>The database URL <code>jdbc:h2:~/test</code> opens the database 'test' in your user home directory </li><li>The database URL <code>jdbc:h2:~/test</code> opens the database 'test' in your user home directory
</li><li>A new database is automatically created
</li></ul> </li></ul>
<br /><a name="h2_console"></a> <br /><a name="h2_console"></a>
...@@ -52,10 +53,7 @@ Install the software using the Windows Installer (if you did not yet do that). ...@@ -52,10 +53,7 @@ Install the software using the Windows Installer (if you did not yet do that).
<h4>Start the Console</h4> <h4>Start the Console</h4>
<p> <p>
Click <span class="button">Start</span>, Click [Start], [All Programs], [H2], and [H2 Console (Command Line)]:<br />
<span class="button">All Programs</span>,
<span class="button">H2</span>, and
<span class="button">H2 Console (Command Line)</span>:<br />
<img class="screenshot" src="images/quickstart-1.png" alt="screenshot: start H2 Console" /><br /> <img class="screenshot" src="images/quickstart-1.png" alt="screenshot: start H2 Console" /><br />
A new console window appears:<br /> A new console window appears:<br />
<img class="screenshot" src="images/quickstart-2.png" alt="screenshot: H2 Running" /><br /> <img class="screenshot" src="images/quickstart-2.png" alt="screenshot: H2 Running" /><br />
...@@ -66,21 +64,21 @@ on your machine, you can let the firewall block these connections. Only local co ...@@ -66,21 +64,21 @@ on your machine, you can let the firewall block these connections. Only local co
<h4>Login</h4> <h4>Login</h4>
<p> <p>
Select <span class="button">Generic H2</span> and click <span class="button">Connect</span>:<br /> Select [Generic H2] and click [Connect]:<br />
<img class="screenshot" src="images/quickstart-3.png" alt="screenshot: Login screen" /><br /> <img class="screenshot" src="images/quickstart-3.png" alt="screenshot: Login screen" /><br />
You are now logged in. You are now logged in.
</p> </p>
<h4>Sample</h4> <h4>Sample</h4>
<p> <p>
Click on the <span class="button">Sample SQL Script</span>:<br /> Click on the [Sample SQL Script]:<br />
<img class="screenshot" src="images/quickstart-4.png" alt="screenshot: click on the sample SQL script" /><br /> <img class="screenshot" src="images/quickstart-4.png" alt="screenshot: click on the sample SQL script" /><br />
The SQL commands appear in the command area.<br /> The SQL commands appear in the command area.<br />
</p> </p>
<h4>Execute</h4> <h4>Execute</h4>
<p> <p>
Click <span class="button">Run</span>:<br /> Click [Run]<br />
<img class="screenshot" src="images/quickstart-5.png" alt="screenshot: click Run" /><br /> <img class="screenshot" src="images/quickstart-5.png" alt="screenshot: click Run" /><br />
On the left side, a new entry TEST is added below the database icon. On the left side, a new entry TEST is added below the database icon.
The operations and results of the statements are shown below the script.<br /> The operations and results of the statements are shown below the script.<br />
...@@ -89,7 +87,7 @@ The operations and results of the statements are shown below the script.<br /> ...@@ -89,7 +87,7 @@ The operations and results of the statements are shown below the script.<br />
<h4>Disconnect</h4> <h4>Disconnect</h4>
<p> <p>
Click on <span class="button">Disconnect</span>:<br /> Click on [Disconnect]:<br />
<img src="images/icon_disconnect.gif" alt="Disconnect icon" /><br /> <img src="images/icon_disconnect.gif" alt="Disconnect icon" /><br />
to close the database. to close the database.
</p> </p>
......
...@@ -67,6 +67,7 @@ Of course, patches are always welcome, but are not always applied as is. Patches ...@@ -67,6 +67,7 @@ Of course, patches are always welcome, but are not always applied as is. Patches
</li><li>Feature: a setting to delete the the log or not (for backup) </li><li>Feature: a setting to delete the the log or not (for backup)
</li><li>Test with Sun ASPE1_4; JEE Sun AS PE1.4 </li><li>Test with Sun ASPE1_4; JEE Sun AS PE1.4
</li><li>Support nested outer joins (see todo.txt). </li><li>Support nested outer joins (see todo.txt).
</li><li>Don't write stack traces for common exceptions like duplicate key to the log by default
</li><li>Test performance again with SQL Server, Oracle, DB2 </li><li>Test performance again with SQL Server, Oracle, DB2
</li><li>Test with dbmonster (http://dbmonster.kernelpanic.pl/) </li><li>Test with dbmonster (http://dbmonster.kernelpanic.pl/)
</li><li>Test with dbcopy (http://dbcopyplugin.sourceforge.net) </li><li>Test with dbcopy (http://dbcopyplugin.sourceforge.net)
...@@ -100,7 +101,6 @@ Of course, patches are always welcome, but are not always applied as is. Patches ...@@ -100,7 +101,6 @@ Of course, patches are always welcome, but are not always applied as is. Patches
</li><li>Document, implement tool for long running transactions using user-defined compensation statements </li><li>Document, implement tool for long running transactions using user-defined compensation statements
</li><li>Support SET TABLE DUAL READONLY </li><li>Support SET TABLE DUAL READONLY
</li><li>Linked schema using CSV files: one schema for a directory of files; support indexes for CSV files </li><li>Linked schema using CSV files: one schema for a directory of files; support indexes for CSV files
</li><li>Don't write stack traces for common exceptions like duplicate key to the log by default
</li><li>GCJ: what is the state now? </li><li>GCJ: what is the state now?
</li><li>Reduce disk space usage </li><li>Reduce disk space usage
</li><li>Events for: Database Startup, Connections, Login attempts, Disconnections, Prepare (after parsing), Web Server (see http://docs.openlinksw.com/virtuoso/fn_dbev_startup.html) </li><li>Events for: Database Startup, Connections, Login attempts, Disconnections, Prepare (after parsing), Web Server (see http://docs.openlinksw.com/virtuoso/fn_dbev_startup.html)
...@@ -395,7 +395,12 @@ Of course, patches are always welcome, but are not always applied as is. Patches ...@@ -395,7 +395,12 @@ Of course, patches are always welcome, but are not always applied as is. Patches
</li><li>Replace information_schema tables with regular tables that are automatically re-built when needed. Use indexes. </li><li>Replace information_schema tables with regular tables that are automatically re-built when needed. Use indexes.
</li><li>Support a special trigger on all tables. </li><li>Support a special trigger on all tables.
</li><li>Delete temporary files or objects using finalize. </li><li>Delete temporary files or objects using finalize.
</li><li>MySQL and MS SQL Server compatibility: support case sensitive (mixed case) identifiers without quotes. </li><li>MySQL, MS SQL Server compatibility: support case sensitive (mixed case) identifiers without quotes.
</li><li>Oracle compatibility: support calling 0-parameters functions without parenthesis. Make constants obsolete.
</li><li>MySQL, HSQLDB compatibility: support where 'a'=1 (not supported by Derby, PostgreSQL)
</li><li>CSV: currently # is a line comment and can start at any field. Make it optional.
</li><li>Add database creation date and time to the database.
</li><li>Support ASSERTIONS.
</li></ul> </li></ul>
<h2>Not Planned</h2> <h2>Not Planned</h2>
......
...@@ -112,13 +112,6 @@ em.u { ...@@ -112,13 +112,6 @@ em.u {
font-style: normal; font-style: normal;
} }
.button {
border: 1px outset #800;
margin: 0px 2px 0px 2px;
padding: 0px 4px 0px 4px;
font-weight: bold;
}
.menu { .menu {
margin: 10px 10px 10px 10px; margin: 10px 10px 10px 10px;
} }
......
...@@ -56,7 +56,7 @@ Tutorial ...@@ -56,7 +56,7 @@ Tutorial
<br /><a name="tutorial_starting_h2_console"></a> <br /><a name="tutorial_starting_h2_console"></a>
<h2>Starting and Using the H2 Console</h2> <h2>Starting and Using the H2 Console</h2>
<p> <p>
This application lets you access a SQL database using a browser interface. The H2 Console application lets you access a SQL database using a browser interface.
This can be a H2 database, or another database that supports the JDBC API. This can be a H2 database, or another database that supports the JDBC API.
</p> </p>
<img src="images/console.png" alt="Web Browser - H2 Console Server - H2 Database" /> <img src="images/console.png" alt="Web Browser - H2 Console Server - H2 Database" />
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论