提交 b492f851 authored 作者: Thomas Mueller's avatar Thomas Mueller

--no commit message

--no commit message
上级 93c46a61
......@@ -3,9 +3,9 @@
Copyright 2004-2006 H2 Group. Licensed under the H2 License, Version 1.0 (http://h2database.com/html/license.html).
Initial Developer: H2 Group
-->
<html><head><meta http-equiv="Content-Type" content="text/html;charset=utf-8"><title>
<html><head><meta http-equiv="Content-Type" content="text/html;charset=utf-8" /><title>
Build
</title><link rel="stylesheet" type="text/css" href="stylesheet.css">
</title><link rel="stylesheet" type="text/css" href="stylesheet.css" />
<script type="text/javascript" src="navigation.js"></script>
</head><body onload="frameMe();">
<table class="content"><tr class="content"><td class="content"><div class="contentDiv">
......@@ -13,33 +13,33 @@ Build
<h1>Build</h1>
<a href="#portability">
Portability</a><br>
Portability</a><br />
<a href="#environment">
Environment</a><br>
Environment</a><br />
<a href="#building">
Building the Software</a><br>
Building the Software</a><br />
<a href="#maven2">
Using Maven 2</a><br>
Using Maven 2</a><br />
<br><a name="portability"></a>
<br /><a name="portability"></a>
<h2>Portability</h2>
This database is written in Java and therefore works on many platforms.
It is also possible to compile it to a native executable using GCJ.
<br><a name="environment"></a>
<br /><a name="environment"></a>
<h2>Environment</h2>
To build the database executables, the following software stack was used.
In most cases, newer version or compatible software works too, but this was not tested.
<ul>
<li>Windows XP
<li>Sun JDK Version 1.4
<li>Apache Ant Version 1.6.5
<li>Mozilla Firefox 1.5
<li>Eclipse Version 3.2.1
<li>YourKit Java Profiler
</ul>
</li><li>Sun JDK Version 1.4
</li><li>Apache Ant Version 1.6.5
</li><li>Mozilla Firefox 1.5
</li><li>Eclipse Version 3.2.1
</li><li>YourKit Java Profiler
</li></ul>
<br><a name="building"></a>
<br /><a name="building"></a>
<h2>Building the Software</h2>
On the command line, go to the directory src and execute the following command:
<pre>
......@@ -56,7 +56,7 @@ ant jarClient
</pre>
The other targets may be used as well.
<br><a name="maven2"></a>
<br /><a name="maven2"></a>
<h2>Using Maven 2</h2>
<h3>Using a Central Repository</h3>
You can include the database in your Maven 2 project as a dependency.
......
......@@ -3,20 +3,20 @@
Copyright 2004-2006 H2 Group. Licensed under the H2 License, Version 1.0 (http://h2database.com/html/license.html).
Initial Developer: H2 Group
-->
<html><head><meta http-equiv="Content-Type" content="text/html;charset=utf-8"><title>
<html><head><meta http-equiv="Content-Type" content="text/html;charset=utf-8" /><title>
Data Types
</title><link rel="stylesheet" type="text/css" href="stylesheet.css">
</title><link rel="stylesheet" type="text/css" href="stylesheet.css" />
<script type="text/javascript" src="navigation.js"></script>
</head><body onload="frameMe();">
<table class="content"><tr class="content"><td class="content"><div class="contentDiv">
<h1>Data Types</h1>
<c:forEach var="item" items="dataTypes">
<a href="#sql${item.id}">${item.topic}</a><br>
<a href="#sql${item.id}">${item.topic}</a><br />
</c:forEach>
<c:forEach var="item" items="dataTypes">
<br>
<br />
<a name="sql${item.id}"></a><h3>${item.topic}</h3>
<pre>
${item.syntax}
......@@ -24,9 +24,9 @@ ${item.syntax}
<p>
${item.text}
</p>
<b>Example:</b><br>
<b>Example:</b><br />
${item.example}
<br>
<br />
</c:forEach>
</div></td></tr></table></body></html>
\ No newline at end of file
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- Copyright 2004-2006 H2 Group. Licensed under the H2 License, Version 1.0 (http://h2database.com/html/license.html). -->
<html><head><meta http-equiv="Content-Type" content="text/html;charset=utf-8"><title>
<html><head><meta http-equiv="Content-Type" content="text/html;charset=utf-8" /><title>
H2 Database Engine
</title><link rel="stylesheet" type="text/css" href="stylesheet.css">
<link rel="alternate" type="application/atom+xml" title="H2 Newsfeed" href="http://www.h2database.com/html/newsfeed-atom.xml">
<link rel="alternate" type="application/rss+xml" title="H2 Newsfeed" href="http://www.h2database.com/html/newsfeed-rss.xml">
</title><link rel="stylesheet" type="text/css" href="stylesheet.css" />
<link rel="alternate" type="application/atom+xml" title="H2 Newsfeed" href="http://www.h2database.com/html/newsfeed-atom.xml" />
<link rel="alternate" type="application/rss+xml" title="H2 Newsfeed" href="http://www.h2database.com/html/newsfeed-rss.xml" />
<script type="text/javascript" src="navigation.js"></script>
</head><body onload="frameMe();">
<table class="content"><tr class="content"><td class="content"><div class="contentDiv">
......@@ -13,14 +13,14 @@ H2 Database Engine
<h3>Version 1.0 / 2007-01-17 (Current)</h3>
<p>
<a href="http://www.h2database.com/h2-setup-2007-01-17.exe">Windows Installer (2.7 MB)</a><br>
<a href="http://www.h2database.com/h2-2007-01-17.zip">Platform-Independent Zip (3.6 MB)</a><br>
<a href="http://www.h2database.com/h2-setup-2007-01-17.exe">Windows Installer (2.7 MB)</a><br />
<a href="http://www.h2database.com/h2-2007-01-17.zip">Platform-Independent Zip (3.6 MB)</a><br />
</p>
<h3>Version 1.0 / 2006-08-31 (Last Stable)</h3>
<p>
<a href="http://www.h2database.com/h2-setup-2006-08-31.exe">Windows Installer (2.4 MB)</a><br>
<a href="http://www.h2database.com/h2-2006-08-31.zip">Platform-Independent Zip (3.1 MB)</a><br>
<a href="http://www.h2database.com/h2-setup-2006-08-31.exe">Windows Installer (2.4 MB)</a><br />
<a href="http://www.h2database.com/h2-2006-08-31.zip">Platform-Independent Zip (3.1 MB)</a><br />
</p>
<p>
......
......@@ -3,9 +3,9 @@
Copyright 2004-2006 H2 Group. Licensed under the H2 License, Version 1.0 (http://h2database.com/html/license.html).
Initial Developer: H2 Group
-->
<html><head><meta http-equiv="Content-Type" content="text/html;charset=utf-8"><title>
<html><head><meta http-equiv="Content-Type" content="text/html;charset=utf-8" /><title>
Frequently Asked Questions
</title><link rel="stylesheet" type="text/css" href="stylesheet.css">
</title><link rel="stylesheet" type="text/css" href="stylesheet.css" />
<script type="text/javascript" src="navigation.js"></script>
</head><body onload="frameMe();">
<table class="content"><tr class="content"><td class="content"><div class="contentDiv">
......@@ -18,9 +18,9 @@ Here is the list of known and confirmed issues as of
2007-01-30:
<ul>
<li>Can not build using ant with JDK 1.3 at the moment. However most things are fixed.
<li>Some problems have been found with right outer join. Internally, it is converted to left outer join, which
</li><li>Some problems have been found with right outer join. Internally, it is converted to left outer join, which
does not always produce the correct results when used in combination with other joins.
</ul>
</li></ul>
<h3>Is this Database Engine Open Source?</h3>
Yes. It is free to use and distribute, and the source code is included.
......@@ -41,25 +41,25 @@ some problems that have not yet been found.
Areas that are not completely tested:
<ul>
<li>Platforms other than Windows XP and the Sun JVM 1.4
<li>Data types BLOB, CLOB, VARCHAR_IGNORECASE, OTHER
<li>Cluster mode, 2-Phase Commit, Savepoints
<li>Server mode (well tested, but not as well as Embedded mode)
<li>Multi-Threading and using multiple connections
<li>Updatable result sets
<li>Referential integrity and check constraints, Triggers
<li>ALTER TABLE statements, Views, Linked Tables, Schema, UNION
<li>Not all built-in functions are completely tested
<li>The Optimizer may not always select the best plan
<li>24/7 operation and large databases (500 MB and up)
<li>Wide indexes with large VARCHAR or VARBINARY columns and / or with a lot of columns
</ul>
</li><li>Data types BLOB, CLOB, VARCHAR_IGNORECASE, OTHER
</li><li>Cluster mode, 2-Phase Commit, Savepoints
</li><li>Server mode (well tested, but not as well as Embedded mode)
</li><li>Multi-Threading and using multiple connections
</li><li>Updatable result sets
</li><li>Referential integrity and check constraints, Triggers
</li><li>ALTER TABLE statements, Views, Linked Tables, Schema, UNION
</li><li>Not all built-in functions are completely tested
</li><li>The Optimizer may not always select the best plan
</li><li>24/7 operation and large databases (500 MB and up)
</li><li>Wide indexes with large VARCHAR or VARBINARY columns and / or with a lot of columns
</li></ul>
Areas considered Experimental:
<ul>
<li>ODBC driver and the GCJ native version on Windows
<li>Linear Hash Index
<li>Compatibility modes for other databases (only some features are implemented)
</ul>
</li><li>Linear Hash Index
</li><li>Compatibility modes for other databases (only some features are implemented)
</li></ul>
<h3>How to Create a New Database?</h3>
By default, a new database is automatically created if it does not yet exist.
......
......@@ -5,16 +5,16 @@ Initial Developer: H2 Group
-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>H2 Database Engine</title>
<script type="text/javascript" src="navigation.js"></script>
<link rel="stylesheet" type="text/css" href="stylesheet.css">
<link rel="alternate" type="application/atom+xml" title="H2 Newsfeed" href="http://www.h2database.com/html/newsfeed-atom.xml">
<link rel="alternate" type="application/rss+xml" title="H2 Newsfeed" href="http://www.h2database.com/html/newsfeed-rss.xml">
<link rel="stylesheet" type="text/css" href="stylesheet.css" />
<link rel="alternate" type="application/atom+xml" title="H2 Newsfeed" href="http://www.h2database.com/html/newsfeed-atom.xml" />
<link rel="alternate" type="application/rss+xml" title="H2 Newsfeed" href="http://www.h2database.com/html/newsfeed-rss.xml" />
</head>
<frameset cols="180,*" rows="*" frameborder="2" framespacing="4" border="4" onLoad="loadFrameset()">
<frame frameborder="0" marginheight="0" marginwidth="0" src="search.html" name="menu">
<frame frameborder="0" marginheight="0" marginwidth="0" src="main.html" name="main">
<frame frameborder="0" marginheight="0" marginwidth="0" src="search.html" name="menu" />
<frame frameborder="0" marginheight="0" marginwidth="0" src="main.html" name="main" />
</frameset>
<noframes>
<body>
......
......@@ -3,9 +3,9 @@
Copyright 2004-2006 H2 Group. Licensed under the H2 License, Version 1.0 (http://h2database.com/html/license.html).
Initial Developer: H2 Group
-->
<html><head><meta http-equiv="Content-Type" content="text/html;charset=utf-8"><title>
<html><head><meta http-equiv="Content-Type" content="text/html;charset=utf-8" /><title>
Functions
</title><link rel="stylesheet" type="text/css" href="stylesheet.css">
</title><link rel="stylesheet" type="text/css" href="stylesheet.css" />
<script type="text/javascript" src="navigation.js"></script>
</head><body onload="frameMe();">
<table class="content"><tr class="content"><td class="content"><div class="contentDiv">
......@@ -14,31 +14,31 @@ Functions
<h2>Aggregate Functions</h2>
<c:forEach var="item" items="functionsAggregate">
<a href="#sql${item.id}">${item.topic}</a><br>
<a href="#sql${item.id}">${item.topic}</a><br />
</c:forEach>
<h2>Numeric Functions</h2>
<c:forEach var="item" items="functionsNumeric">
<a href="#sql${item.id}">${item.topic}</a><br>
<a href="#sql${item.id}">${item.topic}</a><br />
</c:forEach>
<h2>String Functions</h2>
<c:forEach var="item" items="functionsString">
<a href="#sql${item.id}">${item.topic}</a><br>
<a href="#sql${item.id}">${item.topic}</a><br />
</c:forEach>
<h2>Time and Date Functions</h2>
<c:forEach var="item" items="functionsTimeDate">
<a href="#sql${item.id}">${item.topic}</a><br>
<a href="#sql${item.id}">${item.topic}</a><br />
</c:forEach>
<h2>System Functions</h2>
<c:forEach var="item" items="functionsSystem">
<a href="#sql${item.id}">${item.topic}</a><br>
<a href="#sql${item.id}">${item.topic}</a><br />
</c:forEach>
<c:forEach var="item" items="functionsAll">
<br>
<br />
<a name="sql${item.id}"></a><h3>${item.topic}</h3>
<pre>
${item.syntax}
......@@ -46,9 +46,9 @@ ${item.syntax}
<p>
${item.text}
</p>
<b>Example:</b><br>
<b>Example:</b><br />
${item.example}
<br>
<br />
</c:forEach>
</div></td></tr></table></body></html>
\ No newline at end of file
......@@ -3,9 +3,9 @@
Copyright 2004-2006 H2 Group. Licensed under the H2 License, Version 1.0 (http://h2database.com/html/license.html).
Initial Developer: H2 Group
-->
<html><head><meta http-equiv="Content-Type" content="text/html;charset=utf-8"><title>
<html><head><meta http-equiv="Content-Type" content="text/html;charset=utf-8" /><title>
SQL Grammar
</title><link rel="stylesheet" type="text/css" href="stylesheet.css">
</title><link rel="stylesheet" type="text/css" href="stylesheet.css" />
<script type="text/javascript" src="navigation.js"></script>
</head><body onload="frameMe();">
<table class="content"><tr class="content"><td class="content"><div class="contentDiv">
......@@ -13,23 +13,23 @@ SQL Grammar
<h1>SQL Grammar</h1>
<h2>Commands (Data Manipulation)</h2>
<c:forEach var="item" items="commandsDML">
<a href="#sql${item.id}">${item.topic}</a><br>
<a href="#sql${item.id}">${item.topic}</a><br />
</c:forEach>
<h2>Commands (Data Definition)</h2>
<c:forEach var="item" items="commandsDDL">
<a href="#sql${item.id}">${item.topic}</a><br>
<a href="#sql${item.id}">${item.topic}</a><br />
</c:forEach>
<h2>Commands (Other)</h2>
<c:forEach var="item" items="commandsOther">
<a href="#sql${item.id}">${item.topic}</a><br>
<a href="#sql${item.id}">${item.topic}</a><br />
</c:forEach>
<h2>Other Grammar</h2>
<c:forEach var="item" items="otherGrammar">
<a href="#sql${item.id}">${item.topic}</a><br>
<a href="#sql${item.id}">${item.topic}</a><br />
</c:forEach>
<c:forEach var="item" items="commands">
<br>
<br />
<a name="sql${item.id}"></a><h3>${item.topic}</h3>
<pre>
${item.syntax}
......@@ -37,13 +37,13 @@ ${item.syntax}
<p>
${item.text}
</p>
<b>Example:</b><br>
<b>Example:</b><br />
${item.example}
<br>
<br />
</c:forEach>
<c:forEach var="item" items="otherGrammar">
<br>
<br />
<a name="sql${item.id}"></a><h3>${item.topic}</h3>
<pre>
${item.syntax}
......@@ -51,9 +51,9 @@ ${item.syntax}
<p>
${item.text}
</p>
<b>Example:</b><br>
<b>Example:</b><br />
${item.example}
<br>
<br />
</c:forEach>
</div></td></tr></table></body></html>
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -3,9 +3,9 @@
Copyright 2004-2006 H2 Group. Licensed under the H2 License, Version 1.0 (http://h2database.com/html/license.html).
Initial Developer: H2 Group
-->
<html><head><meta http-equiv="Content-Type" content="text/html;charset=utf-8"><title>
<html><head><meta http-equiv="Content-Type" content="text/html;charset=utf-8" /><title>
Installation
</title><link rel="stylesheet" type="text/css" href="stylesheet.css">
</title><link rel="stylesheet" type="text/css" href="stylesheet.css" />
<script type="text/javascript" src="navigation.js"></script>
</head><body onload="frameMe();">
<table class="content"><tr class="content"><td class="content"><div class="contentDiv">
......@@ -13,25 +13,25 @@ Installation
<h1>Installation</h1>
<a href="#requirements">
Requirements</a><br>
Requirements</a><br />
<a href="#supported_platforms">
Supported Platforms</a><br>
Supported Platforms</a><br />
<a href="#installing">
Installing the Software</a><br>
Installing the Software</a><br />
<a href="#directory_structure">
Directory Structure</a><br>
Directory Structure</a><br />
<br><a name="requirements"></a>
<br /><a name="requirements"></a>
<h2>Requirements</h2>
To run the database, the following software stack is known to work.
Compatible software works too, but this was not tested.
<ul>
<li>Windows XP
<li>Sun JDK Version 1.4
<li>Mozilla Firefox 1.5
</ul>
</li><li>Sun JDK Version 1.4
</li><li>Mozilla Firefox 1.5
</li></ul>
<br><a name="supported_platforms"></a>
<br /><a name="supported_platforms"></a>
<h2>Supported Platforms</h2>
As this database is written in Java, it can be run on many different platforms.
It is tested with Java 1.4 and 1.5, but can also be compiled to native code using GCJ.
......@@ -39,11 +39,11 @@ The source code does not use features of Java 1.5. Currently, the database is
developed and tested on Windows XP using the Sun JDKs, but probably it also
works in many other operating systems and using other Java runtime environments.
<br><a name="installing"></a>
<br /><a name="installing"></a>
<h2>Installing the Software</h2>
To install the software, run the installer or unzip it to a directory of your choice.
<br><a name="directory_structure"></a>
<br /><a name="directory_structure"></a>
<h2>Directory Structure</h2>
<p>
After installing, you should get the following directory structure:
......
......@@ -3,9 +3,9 @@
Copyright 2004-2006 H2 Group. Licensed under the H2 License, Version 1.0 (http://h2database.com/html/license.html).
Initial Developer: H2 Group
-->
<html><head><meta http-equiv="Content-Type" content="text/html;charset=utf-8"><title>
<html><head><meta http-equiv="Content-Type" content="text/html;charset=utf-8" /><title>
License
</title><link rel="stylesheet" type="text/css" href="stylesheet.css">
</title><link rel="stylesheet" type="text/css" href="stylesheet.css" />
<script type="text/javascript" src="navigation.js"></script>
</head><body onload="frameMe();">
<table class="content"><tr class="content"><td class="content"><div class="contentDiv">
......@@ -17,11 +17,12 @@ This license is a modified version of the MPL 1.1 available at <a href="http://w
the changes are <u>underlined</u>.
There is a License FAQ section at the Mozilla web site, most of that is applicable to the H2 License as well.
<ul>
<li>You can use H2 for free. You can integrate it into your application (including commercial applications), and you can distribute it.
<li>Files containing only your code are not covered by this license (it is 'commercial friendly').
<li>Modifications to the H2 source code must be published.
<li>You don't need to provide the source code of H2 if you did not modify anything.
</ul>
<li>You can use H2 for free. You can integrate it into your application (including commercial applications),
and you can distribute it.
</li><li>Files containing only your code are not covered by this license (it is 'commercial friendly').
</li><li>Modifications to the H2 source code must be published.
</li><li>You don't need to provide the source code of H2 if you did not modify anything.
</li></ul>
<p>
However, nobody is allowed to rename H2, modify it a little, and sell it as a database engine without telling the customers it is in fact H2.
......@@ -81,9 +82,9 @@ copyright and license as the original code. The copyright of the ported source c
<ol type="a">
<li id="section-1.9-a">Any addition to or deletion from the contents of a file
containing Original Code or previous Modifications.
<li id="section-1.9-b">Any new file that contains any part of the Original Code or
</li><li id="section-1.9-b">Any new file that contains any part of the Original Code or
previous Modifications.
</ol>
</li></ol>
<p id="section-1.10"><b>1.10. "Original Code"</b>
means Source Code of computer software code which is described in the Source Code
notice required by <a href="#exhibit-a">Exhibit A</a> as Original Code, and which,
......@@ -124,19 +125,19 @@ copyright and license as the original code. The copyright of the ported source c
trademark) Licensable by Initial Developer to use, reproduce, modify, display, perform,
sublicense and distribute the Original Code (or portions thereof) with or without
Modifications, and/or as part of a Larger Work; and
<li id="section-2.1-b">under Patents Claims infringed by the making, using or selling
</li><li id="section-2.1-b">under Patents Claims infringed by the making, using or selling
of Original Code, to make, have made, use, practice, sell, and offer for sale, and/or
otherwise dispose of the Original Code (or portions thereof).
<li id="section-2.1-c">the licenses granted in this Section 2.1
</li><li id="section-2.1-c">the licenses granted in this Section 2.1
(<a href="#section-2.1-a">a</a>) and (<a href="#section-2.1-b">b</a>) are effective on
the date Initial Developer first distributes Original Code under the terms of this
License.
<li id="section-2.1-d">Notwithstanding Section 2.1 (<a href="#section-2.1-b">b</a>)
</li><li id="section-2.1-d">Notwithstanding Section 2.1 (<a href="#section-2.1-b">b</a>)
above, no patent license is granted: 1) for code that You delete from the Original Code;
2) separate from the Original Code; or 3) for infringements caused by: i) the
modification of the Original Code or ii) the combination of the Original Code with other
software or devices.
</ol>
</li></ol>
<h4 id="section-2.2">2.2. Contributor Grant</h4>
Subject to third party intellectual property claims, each Contributor hereby grants You
......@@ -147,23 +148,23 @@ copyright and license as the original code. The copyright of the ported source c
distribute the Modifications created by such Contributor (or portions thereof) either on
an unmodified basis, with other Modifications, as Covered Code and/or as part of a Larger
Work; and
<li id="section-2.2-b">under Patent Claims infringed by the making, using, or selling of
</li><li id="section-2.2-b">under Patent Claims infringed by the making, using, or selling of
Modifications made by that Contributor either alone and/or in combination with its
Contributor Version (or portions of such combination), to make, use, sell, offer for
sale, have made, and/or otherwise dispose of: 1) Modifications made by that Contributor
(or portions thereof); and 2) the combination of Modifications made by that Contributor
with its Contributor Version (or portions of such combination).
<li id="section-2.2-c">the licenses granted in Sections 2.2
</li><li id="section-2.2-c">the licenses granted in Sections 2.2
(<a href="#section-2.2-a">a</a>) and 2.2 (<a href="#section-2.2-b">b</a>) are effective
on the date Contributor first makes Commercial Use of the Covered Code.
<li id="section-2.2-d">Notwithstanding Section 2.2 (<a href="#section-2.2-b">b</a>)
</li><li id="section-2.2-d">Notwithstanding Section 2.2 (<a href="#section-2.2-b">b</a>)
above, no patent license is granted: 1) for any code that Contributor has deleted from
the Contributor Version; 2) separate from the Contributor Version; 3) for infringements
caused by: i) third party modifications of Contributor Version or ii) the combination of
Modifications made by that Contributor with other software (except as part of the
Contributor Version) or other devices; or 4) under Patent Claims infringed by Covered Code
in the absence of Modifications made by that Contributor.
</ol>
</li></ol>
<h3 id="section-3">3. Distribution Obligations</h3>
<h4 id="section-3.1">3.1. Application of License</h4>
......@@ -207,16 +208,16 @@ copyright and license as the original code. The copyright of the ported source c
all copies Contributor makes available thereafter and shall take other steps (such as
notifying appropriate mailing lists or newsgroups) reasonably calculated to inform those who
received the Covered Code that new knowledge has been obtained.
<li id="section-3.4-b"><b>Contributor APIs:</b>
</li><li id="section-3.4-b"><b>Contributor APIs:</b>
If Contributor's Modifications include an application programming interface and Contributor
has knowledge of patent licenses which are reasonably necessary to implement that
API, Contributor must also include this information in the legal file.
<li id="section-3.4-c"><b>Representations:</b>
</li><li id="section-3.4-c"><b>Representations:</b>
Contributor represents that, except as disclosed pursuant to Section 3.4
(<a href="#section-3.4-a">a</a>) above, Contributor believes that Contributor's Modifications
are Contributor's original creation(s) and/or Contributor has sufficient rights to grant the
rights conveyed by this License.
</ol>
</li></ol>
<h4 id="section-3.5">3.5. Required Notices</h4>
You must duplicate the notice in <a href="#exhibit-a">Exhibit A</a> in each file of the
Source Code. If it is not possible to put such notice in a particular Source Code file due to
......@@ -326,12 +327,12 @@ copyright and license as the original code. The copyright of the ported source c
Participant to You under Sections <a href="#section-2.1">2.1</a> and/or
<a href="#section-2.2">2.2</a> automatically terminate at the expiration of the 60 day
notice period specified above.
<li id="section-8.2-b">any software, hardware, or device, other than such Participant's
</li><li id="section-8.2-b">any software, hardware, or device, other than such Participant's
Contributor Version, directly or indirectly infringes any patent, then any rights
granted to You by such Participant under Sections 2.1(<a href="#section-2.1-b">b</a>)
and 2.2(<a href="#section-2.2-b">b</a>) are revoked effective as of the date You first
made, used, sold, distributed, or had made, Modifications made by that Participant.
</ol>
</li></ol>
<p id="section-8.3">8.3. If You assert a patent infringement claim against Participant
alleging that such Participant's Contributor Version directly or indirectly infringes
......
......@@ -3,9 +3,9 @@
Copyright 2004-2006 H2 Group. Licensed under the H2 License, Version 1.0 (http://h2database.com/html/license.html).
Initial Developer: H2 Group
-->
<html><head><meta http-equiv="Content-Type" content="text/html;charset=utf-8"><title>
<html><head><meta http-equiv="Content-Type" content="text/html;charset=utf-8" /><title>
H2 Database Engine
</title><link rel="stylesheet" type="text/css" href="stylesheet.css">
</title><link rel="stylesheet" type="text/css" href="stylesheet.css" />
<script type="text/javascript" src="navigation.js"></script>
</head><body onload="frameMe();">
<table class="content"><tr class="content"><td class="content"><div class="contentDiv">
......@@ -16,15 +16,15 @@ Welcome to H2, the free SQL database engine.
</p>
<a href="quickstartText.html" style="font-size: 16px; font-weight: bold">Quickstart</a>
<br>
<br />
Click here to get a fast overview.
<br><br>
<br /><br />
<a href="features.html" style="font-size: 16px; font-weight: bold">Features</a>
<br>
<br />
See what this database can do.
<br><br>
<br /><br />
<a href="tutorial.html" style="font-size: 16px; font-weight: bold">Tutorial</a>
<br>
<br />
Go through the samples.
</div></td></tr></table></body></html>
......@@ -3,22 +3,22 @@
Copyright 2004-2006 H2 Group. Licensed under the H2 License, Version 1.0 (http://h2database.com/html/license.html).
Initial Developer: H2 Group
-->
<html><head><meta http-equiv="Content-Type" content="text/html;charset=utf-8"><title>
<html><head><meta http-equiv="Content-Type" content="text/html;charset=utf-8" /><title>
Performance
</title><link rel="stylesheet" type="text/css" href="stylesheet.css">
</title><link rel="stylesheet" type="text/css" href="stylesheet.css" />
<script type="text/javascript" src="navigation.js"></script>
</head><body onload="frameMe();">
<table class="content"><tr class="content"><td class="content"><div class="contentDiv">
<h1>Performance</h1>
<a href="#performance_comparison">
Performance Comparison</a><br>
Performance Comparison</a><br />
<a href="#application_profiling">
Application Profiling</a><br>
Application Profiling</a><br />
<a href="#database_performance_tuning">
Performance Tuning</a><br>
Performance Tuning</a><br />
<br><a name="performance_comparison"></a>
<br /><a name="performance_comparison"></a>
<h2>Performance Comparison</h2>
In most cases H2 is a lot faster than all other
......@@ -222,7 +222,7 @@ It was developed / sponsored by db4o.
<tr><td>Total</td><td>ms</td><td>26724</td><td>53962</td><td>87112</td></tr>
</table>
<br><a name="application_profiling"></a>
<br /><a name="application_profiling"></a>
<h2>Application Profiling</h2>
<h3>Analyze First</h3>
......@@ -236,7 +236,7 @@ A very good tool to measure both the memory and the CPU is the
<a href="http://www.yourkit.com">YourKit Java Profiler</a>. This tool is also used
to optimize the performance and memory footprint of this database engine.
<br><a name="database_performance_tuning"></a>
<br /><a name="database_performance_tuning"></a>
<h2>Database Performance Tuning</h2>
<h3>Virus Scanners</h3>
......
......@@ -13,9 +13,9 @@ $headers = 'From: newsletter@h2database.com' . "\r\n" .
'X-Mailer: PHP/' . phpversion();
mail("dbsupport@h2database.com", "[H2 Newsletter] $now $spam2", $body, $headers);
?>
<html><head><meta http-equiv="Content-Type" content="text/html;charset=utf-8"><title>
<html><head><meta http-equiv="Content-Type" content="text/html;charset=utf-8" /><title>
H2 Database
</title><link rel="stylesheet" type="text/css" href="../stylesheet.css"></head><body>
</title><link rel="stylesheet" type="text/css" href="../stylesheet.css" /></head><body>
<table class="content"><tr class="content"><td class="content"><div class="contentDiv">
<h2>The email was sent successfully</h2>
......
......@@ -14,9 +14,9 @@ $headers = 'From: feedback@h2database.com' . "\r\n" .
$headers =
mail("dbsupport@h2database.com", "[H2 Feedback] $now $spam2", $body, $headers);
?>
<html><head><meta http-equiv="Content-Type" content="text/html;charset=utf-8"><title>
<html><head><meta http-equiv="Content-Type" content="text/html;charset=utf-8" /><title>
H2 Database
</title><link rel="stylesheet" type="text/css" href="../stylesheet.css"></head><body>
</title><link rel="stylesheet" type="text/css" href="../stylesheet.css" /></head><body>
<table class="content"><tr class="content"><td class="content"><div class="contentDiv">
<h2>The email was sent successfully</h2>
......
......@@ -3,9 +3,9 @@
Copyright 2004-2006 H2 Group. Licensed under the H2 License, Version 1.0 (http://h2database.com/html/license.html).
Initial Developer: H2 Group
-->
<html><head><meta http-equiv="Content-Type" content="text/html;charset=utf-8"><title>
<html><head><meta http-equiv="Content-Type" content="text/html;charset=utf-8" /><title>
Quickstart
</title><link rel="stylesheet" type="text/css" href="stylesheet.css">
</title><link rel="stylesheet" type="text/css" href="stylesheet.css" />
<script type="text/javascript" src="navigation.js"></script>
</head><body onload="frameMe();">
<table class="content"><tr class="content"><td class="content"><div class="contentDiv">
......@@ -14,9 +14,9 @@ Quickstart
<h2>The H2 Console Application</h2>
The Console lets you access a SQL database using a browser interface.
<br>
<img src="console.png" alt="Web Browser - H2 Console Server - H2 Database">
<br>
<br />
<img src="console.png" alt="Web Browser - H2 Console Server - H2 Database" />
<br />
If you don't have Windows XP, or if something does not work as expected,
please see the detailed description in the <a href="tutorial.html">Tutorial</a>.
......@@ -29,34 +29,34 @@ Install the software using the Windows Installer (if you did not yet do that).
Click <span class="button">Start</span>,
<span class="button">All Programs</span>,
<span class="button">H2</span>, and
<span class="button">H2 Console (Native)</span>:<br>
<img class="screenshot" src="quickstart-1.png" alt="screenshot: start H2 Console"><br>
A new console window appears:<br>
<img class="screenshot" src="quickstart-2.png" alt="screenshot: H2 Running"><br>
<span class="button">H2 Console (Native)</span>:<br />
<img class="screenshot" src="quickstart-1.png" alt="screenshot: start H2 Console" /><br />
A new console window appears:<br />
<img class="screenshot" src="quickstart-2.png" alt="screenshot: H2 Running" /><br />
Also, a new browser page should open with URL <a href="http://localhost:8082" target="_blank">http://localhost:8082</a>.
You may get a security warning from the firewall. If you don't want other computers in the network to access the database
on your machine, you can let the firewall block these connections. Only local connections are required at this time.
<h4>Login</h4>
Select <span class="button">Generic H2</span> and click <span class="button">Connect</span>:<br>
<img class="screenshot" src="quickstart-3.png" alt="screenshot: Login screen"><br>
Select <span class="button">Generic H2</span> and click <span class="button">Connect</span>:<br />
<img class="screenshot" src="quickstart-3.png" alt="screenshot: Login screen" /><br />
You are now logged in.
<h4>Sample</h4>
Click on the <span class="button">Sample SQL Script</span>:<br>
<img class="screenshot" src="quickstart-4.png" alt="screenshot: click on the sample SQL script"><br>
The SQL commands appear in the command area.<br>
Click on the <span class="button">Sample SQL Script</span>:<br />
<img class="screenshot" src="quickstart-4.png" alt="screenshot: click on the sample SQL script" /><br />
The SQL commands appear in the command area.<br />
<h4>Execute</h4>
Click <span class="button">Run</span>:<br>
<img class="screenshot" src="quickstart-5.png" alt="screenshot: click Run"><br>
Click <span class="button">Run</span>:<br />
<img class="screenshot" src="quickstart-5.png" alt="screenshot: click Run" /><br />
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>
<img class="screenshot" src="quickstart-6.png" alt="screenshot: see the result"><br>
The operations and results of the statements are shown below the script.<br />
<img class="screenshot" src="quickstart-6.png" alt="screenshot: see the result" /><br />
<h4>Disconnect</h4>
Click on <span class="button">Disconnect</span>:<br>
<img src="icon_disconnect.gif" alt="Disconnect icon"><br>
Click on <span class="button">Disconnect</span>:<br />
<img src="icon_disconnect.gif" alt="Disconnect icon" /><br />
to close the database.
<h4>End</h4>
......
......@@ -4,9 +4,9 @@ Copyright 2004-2006 H2 Group. Licensed under the H2 License, Version 1.0 (http:/
Initial Developer: H2 Group
-->
<html><head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Search</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css">
<link rel="stylesheet" type="text/css" href="stylesheet.css" />
<script type="text/javascript" src="index.js"></script>
<script type="text/javascript" src="search.js"></script>
<script type="text/javascript" src="navigation.js"></script>
......@@ -14,7 +14,7 @@ Initial Developer: H2 Group
<body style="margin: 10px 0px 0px 0px;" onload="frameMe('menu');">
<div class="menu">
<img border="0" src="h2-logo.png" alt="H2 Logo" onclick="document.location='main.html'">
<img border="0" src="h2-logo.png" alt="H2 Logo" onclick="document.location='main.html'" />
</div>
<form name="searchForm" action="submit" onsubmit="return goFirst();">
......@@ -26,12 +26,12 @@ Initial Developer: H2 Group
</tr>
<tr class="search">
<td class="search" colspan="2">
<input id="search" name="search" type="text" size="21" maxlength="100" onKeyup="listWords(this.value, '')"><br>
<input type="reset" id="clear" style="display:none;" value="Clear" onclick="listWords('', '');">
<input id="search" name="search" type="text" size="21" maxlength="100" onKeyup="listWords(this.value, '')" /><br />
<input type="reset" id="clear" style="display:none;" value="Clear" onclick="listWords('', '');" />
</td>
</tr>
<tr class="search" style="display:none;" >
<td width="1%" class="search" style="vertical-align: middle;"><input id="highlight" type="checkbox" checked="checked" onclick="highlightCurrent(this.checked, search.value)"></td>
<td width="1%" class="search" style="vertical-align: middle;"><input id="highlight" type="checkbox" checked="checked" onclick="highlightCurrent(this.checked, search.value)" /></td>
<td width="99%" class="search" style="padding: 0px; vertical-align: middle;">Highlight keyword(s)</td>
</tr>
<tr class="search">
......@@ -44,27 +44,27 @@ Initial Developer: H2 Group
</form>
<div class="menu">
<b><a href="main.html" target="main">Home</a></b><br>
<a href="quickstartText.html" target="main">Quickstart</a><br>
<a href="installation.html" target="main">Installation</a><br>
<a href="tutorial.html" target="main">Tutorial</a><br>
<a href="features.html" target="main">Features</a><br>
<a href="performance.html" target="main">Performance</a><br>
<a href="advanced.html" target="main">Advanced Topics</a><br>
<br>
<b>Reference</b><br>
<a href="grammar.html" target="main">SQL Grammar</a><br>
<a href="functions.html" target="main">Functions</a><br>
<a href="datatypes.html" target="main">Data Types</a><br>
<a href="../javadoc/index.html" target="main">Javadoc JDBC API</a><br>
<a href="../h2.pdf" target="_blank">Documentation as PDF</a><br>
<br>
<b>Appendix</b><br>
<a href="build.html" target="main">Build</a><br>
<a href="history.html" target="main">History and Roadmap</a><br>
<a href="faq.html" target="main">FAQ and Known Bugs</a><br>
<a href="license.html" target="main">License</a><br>
<br>
<b><a href="main.html" target="main">Home</a></b><br />
<a href="quickstartText.html" target="main">Quickstart</a><br />
<a href="installation.html" target="main">Installation</a><br />
<a href="tutorial.html" target="main">Tutorial</a><br />
<a href="features.html" target="main">Features</a><br />
<a href="performance.html" target="main">Performance</a><br />
<a href="advanced.html" target="main">Advanced Topics</a><br />
<br />
<b>Reference</b><br />
<a href="grammar.html" target="main">SQL Grammar</a><br />
<a href="functions.html" target="main">Functions</a><br />
<a href="datatypes.html" target="main">Data Types</a><br />
<a href="../javadoc/index.html" target="main">Javadoc JDBC API</a><br />
<a href="../h2.pdf" target="_blank">Documentation as PDF</a><br />
<br />
<b>Appendix</b><br />
<a href="build.html" target="main">Build</a><br />
<a href="history.html" target="main">History and Roadmap</a><br />
<a href="faq.html" target="main">FAQ and Known Bugs</a><br />
<a href="license.html" target="main">License</a><br />
<br />
</div>
</body></html>
......@@ -3,40 +3,40 @@
Copyright 2004-2006 H2 Group. Licensed under the H2 License, Version 1.0 (http://h2database.com/html/license.html).
Initial Developer: H2 Group
-->
<html><head><meta http-equiv="Content-Type" content="text/html;charset=utf-8"><title>
<html><head><meta http-equiv="Content-Type" content="text/html;charset=utf-8" /><title>
Tutorial
</title><link rel="stylesheet" type="text/css" href="stylesheet.css">
</title><link rel="stylesheet" type="text/css" href="stylesheet.css" />
<script type="text/javascript" src="navigation.js"></script>
</head><body onload="frameMe();">
<table class="content"><tr class="content"><td class="content"><div class="contentDiv">
<h1>Tutorial</h1>
<a href="#tutorial_starting_h2_console">
Starting and Using the H2 Console</a><br>
Starting and Using the H2 Console</a><br />
<a href="#connecting_using_jdbc">
Connecting to a Database using JDBC</a><br>
Connecting to a Database using JDBC</a><br />
<a href="#creating_new_databases">
Creating New Databases</a><br>
Creating New Databases</a><br />
<a href="#using_server">
Using the Server</a><br>
Using the Server</a><br />
<a href="#using_hibernate">
Using Hibernate</a><br>
Using Hibernate</a><br />
<a href="#web_applications">
Using Databases in Web Applications</a><br>
Using Databases in Web Applications</a><br />
<a href="#csv">
CSV (Comma Separated Values) Support</a><br>
CSV (Comma Separated Values) Support</a><br />
<a href="#upgrade_backup_restore">
Upgrade, Backup, and Restore</a><br>
Upgrade, Backup, and Restore</a><br />
<a href="#open_office">
Using OpenOffice Base</a><br>
Using OpenOffice Base</a><br />
<br><a name="tutorial_starting_h2_console"></a>
<br /><a name="tutorial_starting_h2_console"></a>
<h2>Starting and Using the H2 Console</h2>
<p>
This 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.
</p>
<img src="console.png" alt="Web Browser - H2 Console Server - H2 Database">
<img src="console.png" alt="Web Browser - H2 Console Server - H2 Database" />
<p>
This is a client / server application, so both a server and a client are required to run it.
</p><p>
......@@ -47,9 +47,9 @@ Depending on your platform and environment, there are multiple ways to start the
<td>Windows</td>
<td>1.4 or 1.5</td>
<td>
Click [Start], [All Programs], [H2], and [H2 Console]<br>
Click [Start], [All Programs], [H2], and [H2 Console]<br />
If this worked correctly, an icon will be added to the system tray:
<img src="h2.png" alt="[H2 icon]"><br>
<img src="h2.png" alt="[H2 icon]" /><br />
If you don't get the system tray icon, then maybe Java is not installed correctly (in this case, try another way to start the application).
A browser window should open
and point to the Login page (URL: <a href="http://localhost:8082" target="_blank">http://localhost:8082</a>).
......@@ -59,7 +59,7 @@ Depending on your platform and environment, there are multiple ways to start the
<td>Windows</td>
<td>1.4 or 1.5</td>
<td>
Open a file browser, navigate to h2/bin, and double click on h2.bat.<br>
Open a file browser, navigate to h2/bin, and double click on h2.bat.<br />
If this worked correctly, an icon will be added to the system tray.
If there is a problem, you will see the error message on the console window.
A browser window will open
......@@ -190,7 +190,7 @@ press [Ctrl]+[C] on the console where the server was started (Windows),
or close the console window.
</p>
<br><a name="connecting_using_jdbc"></a>
<br /><a name="connecting_using_jdbc"></a>
<h2>Connecting to a Database using JDBC</h2>
To connect to a database, a Java application first needs to load the database driver,
and then get a connection. A simple way to do that is using the following code:
......@@ -214,12 +214,12 @@ to be recognized by this database. The second parameter in the <code>getConnecti
is the user name ('sa' for System Administrator in this example). The third parameter is the password.
Please note that in this database, user names are not case sensitive, but passwords are case sensitive.
<br><a name="creating_new_databases"></a>
<br /><a name="creating_new_databases"></a>
<h2>Creating New Databases</h2>
By default, if the database specified in the URL does not yet exist, a new (empty)
database is created automatically.
<br><a name="using_server"></a>
<br /><a name="using_server"></a>
<h2>Using the Server</h2>
H2 currently supports three servers: a Web Server, a TCP Server and an ODBC Server.
The servers can be started in different ways.
......@@ -230,9 +230,9 @@ There currently are a few limitations when using the server or cluster mode:
<li>Statement.cancel() is only supported in embedded mode.
A connection can only execute one operation at a time in server or cluster mode,
and is blocked until this operation is finished.
<li>CLOBs and BLOBs are sent to the server in one piece and not as a stream.
</li><li>CLOBs and BLOBs are sent to the server in one piece and not as a stream.
That means those objects need to fit in memory when using the server or cluster mode.
</ul>
</li></ul>
<h3>Starting from Command Line</h3>
To start the Server from the command line with the default settings, run
......@@ -278,14 +278,14 @@ This function should be called after all connection to the databases are closed
to avoid recovery when the databases are opened the next time.
To stop remote server, remote connections must be enabled on the server.
<br><a name="using_hibernate"></a>
<br /><a name="using_hibernate"></a>
<h2>Using Hibernate</h2>
This database supports Hibernate version 3.1 and newer. You can use the HSQLDB Dialect,
or the native H2 Dialect that is available in the file src/tools/org/h2/tools/hibernate/H2Dialect.txt.
This dialect will be integrated into Hibernate, but until this is done you need to copy the file
into the folder src\org\hibernate\dialect (Hibernate 3.1), rename it to H2Dialect.java and re-compile hibernate.
<br><a name="web_applications"></a>
<br /><a name="web_applications"></a>
<h2>Using Databases in Web Applications</h2>
There are multiple ways to access a database from within web
applications. Here are some examples if you use Tomcat or JBoss.
......@@ -356,7 +356,7 @@ public class DbStarter implements ServletContextListener {
}
</pre>
<br><a name="csv"></a>
<br /><a name="csv"></a>
<h2>CSV (Comma Separated Values) Support</h2>
The CSV file support can be used inside the database using the functions CSVREAD and CSVWRITE,
and the CSV library can be used outside the database as a standalone tool.
......@@ -404,7 +404,7 @@ while(rs.next()) {
rs.close();
</pre>
<br><a name="upgrade_backup_restore"></a>
<br /><a name="upgrade_backup_restore"></a>
<h2>Upgrade, Backup, and Restore</h2>
<h3>Database Upgrade</h3>
......@@ -438,19 +438,19 @@ SQL script files may contain references to other script files, in the form of
RUNSCRIPT commands. However, when using the server mode, the references script files
need to be available on the server side.
<br><a name="open_office"></a>
<br /><a name="open_office"></a>
<h2>Using OpenOffice Base</h2>
OpenOffice.org Base supports database access over the JDBC API. To connect to a H2 database
using OpenOffice Base, you first need to add the JDBC driver to OpenOffice.
The steps to connect to a H2 database are:
<ul>
<li>Stop OpenOffice, including the autostart
<li>Copy h2.jar into the directory &lt;OpenOffice&gt;\program\classes
<li>Start OpenOffice Base
<li>Connect to an existing database, select JDBC, [Next]
<li>Example datasource URL: jdbc:h2:c:/temp/test
<li>JDBC driver class: org.h2.Driver
</ul>
</li><li>Copy h2.jar into the directory &lt;OpenOffice&gt;\program\classes
</li><li>Start OpenOffice Base
</li><li>Connect to an existing database, select JDBC, [Next]
</li><li>Example datasource URL: jdbc:h2:c:/temp/test
</li><li>JDBC driver class: org.h2.Driver
</li></ul>
Now you can access the database stored in the directory C:/temp.
</div></td></tr></table></body></html>
\ No newline at end of file
......@@ -3,9 +3,9 @@ Copyright 2004-2006 H2 Group. Licensed under the H2 License, Version 1.0 (http:/
Initial Developer: H2 Group
-->
<html><head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>H2 Database Engine</title>
<link rel="stylesheet" type="text/css" href="html/stylesheet.css">
<link rel="stylesheet" type="text/css" href="html/stylesheet.css" />
<script type="text/javascript">
location.href = 'html/frame.html';
</script>
......@@ -18,12 +18,12 @@ Welcome to H2, the free SQL database. The main feature of H2 are:
</p>
<ul>
<li>It is free to use for everybody, source code is included
<li>Written in Java, but also available as native executable
<li>JDBC and (partial) ODBC API
<li>Embedded and client/server modes
<li>Clustering is supported
<li>A web client is included
</ul>
</li><li>Written in Java, but also available as native executable
</li><li>JDBC and (partial) ODBC API
</li><li>Embedded and client/server modes
</li><li>Clustering is supported
</li><li>A web client is included
</li></ul>
<h2>No Javascript</h2>
<p>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论