Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
6bac611f
提交
6bac611f
authored
10月 16, 2009
作者:
Thomas Mueller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
HTML railroad diagrams
上级
31ed2e1e
显示空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
45 行增加
和
25 行删除
+45
-25
changelog.html
h2/src/docsrc/html/changelog.html
+3
-1
faq.html
h2/src/docsrc/html/faq.html
+18
-0
fragments.html
h2/src/docsrc/html/fragments.html
+23
-23
TestWeb.java
h2/src/test/org/h2/test/server/TestWeb.java
+1
-1
没有找到文件。
h2/src/docsrc/html/changelog.html
浏览文件 @
6bac611f
...
@@ -18,7 +18,9 @@ Change Log
...
@@ -18,7 +18,9 @@ Change Log
<h1>
Change Log
</h1>
<h1>
Change Log
</h1>
<h2>
Next Version (unreleased)
</h2>
<h2>
Next Version (unreleased)
</h2>
<ul><li>
The documentation is no longer available in Japanese because the
<ul><li>
The SQL syntax is documented using (railroad) diagrams.
The diagrams are HTML.
</li><li>
The documentation is no longer available in Japanese because the
translation was too much out of sync. Please use the Google translation instead.
translation was too much out of sync. Please use the Google translation instead.
</li></ul>
</li></ul>
...
...
h2/src/docsrc/html/faq.html
浏览文件 @
6bac611f
...
@@ -35,6 +35,8 @@ Frequently Asked Questions
...
@@ -35,6 +35,8 @@ Frequently Asked Questions
Is it Reliable?
</a><br
/>
Is it Reliable?
</a><br
/>
<a
href=
"#slow_open"
>
<a
href=
"#slow_open"
>
Why is Opening my Database Slow?
</a><br
/>
Why is Opening my Database Slow?
</a><br
/>
<a
href=
"#column_names_incorrect"
>
Column Names are Incorrect?
</a><br
/>
<a
href=
"#gcj"
>
<a
href=
"#gcj"
>
Is the GCJ Version Stable? Faster?
</a><br
/>
Is the GCJ Version Stable? Faster?
</a><br
/>
<a
href=
"#translate"
>
<a
href=
"#translate"
>
...
@@ -177,6 +179,22 @@ See also: <a href="grammar.html#set_log" class="notranslate">SET LOG</a>. This p
...
@@ -177,6 +179,22 @@ See also: <a href="grammar.html#set_log" class="notranslate">SET LOG</a>. This p
using the new 'page store' mechanism (currently beta).
using the new 'page store' mechanism (currently beta).
</p>
</p>
<h3
id=
"column_names_incorrect"
>
Column Names are Incorrect?
</h3>
<p>
For the query
<code>
SELECT ID AS X FROM TEST
</code>
the method
<code>
ResultSetMetaData.getColumnName()
</code>
returns
<code>
ID
</code>
, I expect it to
return
<code>
X
</code>
. What's wrong?
</p>
<p>
This is not a bug. According the the JDBC specification, the method
<code>
ResultSetMetaData.getColumnName()
</code>
should return the name of the column
and not the alias name. If you need the alias name, use
<a
href=
"http://java.sun.com/javase/6/docs/api/java/sql/ResultSetMetaData.html#getColumnLabel(int)"
><code>
ResultSetMetaData.getColumnLabel()
</code></a>
.
Other database don't work like this (they don't follow the JDBC standard).
If you need compatibility with those databases, use the
<a
href=
"features.html#compatibility"
>
Compatibility Mode
</a>
,
or set the system property
<a
href=
"../javadoc/org/h2/constant/SysProperties.html#h2.aliasColumnName"
><code>
h2.aliasColumnName
</code></a>
.
</p>
<h3
id=
"slow_open"
>
Why is Opening my Database Slow?
</h3>
<h3
id=
"slow_open"
>
Why is Opening my Database Slow?
</h3>
<p>
<p>
If it takes a long time to open a database, in most cases it was not closed the last time.
If it takes a long time to open a database, in most cases it was not closed the last time.
...
...
h2/src/docsrc/html/fragments.html
浏览文件 @
6bac611f
...
@@ -31,7 +31,7 @@ translate -->
...
@@ -31,7 +31,7 @@ translate -->
</tr>
</tr>
<tr
class=
"search"
>
<tr
class=
"search"
>
<td
class=
"search"
colspan=
"2"
>
<td
class=
"search"
colspan=
"2"
>
<b>
Search:
</b>
<b>
Search:
</b>
</td>
</td>
</tr>
</tr>
<tr
class=
"search"
>
<tr
class=
"search"
>
...
@@ -42,7 +42,7 @@ translate -->
...
@@ -42,7 +42,7 @@ translate -->
</tr>
</tr>
<tr
class=
"search"
style=
"display:none;"
>
<tr
class=
"search"
style=
"display:none;"
>
<td
class=
"search"
style=
"width: 1%; vertical-align: middle;"
><input
id =
"highlight"
type=
"checkbox"
checked=
"checked"
onclick=
"highlightCurrent(this.checked, search.value)"
/></td>
<td
class=
"search"
style=
"width: 1%; vertical-align: middle;"
><input
id =
"highlight"
type=
"checkbox"
checked=
"checked"
onclick=
"highlightCurrent(this.checked, search.value)"
/></td>
<td
class=
"search"
style=
"width: 99%; padding: 0px; vertical-align: middle;"
>
Highlight keyword(s)
</td>
<td
class=
"search"
style=
"width: 99%; padding: 0px; vertical-align: middle;"
>
Highlight keyword(s)
</td>
</tr>
</tr>
<tr
class=
"search"
>
<tr
class=
"search"
>
<td
class=
"search"
colspan=
"2"
>
<td
class=
"search"
colspan=
"2"
>
...
@@ -54,31 +54,31 @@ translate -->
...
@@ -54,31 +54,31 @@ translate -->
</table>
</table>
</form>
</form>
<div
class=
"menu"
>
<div
class=
"menu"
>
<b><a
href=
"main.html"
>
Home
</a></b><br
/>
<b><a
href=
"main.html"
>
Home
</a></b><br
/>
<a
href=
"quickstart.html"
>
Quickstart
</a><br
/>
<a
href=
"quickstart.html"
>
Quickstart
</a><br
/>
<a
href=
"cheatSheet.html"
>
Cheat Sheet
</a><br
/>
<a
href=
"cheatSheet.html"
>
Cheat Sheet
</a><br
/>
<a
href=
"installation.html"
>
Installation
</a><br
/>
<a
href=
"installation.html"
>
Installation
</a><br
/>
<a
href=
"tutorial.html"
>
Tutorial
</a><br
/>
<a
href=
"tutorial.html"
>
Tutorial
</a><br
/>
<a
href=
"features.html"
>
Features
</a><br
/>
<a
href=
"features.html"
>
Features
</a><br
/>
<a
href=
"performance.html"
>
Performance
</a><br
/>
<a
href=
"performance.html"
>
Performance
</a><br
/>
<a
href=
"advanced.html"
>
Advanced
</a><br
/>
<a
href=
"advanced.html"
>
Advanced
</a><br
/>
<a
href=
"jaqu.html"
>
JaQu
</a><br
/>
<a
href=
"jaqu.html"
>
JaQu
</a><br
/>
<a
href=
"download.html"
>
Download
</a><br
/>
<a
href=
"download.html"
>
Download
</a><br
/>
<br
/>
<br
/>
<b>
Reference
</b><br
/>
<b>
Reference
</b><br
/>
<a
href=
"grammar.html"
>
SQL Grammar
</a><br
/>
<a
href=
"grammar.html"
>
SQL Grammar
</a><br
/>
<a
href=
"functions.html"
>
Functions
</a><br
/>
<a
href=
"functions.html"
>
Functions
</a><br
/>
<a
href=
"datatypes.html"
>
Data Types
</a><br
/>
<a
href=
"datatypes.html"
>
Data Types
</a><br
/>
<a
href=
"../javadoc/index.html"
>
Javadoc
</a><br
/>
<a
href=
"../javadoc/index.html"
>
Javadoc
</a><br
/>
<a
href=
"sourceError.html"
>
Error Analyzer
</a><br
/>
<a
href=
"sourceError.html"
>
Error Analyzer
</a><br
/>
<a
href=
"../h2.pdf"
>
PDF (1 MB)
</a><br
/>
<a
href=
"../h2.pdf"
>
PDF (1 MB)
</a><br
/>
<br
/>
<br
/>
<b>
Appendix
</b><br
/>
<b>
Appendix
</b><br
/>
<a
href=
"build.html"
>
Build
</a><br
/>
<a
href=
"build.html"
>
Build
</a><br
/>
<a
href=
"history.html"
>
History
&
Roadmap
</a><br
/>
<a
href=
"history.html"
>
History
&
Roadmap
</a><br
/>
<a
href=
"links.html"
>
Links
</a><br
/>
<a
href=
"links.html"
>
Links
</a><br
/>
<a
href=
"faq.html"
>
FAQ
</a><br
/>
<a
href=
"faq.html"
>
FAQ
</a><br
/>
<a
href=
"license.html"
>
License
</a><br
/>
<a
href=
"license.html"
>
License
</a><br
/>
<br
/>
<br
/>
</div>
</div>
...
...
h2/src/test/org/h2/test/server/TestWeb.java
浏览文件 @
6bac611f
...
@@ -76,7 +76,7 @@ public class TestWeb extends TestBase {
...
@@ -76,7 +76,7 @@ public class TestWeb extends TestBase {
assertContains
(
result
,
"TEST"
);
assertContains
(
result
,
"TEST"
);
result
=
client
.
get
(
url
,
"autoCompleteList.do?query=select * from "
);
result
=
client
.
get
(
url
,
"autoCompleteList.do?query=select * from "
);
assertContains
(
result
,
"test"
);
assertContains
(
result
,
"test"
);
result
=
client
.
get
(
url
,
"autoCompleteList.do?query=
from test t select
t."
);
result
=
client
.
get
(
url
,
"autoCompleteList.do?query=
select * from test t where
t."
);
assertContains
(
result
,
"id"
);
assertContains
(
result
,
"id"
);
result
=
client
.
get
(
url
,
"autoCompleteList.do?query=select id x from test te where t"
);
result
=
client
.
get
(
url
,
"autoCompleteList.do?query=select id x from test te where t"
);
assertContains
(
result
,
"te"
);
assertContains
(
result
,
"te"
);
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论