Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
d2448d9f
提交
d2448d9f
authored
12月 03, 2008
作者:
Thomas Mueller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
h2*.jar instead of h2.jar
上级
8ab8732c
显示空白字符变更
内嵌
并排
正在显示
8 个修改的文件
包含
28 行增加
和
17 行删除
+28
-17
advanced.html
h2/src/docsrc/html/advanced.html
+6
-6
changelog.html
h2/src/docsrc/html/changelog.html
+4
-1
faq.html
h2/src/docsrc/html/faq.html
+2
-2
jaqu.html
h2/src/docsrc/html/jaqu.html
+1
-1
links.html
h2/src/docsrc/html/links.html
+8
-0
performance.html
h2/src/docsrc/html/performance.html
+1
-1
quickstart.html
h2/src/docsrc/html/quickstart.html
+1
-1
tutorial.html
h2/src/docsrc/html/tutorial.html
+5
-5
没有找到文件。
h2/src/docsrc/html/advanced.html
浏览文件 @
d2448d9f
...
...
@@ -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:
</p>
<pre>
java -cp h2.jar org.h2.tools.Server
java -cp h2
*
.jar org.h2.tools.Server
</pre>
<p>
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
Use -baseDir to save databases in another directory, for example the user home directory:
</p>
<pre>
java -cp h2.jar org.h2.tools.Server -baseDir ~
java -cp h2
*
.jar org.h2.tools.Server -baseDir ~
</pre>
<p>
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
<ul><li>
Install the .NET Framework from
<a
href=
"http://www.microsoft.com"
>
Microsoft
</a>
.
Mono has not yet been tested.
</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:
<code>
ikvm -jar h2.jar
</code>
<code>
ikvm -jar h2
*
.jar
</code>
</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.
</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>
<p>
If you want your C# application use H2, you need to add the h2.dll and the
...
...
h2/src/docsrc/html/changelog.html
浏览文件 @
d2448d9f
...
...
@@ -18,7 +18,10 @@ Change Log
<h1>
Change Log
</h1>
<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>
<h2>
Version 1.1.104 (2008-11-28)
</h2>
...
...
h2/src/docsrc/html/faq.html
浏览文件 @
d2448d9f
...
...
@@ -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
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',
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.
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.
This problem is solved in Install4j 4.1.4.
</li></ul>
...
...
h2/src/docsrc/html/jaqu.html
浏览文件 @
d2448d9f
...
...
@@ -69,7 +69,7 @@ and the application code.
<h2>
Current State
</h2>
<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:
</p>
<ul><li>
src/test/org/h2/test/jaqu/* (samples and tests)
...
...
h2/src/docsrc/html/links.html
浏览文件 @
d2448d9f
...
...
@@ -341,6 +341,14 @@ by the user; require a license to Oracle; lack advanced
query/retrieval; and the ability to handle chemical structures.
</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/"
>
Ontology Works
</a><br
/>
This company provides semantic technologies including deductive
...
...
h2/src/docsrc/html/performance.html
浏览文件 @
d2448d9f
...
...
@@ -333,7 +333,7 @@ SET TRACE_LEVEL_FILE 0;
Now convert the .trace.db file using the ConvertTraceFile tool:
</p>
<pre>
java -cp h2.jar org.h2.tools.ConvertTraceFile
java -cp h2
*
.jar org.h2.tools.ConvertTraceFile
-traceFile "~/test.trace.db" -script "~/test.sql"
</pre>
<p>
...
...
h2/src/docsrc/html/quickstart.html
浏览文件 @
d2448d9f
...
...
@@ -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:
</p>
<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>
The database URL
<code>
jdbc:h2:~/test
</code>
opens the database 'test' in your user home directory
</li></ul>
...
...
h2/src/docsrc/html/tutorial.html
浏览文件 @
d2448d9f
...
...
@@ -92,7 +92,7 @@ Depending on your platform and environment, there are multiple ways to start the
<td>
Open a console window, navigate to the directory 'h2/bin' and type:
<pre>
java -cp h2.jar org.h2.tools.Server
java -cp h2
*
.jar org.h2.tools.Server
</pre>
</td>
</tr>
...
...
@@ -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>
<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):
</p>
<pre>
...
...
@@ -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:
</p>
<pre>
java -cp h2.jar org.h2.tools.Backup -?
java -cp h2
*
.jar org.h2.tools.Backup -?
</pre>
<p>
The command line tools are:
...
...
@@ -654,7 +654,7 @@ The steps to connect to a H2 database are:
<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>
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>
Start OpenOffice Base
</li><li>
Connect to an existing database; select JDBC; [Next]
...
...
@@ -670,7 +670,7 @@ To use H2 in NeoOffice (OpenOffice without X11):
<ul><li>
In NeoOffice, go to [NeoOffice], [Preferences]
</li><li>
Look for the page under [NeoOffice], [Java]
</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></ul>
<p>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论