Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
21d04c85
提交
21d04c85
authored
4月 04, 2011
作者:
Thomas Mueller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Prepare release.
上级
7e0c7a71
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
9 个修改的文件
包含
3935 行增加
和
3955 行删除
+3935
-3955
advanced.html
h2/src/docsrc/html/advanced.html
+5
-5
changelog.html
h2/src/docsrc/html/changelog.html
+20
-29
roadmap.html
h2/src/docsrc/html/roadmap.html
+1
-4
tutorial.html
h2/src/docsrc/html/tutorial.html
+38
-40
_docs_en.utf8.txt
h2/src/docsrc/text/_docs_en.utf8.txt
+1301
-1304
_docs_ja.utf8.txt
h2/src/docsrc/text/_docs_ja.utf8.txt
+1301
-1304
_docs_en.properties
h2/src/docsrc/textbase/_docs_en.properties
+1266
-1267
Constants.java
h2/src/main/org/h2/engine/Constants.java
+2
-2
newsfeed.sql
h2/src/test/org/h2/samples/newsfeed.sql
+1
-0
没有找到文件。
h2/src/docsrc/html/advanced.html
浏览文件 @
21d04c85
...
...
@@ -25,7 +25,7 @@ Advanced
<a
href=
"#recursive_queries"
>
Recursive Queries
</a><br
/>
<a
href=
"#updatable_views"
>
Updatable Views
</a><br
/>
Updatable Views
</a><br
/>
<a
href=
"#transaction_isolation"
>
Transaction Isolation
</a><br
/>
<a
href=
"#mvcc"
>
...
...
@@ -178,13 +178,13 @@ supports an optional schema name parameter.
<h2
id=
"updatable_views"
>
Updatable Views
</h2>
<p>
By default, views are not updatable.
By default, views are not updatable.
To make a view updatable, use an "instead of" trigger as follows:
</p>
<pre>
CREATE TRIGGER TRIGGER_NAME
INSTEAD OF INSERT, UPDATE, DELETE
ON VIEW_NAME
CREATE TRIGGER TRIGGER_NAME
INSTEAD OF INSERT, UPDATE, DELETE
ON VIEW_NAME
FOR EACH ROW CALL "com.acme.TriggerClassName";
</pre>
<p>
...
...
h2/src/docsrc/html/changelog.html
浏览文件 @
21d04c85
...
...
@@ -18,14 +18,32 @@ Change Log
<h1>
Change Log
</h1>
<h2>
Next Version (unreleased)
</h2>
<ul><li>
The H2 Console now detects unsupported command line options.
(In the future, it will be combined with the Server tool as it is a superset.)
<ul><li>
-
</li></ul>
<h2>
Version 1.3.154 (2011-04-04)
</h2>
<ul><li>
The SQL state of the following exceptions has been changed:
From 90005 to 22001: "Value too long for column ...: ...".
From 90039 to 22003: "The value is too large for the precision ..." is merged with "Numeric value out of range".
From 90110 to 22003: "... out of range" is merged with "Numeric value out of range".
From 90021 to 22018: "Data conversion error converting ...".
From 90006 to 23502: "NULL not allowed for column ...".
From 23003 to 23503: "Referential integrity constraint violation: ...".
From 23001 to 23505: "Unique index or primary key violation: ...".
From 23002 to 23506: "Referential integrity constraint violation: ...".
From 90056 to 23507: "No default value is set for column ...".
From 23000 to 23513: "Check constraint violation: ...".
From 08004 to 28000: "Wrong user name or password".
From 90051 to 57014: "Statement was canceled or the session timed out".
</li><li>
The H2 Console now detects unsupported command line options.
(In the future, it will be combined with the Server tool.)
</li><li>
MySQL compatibility: SHOW COLUMN FOR schemaName.columnName.
</li><li>
DatabaseMetaData.getCrossReference now also lists the name of the primary index (PK_NAME).
</li><li>
If the database contained many CLOB or BLOB values, then closing a connection was very slow.
Reason: was that when closing a connection, the temporary CLOB and BLOB values for this connection
were removed, but there was no index on this column.
For existing databases with many CLOB and BLOB values, creating the index may take a few seconds.
The index is added to existing databases automatically.
</li><li>
If a CLOB or BLOB was copied into the same table using INSERT INTO X ... SELECT ... FROM X,
and then the original row was deleted, then the copied value was also deleted.
This could also result in an ArrayIndexOutOfBoundsException on checkpoint or when closing the database.
...
...
@@ -868,32 +886,5 @@ Change Log
</li><li>
H2 Console: if the settings file (.h2.properties) can't be accessed, the exception is now ignored.
</li></ul>
<h2>
Version 1.2.132 (2010-03-21)
</h2>
<ul><li>
The implementation of a Java to C (source code level) converter has been started.
The plan is: it should be possible to convert H2 (or a part of it) to C so that the database
can be run without a JVM. This will be a long term project (it may take a year or so).
</li><li>
User defined table implementation can now be used using CREATE TABLE ... ENGINE.
Thanks to Sergi Vladykin for implementing this feature!
</li><li>
Improved MS SQL Server compatibility: support string concatenation using "+".
Thanks to Stepan for the patch!
</li><li>
When using the multi-threaded mode, running ANALYZE concurrently in multiple
connections could throw an exception.
</li><li>
The MERGE statement is now about 30% faster when using a PreparedStatement.
</li><li>
Multi-column indexes where the second or later column was descending did not always
produce correct results (rows were missing in the result set, or the result set was empty).
</li><li>
When using large transactions or a small log size, the database could get very slow
(profiling shows the hotspot is in FileObjectDisk.sync()).
</li><li>
The Shell tool now prints the stack trace when the list mode is enabled.
</li><li>
CREATE ALIAS ... AS: Compilation was incorrect if the source code contained
characters that are not supported by the default file encoding.
</li><li>
Issue 176: the JdbcDataSource now also supports a 'description' property.
</li><li>
The Shell tool threw a ArrayIndexOutOfBoundsException after 20 statements.
</li><li>
When using the small version of H2 ('jarClient'), the first call to
Connection.createBlob (or similar) could throw a ClassNotFoundException
because the file org.h2.store.fs.FileSystemZip is not included. This missing class
is now ignored.
</li><li>
Literals of type BIGINT now have the correct data type.
</li></ul>
<!-- [close] { -->
</div></td></tr></table>
<!-- } --><!-- analytics -->
</body></html>
h2/src/docsrc/html/roadmap.html
浏览文件 @
21d04c85
...
...
@@ -293,11 +293,8 @@ See also <a href="build.html#providing_patches">Providing Patches</a>.
</li><li>
Docs: add a one line description for each functions and SQL statements at the top (in the link section).
</li><li>
Javadoc search: weight for titles should be higher ('random' should list Functions as the best match).
</li><li>
Replace information_schema tables with regular tables that are automatically re-built when needed. Use indexes.
</li><li>
Delete temporary files or objects using finalize.
</li><li>
Oracle compatibility: support calling 0-parameters functions without parenthesis. Make constants obsolete.
</li><li>
Issue 50: Oracle compatibility: support calling 0-parameters functions without parenthesis. Make constants obsolete.
</li><li>
MySQL, HSQLDB compatibility: support where 'a'=1 (not supported by Derby, PostgreSQL)
</li><li>
Allow calling function with no parameters without parenthesis. See http://code.google.com/p/h2database/issues/detail?id=50
</li><li>
CSV: currently # is a line comment and can start at any field. Make it optional.
</li><li>
Support a data type "timestamp with timezone" using java.util.Calendar.
</li><li>
Finer granularity for SLF4J trace - See http://code.google.com/p/h2database/issues/detail?id=62
</li><li>
Add database creation date and time to the database.
...
...
h2/src/docsrc/html/tutorial.html
浏览文件 @
21d04c85
差异被折叠。
点击展开。
h2/src/docsrc/text/_docs_en.utf8.txt
浏览文件 @
21d04c85
差异被折叠。
点击展开。
h2/src/docsrc/text/_docs_ja.utf8.txt
浏览文件 @
21d04c85
差异被折叠。
点击展开。
h2/src/docsrc/textbase/_docs_en.properties
浏览文件 @
21d04c85
This source diff could not be displayed because it is too large. You can
view the blob
instead.
h2/src/main/org/h2/engine/Constants.java
浏览文件 @
21d04c85
...
...
@@ -16,7 +16,7 @@ public class Constants {
/**
* The build date is updated for each public release.
*/
public
static
final
String
BUILD_DATE
=
"2011-0
3-1
4"
;
public
static
final
String
BUILD_DATE
=
"2011-0
4-0
4"
;
/**
* The build date is updated for each public release.
...
...
@@ -26,7 +26,7 @@ public class Constants {
/**
* The build id is incremented for each public release.
*/
public
static
final
int
BUILD_ID
=
15
3
;
public
static
final
int
BUILD_ID
=
15
4
;
/**
* The build id of the last stable release.
...
...
h2/src/test/org/h2/samples/newsfeed.sql
浏览文件 @
21d04c85
...
...
@@ -7,6 +7,7 @@
CREATE
TABLE
VERSION
(
ID
INT
PRIMARY
KEY
,
VERSION
VARCHAR
,
CREATED
VARCHAR
);
INSERT
INTO
VERSION
VALUES
(
104
,
'1.3.154'
,
'2011-04-04'
),
(
103
,
'1.3.153'
,
'2011-03-14'
),
(
102
,
'1.3.152 Beta'
,
'2011-03-01'
),
(
101
,
'1.3.151 Beta'
,
'2011-02-12'
),
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论