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

h2*.jar instead of h2.jar

上级 8ab8732c
...@@ -437,7 +437,7 @@ The Windows version of the PostgreSQL ODBC driver is available at ...@@ -437,7 +437,7 @@ The Windows version of the PostgreSQL ODBC driver is available at
After installing the ODBC driver, start the H2 Server using the command line: After installing the ODBC driver, start the H2 Server using the command line:
</p> </p>
<pre> <pre>
java -cp h2.jar org.h2.tools.Server java -cp h2*.jar org.h2.tools.Server
</pre> </pre>
<p> <p>
The PG Server (PG for PostgreSQL protocol) is started as well. The PG Server (PG for PostgreSQL protocol) is started as well.
...@@ -445,7 +445,7 @@ By default, databases are stored in the current working directory where the serv ...@@ -445,7 +445,7 @@ By default, databases are stored in the current working directory where the serv
Use -baseDir to save databases in another directory, for example the user home directory: Use -baseDir to save databases in another directory, for example the user home directory:
</p> </p>
<pre> <pre>
java -cp h2.jar org.h2.tools.Server -baseDir ~ java -cp h2*.jar org.h2.tools.Server -baseDir ~
</pre> </pre>
<p> <p>
The PG server can be started and stopped from within a Java application as follows: The PG server can be started and stopped from within a Java application as follows:
...@@ -531,14 +531,14 @@ An implementation of the ADO.NET interface is available in the open source proje ...@@ -531,14 +531,14 @@ An implementation of the ADO.NET interface is available in the open source proje
<ul><li>Install the .NET Framework from <a href="http://www.microsoft.com">Microsoft</a>. <ul><li>Install the .NET Framework from <a href="http://www.microsoft.com">Microsoft</a>.
Mono has not yet been tested. Mono has not yet been tested.
</li><li>Install <a href="http://www.ikvm.net">IKVM.NET</a>. </li><li>Install <a href="http://www.ikvm.net">IKVM.NET</a>.
</li><li>Copy the h2.jar file to ikvm/bin </li><li>Copy the h2*.jar file to ikvm/bin
</li><li>Run the H2 Console using: </li><li>Run the H2 Console using:
<code>ikvm -jar h2.jar</code> <code>ikvm -jar h2*.jar</code>
</li><li>Convert the H2 Console to an .exe file using: </li><li>Convert the H2 Console to an .exe file using:
<code>ikvmc -target:winexe h2.jar</code>. <code>ikvmc -target:winexe h2*.jar</code>.
You may ignore the warnings. You may ignore the warnings.
</li><li>Create a .dll file using (change the version accordingly): </li><li>Create a .dll file using (change the version accordingly):
<code>ikvmc.exe -target:library -version:1.0.69.0 h2.jar</code> <code>ikvmc.exe -target:library -version:1.0.69.0 h2*.jar</code>
</li></ul> </li></ul>
<p> <p>
If you want your C# application use H2, you need to add the h2.dll and the If you want your C# application use H2, you need to add the h2.dll and the
......
...@@ -18,7 +18,10 @@ Change Log ...@@ -18,7 +18,10 @@ Change Log
<h1>Change Log</h1> <h1>Change Log</h1>
<h2>Next Version (unreleased)</h2> <h2>Next Version (unreleased)</h2>
<ul><li>- <ul><li>H2 Console: Cmd+Enter executes the current statement.
</li><li>JaQu: the maximum length of a column can now be defined using maxLength.
For an example, see Product.java (maxLength(category, 255)).
</li><li>R&\#305;dvan A&\#287;ar has completed the Turkish translation of the H2 Console. Thanks a lot!
</li></ul> </li></ul>
<h2>Version 1.1.104 (2008-11-28)</h2> <h2>Version 1.1.104 (2008-11-28)</h2>
......
...@@ -50,8 +50,8 @@ Here is the list of known and confirmed issues: ...@@ -50,8 +50,8 @@ Here is the list of known and confirmed issues:
<li>Some problems have been found with right outer join. Internally, it is converted to left outer join, which <li>Some problems have been found with right outer join. Internally, it is converted to left outer join, which
does not always produce the same results as other databases when used in combination with other joins. does not always produce the same results as other databases when used in combination with other joins.
</li><li>When using Install4j before 4.1.4 on Linux and enabling 'pack200', </li><li>When using Install4j before 4.1.4 on Linux and enabling 'pack200',
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></ul> </li></ul>
......
...@@ -69,7 +69,7 @@ and the application code. ...@@ -69,7 +69,7 @@ and the application code.
<h2>Current State</h2> <h2>Current State</h2>
<p> <p>
JaQu is not yet stable, and not part of the h2.jar file. However the source code is included in H2, JaQu is not yet stable, and not part of the h2 jar file. However the source code is included in H2,
under: under:
</p> </p>
<ul><li>src/test/org/h2/test/jaqu/* (samples and tests) <ul><li>src/test/org/h2/test/jaqu/* (samples and tests)
......
...@@ -341,6 +341,14 @@ by the user; require a license to Oracle; lack advanced ...@@ -341,6 +341,14 @@ by the user; require a license to Oracle; lack advanced
query/retrieval; and the ability to handle chemical structures. query/retrieval; and the ability to handle chemical structures.
</p> </p>
<p><a href="http://www.nwiresoftware.com/">
nWire</a><br />
Eclipse plug-in which expedites Java development.
It's main purpose is to help developers find code quicker and easily
understand how it relates to the rest of the application, thus,
understand the application structure.
</p>
<p><a href="http://www.ontologyworks.com/"> <p><a href="http://www.ontologyworks.com/">
Ontology Works</a><br /> Ontology Works</a><br />
This company provides semantic technologies including deductive This company provides semantic technologies including deductive
......
...@@ -333,7 +333,7 @@ SET TRACE_LEVEL_FILE 0; ...@@ -333,7 +333,7 @@ SET TRACE_LEVEL_FILE 0;
Now convert the .trace.db file using the ConvertTraceFile tool: Now convert the .trace.db file using the ConvertTraceFile tool:
</p> </p>
<pre> <pre>
java -cp h2.jar org.h2.tools.ConvertTraceFile java -cp h2*.jar org.h2.tools.ConvertTraceFile
-traceFile "~/test.trace.db" -script "~/test.sql" -traceFile "~/test.trace.db" -script "~/test.sql"
</pre> </pre>
<p> <p>
......
...@@ -27,7 +27,7 @@ Quickstart ...@@ -27,7 +27,7 @@ Quickstart
This database can be used in embedded mode, or in server mode. To use it in embedded mode, you need to: This database can be used in embedded mode, or in server mode. To use it in embedded mode, you need to:
</p> </p>
<ul> <ul>
<li>Add <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></ul> </li></ul>
......
...@@ -92,7 +92,7 @@ Depending on your platform and environment, there are multiple ways to start the ...@@ -92,7 +92,7 @@ Depending on your platform and environment, there are multiple ways to start the
<td> <td>
Open a console window, navigate to the directory 'h2/bin' and type: Open a console window, navigate to the directory 'h2/bin' and type:
<pre> <pre>
java -cp h2.jar org.h2.tools.Server java -cp h2*.jar org.h2.tools.Server
</pre> </pre>
</td> </td>
</tr> </tr>
...@@ -423,7 +423,7 @@ The server mode is similar, but it allows you to run the server in another proce ...@@ -423,7 +423,7 @@ The server mode is similar, but it allows you to run the server in another proce
<h3>Using a Servlet Listener to Start and Stop a Database</h3> <h3>Using a Servlet Listener to Start and Stop a Database</h3>
<p> <p>
Add the h2.jar file your web application, and Add the h2*.jar file your web application, and
add the following snippet to your web.xml file (after context-param and before filter): add the following snippet to your web.xml file (after context-param and before filter):
</p> </p>
<pre> <pre>
...@@ -621,7 +621,7 @@ This database comes with a number of command line tools. To get more information ...@@ -621,7 +621,7 @@ This database comes with a number of command line tools. To get more information
start it with the parameter '-?', for example: start it with the parameter '-?', for example:
</p> </p>
<pre> <pre>
java -cp h2.jar org.h2.tools.Backup -? java -cp h2*.jar org.h2.tools.Backup -?
</pre> </pre>
<p> <p>
The command line tools are: The command line tools are:
...@@ -654,7 +654,7 @@ The steps to connect to a H2 database are: ...@@ -654,7 +654,7 @@ The steps to connect to a H2 database are:
<ul><li>Start OpenOffice Writer, go to [Tools], [Options] <ul><li>Start OpenOffice Writer, go to [Tools], [Options]
</li><li>Make sure you have selected a Java runtime environment in OpenOffice.org / Java </li><li>Make sure you have selected a Java runtime environment in OpenOffice.org / Java
</li><li>Click [Class Path...], [Add Archive...] </li><li>Click [Class Path...], [Add Archive...]
</li><li>Select your h2.jar (location is up to you, could be wherever you choose) </li><li>Select your h2 jar file (location is up to you, could be wherever you choose)
</li><li>Click [OK] (as much as needed), stop OpenOffice (including the Quickstarter) </li><li>Click [OK] (as much as needed), stop OpenOffice (including the Quickstarter)
</li><li>Start OpenOffice Base </li><li>Start OpenOffice Base
</li><li>Connect to an existing database; select JDBC; [Next] </li><li>Connect to an existing database; select JDBC; [Next]
...@@ -670,7 +670,7 @@ To use H2 in NeoOffice (OpenOffice without X11): ...@@ -670,7 +670,7 @@ To use H2 in NeoOffice (OpenOffice without X11):
<ul><li>In NeoOffice, go to [NeoOffice], [Preferences] <ul><li>In NeoOffice, go to [NeoOffice], [Preferences]
</li><li>Look for the page under [NeoOffice], [Java] </li><li>Look for the page under [NeoOffice], [Java]
</li><li>Click [Classpath], [Add Archive...] </li><li>Click [Classpath], [Add Archive...]
</li><li>Select your h2.jar (location is up to you, could be wherever you choose) </li><li>Select your h2 jar file (location is up to you, could be wherever you choose)
</li><li>Click [OK] (as much as needed), restart NeoOffice. </li><li>Click [OK] (as much as needed), restart NeoOffice.
</li></ul> </li></ul>
<p> <p>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论