提交 21d04c85 authored 作者: Thomas Mueller's avatar Thomas Mueller

Prepare release.

上级 7e0c7a71
......@@ -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>
......
......@@ -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>
......@@ -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.
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -16,7 +16,7 @@ public class Constants {
/**
* The build date is updated for each public release.
*/
public static final String BUILD_DATE = "2011-03-14";
public static final String BUILD_DATE = "2011-04-04";
/**
* 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 = 153;
public static final int BUILD_ID = 154;
/**
* The build id of the last stable release.
......
......@@ -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 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论