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

Documentation.

上级 4c682e17
...@@ -26,6 +26,8 @@ Build ...@@ -26,6 +26,8 @@ Build
Build Targets</a><br /> Build Targets</a><br />
<a href="#maven2"> <a href="#maven2">
Using Maven 2</a><br /> Using Maven 2</a><br />
<a href="#using_eclipse">
Using Eclipse</a><br />
<a href="#translating"> <a href="#translating">
Translating</a><br /> Translating</a><br />
<a href="#providing_patches"> <a href="#providing_patches">
...@@ -166,6 +168,21 @@ Afterwards, you can include the database in your Maven 2 project as a dependency ...@@ -166,6 +168,21 @@ Afterwards, you can include the database in your Maven 2 project as a dependency
&lt;/dependency&gt; &lt;/dependency&gt;
</pre> </pre>
<h2 id="using_eclipse">Using Eclipse</h2>
<p>
To create an Eclipse project for H2, use the following steps:
</p>
<ul><li>Install Subversion and <a href="http://www.eclipse.org">Eclipse</a>.
</li><li>Get the H2 source code from the Subversion repository:<br />
<code>svn checkout http://h2database.googlecode.com/svn/trunk h2database-read-only</code>
</li><li>Download all dependencies (Windows):<br />
<code>build.bat download</code>
</li><li>In Eclipse, create a new Java project from existing source code.
</li><li>Select the <code>h2</code> folder, click <code>Next</code> and <code>Finish</code>.
</li><li>To resolve <code>com.sun.javadoc</code> import statements,
you may need to manually add the file <code>&lt;java.home&gt;/../lib/tools.jar</code> to the build path.
</li></ul>
<h2 id="translating">Translating</h2> <h2 id="translating">Translating</h2>
<p> <p>
The translation of this software is split into the following parts: The translation of this software is split into the following parts:
......
...@@ -18,7 +18,11 @@ Change Log ...@@ -18,7 +18,11 @@ Change Log
<h1>Change Log</h1> <h1>Change Log</h1>
<h2>Next Version (unreleased)</h2> <h2>Next Version (unreleased)</h2>
<ul><li>Some time and timezone functions didn't support years before 1. <ul><li>CAST(x AS VARCHAR_IGNORECASE(y) / CHAR(y)) returned a VARCHAR
if the new precision was lower than the old precision.
</li><li>SHUTDOWN DEFAG didn't defragment the database completely if there was a unique hash index for a memory table.
</li><li>There were some smaller changes in the encrypting file system (work in progress).
</li><li>Some time and timezone functions didn't support years before 1.
</li></ul> </li></ul>
<h2>Version 1.3.153 (2011-03-14)</h2> <h2>Version 1.3.153 (2011-03-14)</h2>
......
...@@ -555,10 +555,9 @@ A simple profiling tool is included in H2. To use it, the application needs to b ...@@ -555,10 +555,9 @@ A simple profiling tool is included in H2. To use it, the application needs to b
<pre> <pre>
import org.h2.util; import org.h2.util;
... ...
profiler = new Profiler(); Profiler profiler = new Profiler();
profiler.startCollecting(); profiler.startCollecting();
// application code // application code
profiler.stopCollecting();
System.out.println(profiler.getTop(3)); System.out.println(profiler.getTop(3));
</pre> </pre>
<p> <p>
......
...@@ -521,6 +521,7 @@ See also <a href="build.html#providing_patches">Providing Patches</a>. ...@@ -521,6 +521,7 @@ See also <a href="build.html#providing_patches">Providing Patches</a>.
</li><li>Support SQL/XML. </li><li>Support SQL/XML.
</li><li>Support concurrent opening of databases. </li><li>Support concurrent opening of databases.
</li><li>Improved error message and diagnostics in case of network configuration problems. </li><li>Improved error message and diagnostics in case of network configuration problems.
</li><li>TRUNCATE should reset the identity columns as in MySQL and MS SQL Server (and possibly other databases).
</li></ul> </li></ul>
<h2>Not Planned</h2> <h2>Not Planned</h2>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论