Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
e901fd33
提交
e901fd33
authored
2月 28, 2011
作者:
Thomas Mueller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Documentation.
上级
0b5f2a87
全部展开
显示空白字符变更
内嵌
并排
正在显示
10 个修改的文件
包含
1521 行增加
和
1431 行删除
+1521
-1431
help.csv
h2/src/docsrc/help/help.csv
+11
-5
changelog.html
h2/src/docsrc/html/changelog.html
+8
-2
roadmap.html
h2/src/docsrc/html/roadmap.html
+1
-1
tutorial.html
h2/src/docsrc/html/tutorial.html
+4
-0
_docs_en.utf8.txt
h2/src/docsrc/text/_docs_en.utf8.txt
+503
-473
_docs_ja.utf8.txt
h2/src/docsrc/text/_docs_ja.utf8.txt
+503
-473
_docs_en.properties
h2/src/docsrc/textbase/_docs_en.properties
+484
-474
JdbcDatabaseMetaData.java
h2/src/main/org/h2/jdbc/JdbcDatabaseMetaData.java
+2
-2
TraceObject.java
h2/src/main/org/h2/message/TraceObject.java
+3
-0
dictionary.txt
h2/src/tools/org/h2/build/doc/dictionary.txt
+2
-1
没有找到文件。
h2/src/docsrc/help/help.csv
浏览文件 @
e901fd33
...
@@ -1728,9 +1728,15 @@ $$John's car$$
...
@@ -1728,9 +1728,15 @@ $$John's car$$
"Other Grammar","Double","
"Other Grammar","Double","
[ + | - ] { { number [ . number ] } | { . number } } [ E [ + | - ] expNumber [...] ] ]
[ + | - ] { { number [ . number ] } | { . number } } [ E [ + | - ] expNumber [...] ] ]
","
","
A floating point number with high precision.
The limitations are the same as for the Java data type Double.
The limitations are the same as for the Java data type Double.
To ensure the floating point representation is used, use CAST.
There are some special values: to represent positive infinity, use POWER(0, -1);
for negative infinity, use (-POWER(0, -1)); for -0.0, use (-CAST(0 AS DOUBLE));
for NaN (not a number), use SQRT(-1).
","
","
-1.4e-10
-1.4e-10
CAST(0 AS DOUBLE)
"
"
"Other Grammar","Expression","
"Other Grammar","Expression","
...
@@ -2031,7 +2037,7 @@ DECIMAL(20, 2)
...
@@ -2031,7 +2037,7 @@ DECIMAL(20, 2)
"Data Types","DOUBLE Type","
"Data Types","DOUBLE Type","
{ DOUBLE [ PRECISION ] | FLOAT | FLOAT4 | FLOAT8 }
{ DOUBLE [ PRECISION ] | FLOAT | FLOAT4 | FLOAT8 }
","
","
F
loating point number. Should not be used to represent currency values, because
A f
loating point number. Should not be used to represent currency values, because
of rounding problems.
of rounding problems.
Mapped to ""java.lang.Double"".
Mapped to ""java.lang.Double"".
...
@@ -2042,7 +2048,7 @@ DOUBLE
...
@@ -2042,7 +2048,7 @@ DOUBLE
"Data Types","REAL Type","
"Data Types","REAL Type","
REAL
REAL
","
","
S
ingle precision floating point number. Should not be used to represent currency
A s
ingle precision floating point number. Should not be used to represent currency
values, because of rounding problems.
values, because of rounding problems.
Mapped to ""java.lang.Float"".
Mapped to ""java.lang.Float"".
...
@@ -2053,7 +2059,7 @@ REAL
...
@@ -2053,7 +2059,7 @@ REAL
"Data Types","TIME Type","
"Data Types","TIME Type","
TIME
TIME
","
","
The format is hh:mm:ss.
The
time data type. The
format is hh:mm:ss.
Mapped to ""java.sql.Time"". When converted to a ""java.sql.Date"", the date is set to ""1970-01-01"".
Mapped to ""java.sql.Time"". When converted to a ""java.sql.Date"", the date is set to ""1970-01-01"".
","
","
...
@@ -2063,7 +2069,7 @@ TIME
...
@@ -2063,7 +2069,7 @@ TIME
"Data Types","DATE Type","
"Data Types","DATE Type","
DATE
DATE
","
","
The format is yyyy-MM-dd.
The
date data type. The
format is yyyy-MM-dd.
Mapped to ""java.sql.Date"", with the time set to ""00:00:00""
Mapped to ""java.sql.Date"", with the time set to ""00:00:00""
(or to the next possible time if midnight doesn't exist for the given date and timezone due to a daylight saving change).
(or to the next possible time if midnight doesn't exist for the given date and timezone due to a daylight saving change).
...
@@ -2074,7 +2080,7 @@ DATE
...
@@ -2074,7 +2080,7 @@ DATE
"Data Types","TIMESTAMP Type","
"Data Types","TIMESTAMP Type","
{ TIMESTAMP | DATETIME | SMALLDATETIME }
{ TIMESTAMP | DATETIME | SMALLDATETIME }
","
","
The format is yyyy-MM-dd hh:mm:ss[.nnnnnnnnn].
The
timestamp data type. The
format is yyyy-MM-dd hh:mm:ss[.nnnnnnnnn].
Mapped to ""java.sql.Timestamp"" (""java.util.Date"" is also supported).
Mapped to ""java.sql.Timestamp"" (""java.util.Date"" is also supported).
","
","
...
...
h2/src/docsrc/html/changelog.html
浏览文件 @
e901fd33
...
@@ -18,7 +18,13 @@ Change Log
...
@@ -18,7 +18,13 @@ Change Log
<h1>
Change Log
</h1>
<h1>
Change Log
</h1>
<h2>
Next Version (unreleased)
</h2>
<h2>
Next Version (unreleased)
</h2>
<ul><li>
Array literals with zero or one element were not be parsed correctly.
<ul><li>
The double or float value -0.0 is now distinct from 0.0 (as in Java).
</li><li>
TCP and PG server: if the default port is already in use, the services are now started on
another free port (unless the port is explicitly set). This allows to start the H2 Console
even if the TCP or PG servers are already running.
</li><li>
LIKE didn't use an index unless the right hand side was a literal or parameter.
Now an index is used for LIKE CONCAT(?, '%').
</li><li>
Array literals with zero or one element were not be parsed correctly.
Now trailing commas are ignored (as in Java). Expressions of the form '(1)' are still parsed as the value 1.
Now trailing commas are ignored (as in Java). Expressions of the form '(1)' are still parsed as the value 1.
An empty array is '()'. An array with one element must contain a comma to be parsed as an array, as in '(1,)'.
An empty array is '()'. An array with one element must contain a comma to be parsed as an array, as in '(1,)'.
</li><li>
Issue 290: Conditions using subqueries were sometimes evaluated before much simpler conditions,
</li><li>
Issue 290: Conditions using subqueries were sometimes evaluated before much simpler conditions,
...
...
h2/src/docsrc/html/roadmap.html
浏览文件 @
e901fd33
...
@@ -561,7 +561,7 @@ See also <a href="build.html#providing_patches">Providing Patches</a>.
...
@@ -561,7 +561,7 @@ See also <a href="build.html#providing_patches">Providing Patches</a>.
</li><li>
Optimization for large lists for column IN(1, 2, 3, 4,...) - currently an list is used, could potentially use a hash set
</li><li>
Optimization for large lists for column IN(1, 2, 3, 4,...) - currently an list is used, could potentially use a hash set
(maybe only for a part of the values - the ones that can be evaluated).
(maybe only for a part of the values - the ones that can be evaluated).
</li><li>
Compatibility for ARRAY data type (Oracle: VARRAY(n) of VARCHAR(m); HSQLDB: VARCHAR(n) ARRAY; Postgres: VARCHAR(n)[]).
</li><li>
Compatibility for ARRAY data type (Oracle: VARRAY(n) of VARCHAR(m); HSQLDB: VARCHAR(n) ARRAY; Postgres: VARCHAR(n)[]).
</li><li>
PostgreSQL compatible array literal syntax: ARRAY[['
breakfast', 'consulting'], ['meeting', 'lunch
']]
</li><li>
PostgreSQL compatible array literal syntax: ARRAY[['
a', 'b'], ['c', 'd
']]
</li></ul>
</li></ul>
<h2>
Not Planned
</h2>
<h2>
Not Planned
</h2>
...
...
h2/src/docsrc/html/tutorial.html
浏览文件 @
e901fd33
...
@@ -163,6 +163,10 @@ This can be done by changing the port in the file <code>.h2.server.properties</c
...
@@ -163,6 +163,10 @@ This can be done by changing the port in the file <code>.h2.server.properties</c
in the user directory (for Windows, this is usually in
<code>
Documents and Settings/
<
username
>
</code>
).
in the user directory (for Windows, this is usually in
<code>
Documents and Settings/
<
username
>
</code>
).
The relevant entry is webPort.
The relevant entry is webPort.
</p>
</p>
<p>
If no port is specified for the TCP and PG servers, they will try to listen on the default port for the given service.
If the default port is already in use, a random port is used.
</p>
<h3>
Connecting to the Server using a Browser
</h3>
<h3>
Connecting to the Server using a Browser
</h3>
<p>
<p>
...
...
h2/src/docsrc/text/_docs_en.utf8.txt
浏览文件 @
e901fd33
差异被折叠。
点击展开。
h2/src/docsrc/text/_docs_ja.utf8.txt
浏览文件 @
e901fd33
差异被折叠。
点击展开。
h2/src/docsrc/textbase/_docs_en.properties
浏览文件 @
e901fd33
This source diff could not be displayed because it is too large. You can
view the blob
instead.
h2/src/main/org/h2/jdbc/JdbcDatabaseMetaData.java
浏览文件 @
e901fd33
...
@@ -202,8 +202,8 @@ public class JdbcDatabaseMetaData extends TraceObject implements DatabaseMetaDat
...
@@ -202,8 +202,8 @@ public class JdbcDatabaseMetaData extends TraceObject implements DatabaseMetaDat
* <li>21 SCOPE_TABLE (String) always null </li>
* <li>21 SCOPE_TABLE (String) always null </li>
* <li>22 SOURCE_DATA_TYPE (short) null </li>
* <li>22 SOURCE_DATA_TYPE (short) null </li>
* <li>23 IS_AUTOINCREMENT (String) "NO" or "YES" </li>
* <li>23 IS_AUTOINCREMENT (String) "NO" or "YES" </li>
* <li>24 SCOPE_CATLOG (String) always null
* <li>24 SCOPE_CATLOG (String) always null
(the typo is on purpose,
*
(the typo is on purpose,
for compatibility with the JDBC specification prior to 4.1)</li>
* for compatibility with the JDBC specification prior to 4.1)</li>
* </ul>
* </ul>
*
*
* @param catalogPattern null (to get all objects) or the catalog name
* @param catalogPattern null (to get all objects) or the catalog name
...
...
h2/src/main/org/h2/message/TraceObject.java
浏览文件 @
e901fd33
...
@@ -108,6 +108,9 @@ public class TraceObject {
...
@@ -108,6 +108,9 @@ public class TraceObject {
"ds"
,
"xads"
,
"xares"
,
"xid"
,
"ar"
"ds"
,
"xads"
,
"xares"
,
"xid"
,
"ar"
};
};
/**
* The trace module used by this object.
*/
protected
Trace
trace
;
protected
Trace
trace
;
private
int
traceType
;
private
int
traceType
;
...
...
h2/src/tools/org/h2/build/doc/dictionary.txt
浏览文件 @
e901fd33
...
@@ -677,4 +677,5 @@ trouble designed decouple reflectively skeletons retention reflective validates
...
@@ -677,4 +677,5 @@ trouble designed decouple reflectively skeletons retention reflective validates
clip upgrades demonstrate inspectors
clip upgrades demonstrate inspectors
exceed identities differentiate inherited tracks notated strip suggestions
exceed identities differentiate inherited tracks notated strip suggestions
registration sanity improperly annotate inheritance composite inspected
registration sanity improperly annotate inheritance composite inspected
hurt imposes marshal policy upgrader configurations dark
hurt imposes marshal policy upgrader configurations dark varray xlint executor
completion
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论