提交 970c2d36 authored 作者: Thomas Mueller's avatar Thomas Mueller

Prepare release.

上级 9164f30d
...@@ -18,6 +18,10 @@ Change Log ...@@ -18,6 +18,10 @@ Change Log
<h1>Change Log</h1> <h1>Change Log</h1>
<h2>Next Version (unreleased)</h2> <h2>Next Version (unreleased)</h2>
<ul><li>-
</li></ul>
<h2>Version 1.3.174 (2013-10-19)</h2>
<ul><li>LIRS cache: bugfix for caches that only contain non-resident entries. <ul><li>LIRS cache: bugfix for caches that only contain non-resident entries.
</li><li>For in-memory databases, queries with a "group by" column that </li><li>For in-memory databases, queries with a "group by" column that
is also a hash index threw a RuntimeException. is also a hash index threw a RuntimeException.
...@@ -338,49 +342,5 @@ Change Log ...@@ -338,49 +342,5 @@ Change Log
</li><li>The SCRIPT statements now supports filtering by schema and table. Thanks a lot to Jacob Qvortrup for providing the patch! </li><li>The SCRIPT statements now supports filtering by schema and table. Thanks a lot to Jacob Qvortrup for providing the patch!
</li></ul> </li></ul>
<h2>Version 1.3.166 (2012-04-08)</h2>
<ul><li>Indexes on column that are larger than half the page size (wide indexes)
could sometimes get corrupt, resulting in an ArrayIndexOutOfBoundsException in PageBtree.getRow
or "Row not found" in PageBtreeLeaf. Also, such indexes used too much disk space.
</li><li>Server mode: when retrieving more than 64 rows each containing a CLOB or BLOB,
the error message "The object is already closed" was thrown.
</li><li>ConvertTraceFile: the time in the trace file is now parsed as a long.
</li><li>Invalid connection settings are now detected.
</li><li>Issue 387: WHERE condition getting pushed into sub-query with LIMIT.
</li></ul>
<h2>Version 1.3.165 (2012-03-18)</h2>
<ul><li>Better string representation for decimal values (for example 0.00000000 instead of 0E-26).
</li><li>Prepared statements could only be re-used if the same data types were used
the second time they were executed.
</li><li>In error messages about referential constraint violation, the values are now included.
</li><li>SCRIPT and RUNSCRIPT: the password can now be set using a prepared statement.
Previously, it was required to be a literal in the SQL statement.
</li><li>MySQL compatibility: SUBSTR with a negative start index now works like MySQL.
</li><li>When enabling autocommit, the transaction is now committed (as required by the JDBC API).
</li><li>The shell script <code>h2.sh</code> did not work with spaces in the path.
It also works now with quoted spaces in the argument list.
Thanks a lot to Shimizu Fumiyuki for the patch!
</li><li>If the transaction log could not be truncated because of an uncommitted transaction,
now "Transaction log could not be truncated" is written to the .trace.db file.
Before, the database file was growing and it was hard to find out what the root cause was.
To avoid the database file from growing, a new feature to automatically rollback the oldest
transaction is available now. To enable it, append ;LOG_SIZE_LIMIT=32 to the database URL
(in that case, the oldest session is rolled back if the transaction log is 32 MB).
</li><li>ALTER TABLE ADD can now add more than one column at a time.
</li><li>Issue 380: ALTER TABLE ADD FOREIGN KEY with an explicit index didn't verify
the index can be used, which would lead to a NullPointerException later on.
</li><li>Issue 384: the wrong kind of exception (NullPointerException) was thrown in a UNION query
with an incorrect ORDER BY expression.
</li><li>Issue 362: support LIMIT in UPDATE statements.
</li><li>Browser: if no default browser is set, Google Chrome is now used if available.
If not available, then Konqueror, Netscape, or Opera is used if available (as before).
</li><li>CSV tool: new feature to disable writing the column header
(option writeColumnHeader).
</li><li>CSV tool: new feature to preserve the case sensitivity of column names
(option caseSensitiveColumnNames).
</li><li>PostgreSQL compatibility: LOG(x) is base 10 in the PostgreSQL mode.
</li></ul>
<!-- [close] { --></div></td></tr></table><!-- } --><!-- analytics --></body></html> <!-- [close] { --></div></td></tr></table><!-- } --><!-- analytics --></body></html>
...@@ -1871,664 +1871,601 @@ Change Log ...@@ -1871,664 +1871,601 @@ Change Log
Next Version (unreleased) Next Version (unreleased)
@changelog_1002_li @changelog_1002_li
-
@changelog_1003_h2
Version 1.3.174 (2013-10-19)
@changelog_1004_li
LIRS cache: bugfix for caches that only contain non-resident entries. LIRS cache: bugfix for caches that only contain non-resident entries.
@changelog_1003_li @changelog_1005_li
For in-memory databases, queries with a "group by" column that is also a hash index threw a RuntimeException. For in-memory databases, queries with a "group by" column that is also a hash index threw a RuntimeException.
@changelog_1004_li @changelog_1006_li
Improved error message for some syntax errors. Improved error message for some syntax errors.
@changelog_1005_li @changelog_1007_li
File system abstraction: if used directly, some file systems did not work correctly with spliced byte buffers (the database engine doesn't use those). File system abstraction: if used directly, some file systems did not work correctly with spliced byte buffers (the database engine doesn't use those).
@changelog_1006_li @changelog_1008_li
To use the MVStore storage engine (which is still work in progress), append ";mv_store=true" to the database URL. Using the MVTableEngine when creating the table is no longer recommended. To use the MVStore storage engine (which is still work in progress), append ";mv_store=true" to the database URL. Using the MVTableEngine when creating the table is no longer recommended.
@changelog_1007_li @changelog_1009_li
To compile user defined functions, the javax.tools.JavaCompiler is now used if available, and no temporary files are created. This should solve problems when multiple H2 database concurrently compile the same user defined functions. To disable, system the system property "h2.javaSystemCompiler" to false. To compile user defined functions, the javax.tools.JavaCompiler is now used if available, and no temporary files are created. This should solve problems when multiple H2 database concurrently compile the same user defined functions. To disable, system the system property "h2.javaSystemCompiler" to false.
@changelog_1008_li @changelog_1010_li
Concurrently creating function aliases in different databases could result in the exception "javac: file not found". Concurrently creating function aliases in different databases could result in the exception "javac: file not found".
@changelog_1009_li @changelog_1011_li
The function "regexp_replace" threw the wrong kind of exception if the replacement string was invalid. The function "regexp_replace" threw the wrong kind of exception if the replacement string was invalid.
@changelog_1010_li @changelog_1012_li
A checkpoint is now done every MAX_LOG_SIZE / 2 instead of every MAX_LOG_SIZE, so that the transaction log doesn't grow as large. A checkpoint is now done every MAX_LOG_SIZE / 2 instead of every MAX_LOG_SIZE, so that the transaction log doesn't grow as large.
@changelog_1011_li @changelog_1013_li
MVStore table engine: new setting "retention_time" to configure the time to retain old data. The default is 45 seconds. MVStore table engine: new setting "retention_time" to configure the time to retain old data. The default is 45 seconds.
@changelog_1012_li @changelog_1014_li
The method TableEngine.createTable() now returns a Table object. The method TableEngine.createTable() now returns a Table object.
@changelog_1013_li @changelog_1015_li
For read-only databases, for the trace level "debug", the trace info is written to the temp directory. For read-only databases, for the trace level "debug", the trace info is written to the temp directory.
@changelog_1014_li @changelog_1016_li
Closing the file lock will now wait until the background thread is stopped. Closing the file lock will now wait until the background thread is stopped.
@changelog_1015_li @changelog_1017_li
In version 1.3.172, a performance regression was introduced when fixing the issue 389 (when there is a multi-column primary key, H2 does not seem to always pick the right index). This was related to boosting an index that matches the "order by" column list (the wrong index was used in some cases). In version 1.3.172, a performance regression was introduced when fixing the issue 389 (when there is a multi-column primary key, H2 does not seem to always pick the right index). This was related to boosting an index that matches the "order by" column list (the wrong index was used in some cases).
@changelog_1016_li @changelog_1018_li
Improved spatial index and data type. Improved spatial index and data type.
@changelog_1017_li @changelog_1019_li
Issue 467: OSGi Class Loader (ability to create reference to class in other ClassLoader, for example in another OSGi bundle). Issue 467: OSGi Class Loader (ability to create reference to class in other ClassLoader, for example in another OSGi bundle).
@changelog_1018_li @changelog_1020_li
Queries "group by" that contain a subquery with an aggregate function returned the wrong result in some cases. Queries "group by" that contain a subquery with an aggregate function returned the wrong result in some cases.
@changelog_1019_li @changelog_1021_li
Fix bug in unique and non-unique hash indexes which manifested as incorrect results when the search key was a different cardinal type from the table index key. e.g. where the one was INT and the other was LONG Fix bug in unique and non-unique hash indexes which manifested as incorrect results when the search key was a different cardinal type from the table index key. e.g. where the one was INT and the other was LONG
@changelog_1020_li @changelog_1022_li
Bug: Changes to the database structure did not result in the Session query cache being invalidated. Bug: Changes to the database structure did not result in the Session query cache being invalidated.
@changelog_1021_li @changelog_1023_li
New feature from Davide Cavestro - allow using custom Java object serialization engines on a per-DB basis. New feature from Davide Cavestro - allow using custom Java object serialization engines on a per-DB basis.
@changelog_1022_li @changelog_1024_li
When running the Recover tool on very large (&gt;6G) databases, some statistics were reported with negative numbers. When running the Recover tool on very large (&gt;6G) databases, some statistics were reported with negative numbers.
@changelog_1023_li @changelog_1025_li
Add a CONTAINS_UNCOMMITTED column to the SESSIONS metadata table, to allow detecting when rogue sessions are creating large transactions. Add a CONTAINS_UNCOMMITTED column to the SESSIONS metadata table, to allow detecting when rogue sessions are creating large transactions.
@changelog_1024_li @changelog_1026_li
Some small fixes to the GEOMETRY support, patches by Nicolas Fortin. Some small fixes to the GEOMETRY support, patches by Nicolas Fortin.
@changelog_1025_li @changelog_1027_li
The BNF tool and the autocomplete feature are exported in OSGi, which makes it possible for smart editors to do autocomplete. Patch from Nicolas Fortin. The BNF tool and the autocomplete feature are exported in OSGi, which makes it possible for smart editors to do autocomplete. Patch from Nicolas Fortin.
@changelog_1026_li @changelog_1028_li
Fix DROP ALL OBJECTS and DROP SCHEMA in the presence of tables with computed column dependencies. Fix DROP ALL OBJECTS and DROP SCHEMA in the presence of tables with computed column dependencies.
@changelog_1027_li @changelog_1029_li
Session-temporary LOB's could sometimes accumulate, increasing the size of the DB file until shutdown. Now they are cleared out at every commit. Session-temporary LOB's could sometimes accumulate, increasing the size of the DB file until shutdown. Now they are cleared out at every commit.
@changelog_1028_li @changelog_1030_li
There was a bug where a hash index with more than one column would be silently converted to a regular index. It will now throw an exception. There was a bug where a hash index with more than one column would be silently converted to a regular index. It will now throw an exception.
@changelog_1029_li @changelog_1031_li
Query Statistics: new feature which stores the newest 100 SQL queries executed and their performance data. Useful for tracking down badly performing queries. Query Statistics: new feature which stores the newest 100 SQL queries executed and their performance data. Useful for tracking down badly performing queries.
@changelog_1030_li @changelog_1032_li
Fix an LOB deadlock between reading and updating LOB columns. Fix an LOB deadlock between reading and updating LOB columns.
@changelog_1031_li @changelog_1033_li
Support the JDBC DatabaseMetaData#getClientInfoProperties() method, in the sense of returning an empty result, in order to make WebSphere happy. Support the JDBC DatabaseMetaData#getClientInfoProperties() method, in the sense of returning an empty result, in order to make WebSphere happy.
@changelog_1032_li @changelog_1034_li
Make Server#openBrowser respect the $BROWSER environment variable. Add "chromium" to the list of browsers tried. Patch from Felix Kaiser. Make Server#openBrowser respect the $BROWSER environment variable. Add "chromium" to the list of browsers tried. Patch from Felix Kaiser.
@changelog_1033_li @changelog_1035_li
Fix to org.h2.util.ScriptReader when handling unclosed block comments. Fix to org.h2.util.ScriptReader when handling unclosed block comments.
@changelog_1034_li @changelog_1036_li
Make org.h2.util.ScriptReader throw a better exception when handling broken scripts which generate extremely large statements. Make org.h2.util.ScriptReader throw a better exception when handling broken scripts which generate extremely large statements.
@changelog_1035_li @changelog_1037_li
Fix bug with ALLOW_LITERALS=NONE, where the periodic analyze table on insert would throw an exception. A similar problem was fixed in the Console tool. Fix bug with ALLOW_LITERALS=NONE, where the periodic analyze table on insert would throw an exception. A similar problem was fixed in the Console tool.
@changelog_1036_li @changelog_1038_li
Issue 510: Make org.h2.bnf public for consumption by external projects, patch by Nicolas Fortin Issue 510: Make org.h2.bnf public for consumption by external projects, patch by Nicolas Fortin
@changelog_1037_li @changelog_1039_li
Issue 509: Important fix on ValueGeometry, patch by Nicolas Fortin (with some tweaking) Make ValueGeometry#getDimensionCount more reliable. Add unit test to check for illegal ValueGeometry comparison Add unit test for conversion of Geometry object into Object Add optional export to MANIFEST.MF for JTS Geometry classes Validate that geometry values can be represented in WKB. Issue 509: Important fix on ValueGeometry, patch by Nicolas Fortin (with some tweaking) Make ValueGeometry#getDimensionCount more reliable. Add unit test to check for illegal ValueGeometry comparison Add unit test for conversion of Geometry object into Object Add optional export to MANIFEST.MF for JTS Geometry classes Validate that geometry values can be represented in WKB.
@changelog_1038_li @changelog_1040_li
Issue 506: RFE: Include Thread.getName() in case of a deadlock Issue 506: RFE: Include Thread.getName() in case of a deadlock
@changelog_1039_li @changelog_1041_li
Adding support for "GRANT ALTER ANY SCHEMA TO &lt;user&gt;", patch by John Yates Adding support for "GRANT ALTER ANY SCHEMA TO &lt;user&gt;", patch by John Yates
@changelog_1040_h2 @changelog_1042_h2
Version 1.3.173 (2013-07-28) Version 1.3.173 (2013-07-28)
@changelog_1041_li @changelog_1043_li
Support empty statements that just contains a comment. Support empty statements that just contains a comment.
@changelog_1042_li @changelog_1044_li
Server mode: if there was an error while reading from a LOB, the session was closed in some cases. Server mode: if there was an error while reading from a LOB, the session was closed in some cases.
@changelog_1043_li @changelog_1045_li
Issue 463: Driver name and version are now the same in OsgiDataSourceFactory and JdbcDatabaseMetaData. Issue 463: Driver name and version are now the same in OsgiDataSourceFactory and JdbcDatabaseMetaData.
@changelog_1044_li @changelog_1046_li
JaQu: The data type VARCHAR is now (again) used for Strings (no longer TEXT, except when explicitly set). JaQu: The data type VARCHAR is now (again) used for Strings (no longer TEXT, except when explicitly set).
@changelog_1045_li @changelog_1047_li
For in-memory databases, creating an index on a CLOB or BLOB column is no longer supported. This is to simplify the MVTableEngine. For in-memory databases, creating an index on a CLOB or BLOB column is no longer supported. This is to simplify the MVTableEngine.
@changelog_1046_li @changelog_1048_li
New column "information_schema.tables.row_count_estimate". New column "information_schema.tables.row_count_estimate".
@changelog_1047_li @changelog_1049_li
Issue 468: trunc(timestamp) could return the wrong value (+12 hours), and trunc(number) throw a NullPointerException. Issue 468: trunc(timestamp) could return the wrong value (+12 hours), and trunc(number) throw a NullPointerException.
@changelog_1048_li @changelog_1050_li
The expression trunc(number) threw a NullPointerException. The expression trunc(number) threw a NullPointerException.
@changelog_1049_li @changelog_1051_li
Fixed a deadlock when updating LOB's concurrently. See TestLob.testDeadlock2(). Fixed a deadlock when updating LOB's concurrently. See TestLob.testDeadlock2().
@changelog_1050_li @changelog_1052_li
Fixed a deadlock related to very large temporary result sets. Fixed a deadlock related to very large temporary result sets.
@changelog_1051_li @changelog_1053_li
Add "-list" command line option to Shell tool so that result-list-mode can be triggered when reading from a file. Add "-list" command line option to Shell tool so that result-list-mode can be triggered when reading from a file.
@changelog_1052_li @changelog_1054_li
Issue 474: H2 MySQL Compatibility code fails to ignore "COMMENT" in CREATE TABLE, patch from Aaron Azeckoski. Issue 474: H2 MySQL Compatibility code fails to ignore "COMMENT" in CREATE TABLE, patch from Aaron Azeckoski.
@changelog_1053_li @changelog_1055_li
Issue 476: Broken link in jaqu.html Issue 476: Broken link in jaqu.html
@changelog_1054_li @changelog_1056_li
Fix potential UTF8 encoding issue in org.h2.store.FileStore, reported by Juerg Spiess. Fix potential UTF8 encoding issue in org.h2.store.FileStore, reported by Juerg Spiess.
@changelog_1055_li @changelog_1057_li
Improve error message when check constraint is broken, test case from Gili (cowwoc). Improve error message when check constraint is broken, test case from Gili (cowwoc).
@changelog_1056_li @changelog_1058_li
Improve error message when we have a unique constraint violation, displays the offending key in the error message. Improve error message when we have a unique constraint violation, displays the offending key in the error message.
@changelog_1057_li @changelog_1059_li
Issue 478: Support for "SHOW TRANSACTION ISOLATION LEVEL", patch from Andrew Franklin. Issue 478: Support for "SHOW TRANSACTION ISOLATION LEVEL", patch from Andrew Franklin.
@changelog_1058_li @changelog_1060_li
Issue 475: PgServer: add support for CancelRequest, patch from Andrew Franklin. Issue 475: PgServer: add support for CancelRequest, patch from Andrew Franklin.
@changelog_1059_li @changelog_1061_li
Issue 473: PgServer missing -key option, patch from Andrew Franklin. Issue 473: PgServer missing -key option, patch from Andrew Franklin.
@changelog_1060_li @changelog_1062_li
Issue 471: CREATE VIEW does not check user rights, patch from Andrew Franklin. Issue 471: CREATE VIEW does not check user rights, patch from Andrew Franklin.
@changelog_1061_li @changelog_1063_li
Issue 477: PgServer binary transmission of query params is unimplemented, patch from Andrew Franklin. Issue 477: PgServer binary transmission of query params is unimplemented, patch from Andrew Franklin.
@changelog_1062_li @changelog_1064_li
Issue 479: Support for SUBSTRING without a FROM condition, patch from Andrew Franklin. Issue 479: Support for SUBSTRING without a FROM condition, patch from Andrew Franklin.
@changelog_1063_li @changelog_1065_li
Issue 472: PgServer does not work with any recent Postgres JDBC driver, patch from Andrew Franklin. Issue 472: PgServer does not work with any recent Postgres JDBC driver, patch from Andrew Franklin.
@changelog_1064_li @changelog_1066_li
Add syntax for passing additional parameters into custom TableEngine implementations. Add syntax for passing additional parameters into custom TableEngine implementations.
@changelog_1065_li @changelog_1067_li
Issue 480: Bugfix post issue 475, 477, patch from Andrew Franklin. Issue 480: Bugfix post issue 475, 477, patch from Andrew Franklin.
@changelog_1066_li @changelog_1068_li
Issue 481: Further extensions to PgServer to support better support PG JDBC, patch from Andrew Franklin. Issue 481: Further extensions to PgServer to support better support PG JDBC, patch from Andrew Franklin.
@changelog_1067_li @changelog_1069_li
Add support for spatial datatype GEOMETRY. Add support for spatial datatype GEOMETRY.
@changelog_1068_li @changelog_1070_li
Add support for in-memory spatial index. Add support for in-memory spatial index.
@changelog_1069_li @changelog_1071_li
change the PageStore#changeCount field from an int to a long, to cope with databases with very high transaction rates. change the PageStore#changeCount field from an int to a long, to cope with databases with very high transaction rates.
@changelog_1070_li @changelog_1072_li
Fix a NullPointerException when attempting to add foreign key reference to a view. Fix a NullPointerException when attempting to add foreign key reference to a view.
@changelog_1071_li @changelog_1073_li
Add sufficient ClientInfo support to our javax.sql.Connection implementation to make WebSphere happy. Add sufficient ClientInfo support to our javax.sql.Connection implementation to make WebSphere happy.
@changelog_1072_li @changelog_1074_li
Issue 482: class LobStorageBackend$LobInputStream does not override the method InputStream.available(). Issue 482: class LobStorageBackend$LobInputStream does not override the method InputStream.available().
@changelog_1073_li @changelog_1075_li
Fix corruption resulting from a mix of the "WRITE_DELAY=0" option and "SELECT DISTINCT" queries that don't fit in memory. Fix corruption resulting from a mix of the "WRITE_DELAY=0" option and "SELECT DISTINCT" queries that don't fit in memory.
@changelog_1074_li @changelog_1076_li
Fix the combination of updating a table which contains an LOB, and reading from the LOB at the same time. Previously it would throw an exception, now it works. Fix the combination of updating a table which contains an LOB, and reading from the LOB at the same time. Previously it would throw an exception, now it works.
@changelog_1075_li @changelog_1077_li
Issue 484: In the H2 Console tool, all schemas starting with "INFO" where hidden. Now they are hidden only if the database is not H2. Patch from "mgcodeact"/"cumer d" Issue 484: In the H2 Console tool, all schemas starting with "INFO" where hidden. Now they are hidden only if the database is not H2. Patch from "mgcodeact"/"cumer d"
@changelog_1076_li @changelog_1078_li
MySQL compatibility, support the "AUTO_INCREMENT=3" part of the CREATE TABLE statement. MySQL compatibility, support the "AUTO_INCREMENT=3" part of the CREATE TABLE statement.
@changelog_1077_li @changelog_1079_li
Issue 486: MySQL compatibility, support the "DEFAULT CHARSET" part of the CREATE TABLE statement. Issue 486: MySQL compatibility, support the "DEFAULT CHARSET" part of the CREATE TABLE statement.
@changelog_1078_li @changelog_1080_li
Issue 487: support the MySQL "SET foreign_key_checks = 0" command Issue 487: support the MySQL "SET foreign_key_checks = 0" command
@changelog_1079_li @changelog_1081_li
Issue 490: support MySQL "USING BTREE" index declaration Issue 490: support MySQL "USING BTREE" index declaration
@changelog_1080_li @changelog_1082_li
Issue 485: Database get corrupted when column is renamed for which check constraint was defined inside create table statement. Issue 485: Database get corrupted when column is renamed for which check constraint was defined inside create table statement.
@changelog_1081_li @changelog_1083_li
Issue 499: support MySQL "UNIQUE KEY (ID) USING BTREE" constraint syntax Issue 499: support MySQL "UNIQUE KEY (ID) USING BTREE" constraint syntax
@changelog_1082_li @changelog_1084_li
Issue 501: "CREATE TABLE .. WITH" not serialized, patch from nico.devel Issue 501: "CREATE TABLE .. WITH" not serialized, patch from nico.devel
@changelog_1083_li @changelog_1085_li
Avoid problems with runtime-compiled ALIAS methods when people have set the JAVA_TOOL_OPTIONS environment variable. Avoid problems with runtime-compiled ALIAS methods when people have set the JAVA_TOOL_OPTIONS environment variable.
@changelog_1084_h2 @changelog_1086_h2
Version 1.3.172 (2013-05-25) Version 1.3.172 (2013-05-25)
@changelog_1085_li @changelog_1087_li
Referential integrity: when adding a referential integrity constraint failed, and if creating the constraint automatically created an index, this index was not removed. Referential integrity: when adding a referential integrity constraint failed, and if creating the constraint automatically created an index, this index was not removed.
@changelog_1086_li @changelog_1088_li
The auto-analyze feature now only reads 1000 rows per table instead of 10000. The auto-analyze feature now only reads 1000 rows per table instead of 10000.
@changelog_1087_li @changelog_1089_li
The optimization for IN(...) queries combined with OR could result in a strange exception of the type "column x must be included in the group by list". The optimization for IN(...) queries combined with OR could result in a strange exception of the type "column x must be included in the group by list".
@changelog_1088_li @changelog_1090_li
Issue 454: Use Charset for type-safety. Issue 454: Use Charset for type-safety.
@changelog_1089_li @changelog_1091_li
Queries with both LIMIT and OFFSET could throw an IllegalArgumentException. Queries with both LIMIT and OFFSET could throw an IllegalArgumentException.
@changelog_1090_li @changelog_1092_li
MVStore: multiple issues were fixed: 460, 461, 462, 464, 466. MVStore: multiple issues were fixed: 460, 461, 462, 464, 466.
@changelog_1091_li @changelog_1093_li
MVStore: larger stores (multiple GB) are now much faster. MVStore: larger stores (multiple GB) are now much faster.
@changelog_1092_li @changelog_1094_li
When using local temporary tables and not dropping them manually before closing the session, and then killing the process could result in a database that couldn't be opened (except when using the recover tool). When using local temporary tables and not dropping them manually before closing the session, and then killing the process could result in a database that couldn't be opened (except when using the recover tool).
@changelog_1093_li @changelog_1095_li
Support TRUNC(timestamp) for improved Oracle compatibility. Support TRUNC(timestamp) for improved Oracle compatibility.
@changelog_1094_li @changelog_1096_li
Add support for CREATE TABLE TEST (ID BIGSERIAL) for PostgreSQL compatibility. Patch from Jesse Long. Add support for CREATE TABLE TEST (ID BIGSERIAL) for PostgreSQL compatibility. Patch from Jesse Long.
@changelog_1095_li @changelog_1097_li
Add new collation command SET BINARY_COLLATION UNSIGNED, helps with people testing BINARY columns in MySQL mode. Add new collation command SET BINARY_COLLATION UNSIGNED, helps with people testing BINARY columns in MySQL mode.
@changelog_1096_li @changelog_1098_li
Issue 453: ABBA race conditions in TABLE LINK connection sharing. Issue 453: ABBA race conditions in TABLE LINK connection sharing.
@changelog_1097_li @changelog_1099_li
Issue 449: Postgres Serial data type should not automatically be marked as primary key Issue 449: Postgres Serial data type should not automatically be marked as primary key
@changelog_1098_li @changelog_1100_li
Issue 406: Support "select h2version()" Issue 406: Support "select h2version()"
@changelog_1099_li @changelog_1101_li
Issue 389: When there is a multi-column primary key, H2 does not seem to always pick the right index Issue 389: When there is a multi-column primary key, H2 does not seem to always pick the right index
@changelog_1100_li @changelog_1102_li
Issue 305: Implement SELECT ... FOR FETCH ONLY Issue 305: Implement SELECT ... FOR FETCH ONLY
@changelog_1101_li @changelog_1103_li
Issue 274: Sybase/MSSQLServer compatibility - Add GETDATE and CHARINDEX system functions Issue 274: Sybase/MSSQLServer compatibility - Add GETDATE and CHARINDEX system functions
@changelog_1102_li @changelog_1104_li
Issue 274: Sybase/MSSQLServer compatibility - swap parameters of CONVERT function. Issue 274: Sybase/MSSQLServer compatibility - swap parameters of CONVERT function.
@changelog_1103_li @changelog_1105_li
Issue 274: Sybase/MSSQLServer compatibility - support index clause e.g. "select * from test (index table1_index)" Issue 274: Sybase/MSSQLServer compatibility - support index clause e.g. "select * from test (index table1_index)"
@changelog_1104_li @changelog_1106_li
Fix bug in Optimizing SELECT * FROM A WHERE X=1 OR X=2 OR X=3 into SELECT * FROM A WHERE X IN (1,2,3) Fix bug in Optimizing SELECT * FROM A WHERE X=1 OR X=2 OR X=3 into SELECT * FROM A WHERE X IN (1,2,3)
@changelog_1105_li @changelog_1107_li
Issue 442: Groovy patch for SourceCompiler (function ALIAS) Issue 442: Groovy patch for SourceCompiler (function ALIAS)
@changelog_1106_li @changelog_1108_li
Issue 459: Improve LOB documentation Issue 459: Improve LOB documentation
@changelog_1107_h2 @changelog_1109_h2
Version 1.3.171 (2013-03-17) Version 1.3.171 (2013-03-17)
@changelog_1108_li @changelog_1110_li
Security: the TCP server did not correctly restrict access rights of clients in some cases. This was specially a problem when using the flag "tcpAllowOthers". Security: the TCP server did not correctly restrict access rights of clients in some cases. This was specially a problem when using the flag "tcpAllowOthers".
@changelog_1109_li @changelog_1111_li
H2 Console: the session timeout can now be configured using the system property "h2.consoleTimeout". H2 Console: the session timeout can now be configured using the system property "h2.consoleTimeout".
@changelog_1110_li @changelog_1112_li
Issue 431: Improved compatibility with MySQL: support for "ENGINE=InnoDB charset=UTF8" when creating a table. Issue 431: Improved compatibility with MySQL: support for "ENGINE=InnoDB charset=UTF8" when creating a table.
@changelog_1111_li @changelog_1113_li
Issue 249: Improved compatibility with MySQL in the MySQL mode: now the methods DatabaseMetaData methods stores*Case*Identifiers return the same as MySQL when using the MySQL mode. Issue 249: Improved compatibility with MySQL in the MySQL mode: now the methods DatabaseMetaData methods stores*Case*Identifiers return the same as MySQL when using the MySQL mode.
@changelog_1112_li @changelog_1114_li
Issue 434: H2 Console didn't work in the Chrome browser due to a wrong viewport argument. Issue 434: H2 Console didn't work in the Chrome browser due to a wrong viewport argument.
@changelog_1113_li @changelog_1115_li
There was a possibility that the .lock.db file was not deleted when the database was closed, which could slow down opening the database. There was a possibility that the .lock.db file was not deleted when the database was closed, which could slow down opening the database.
@changelog_1114_li @changelog_1116_li
The SQL script generated by the "script" command contained inconsistent newlines on Windows. The SQL script generated by the "script" command contained inconsistent newlines on Windows.
@changelog_1115_li @changelog_1117_li
When using trace level 4 (SLF4J) in the server mode, a directory "trace.db" and an empty file was created on the client side. This is no longer made. When using trace level 4 (SLF4J) in the server mode, a directory "trace.db" and an empty file was created on the client side. This is no longer made.
@changelog_1116_li @changelog_1118_li
Optimize IN(...) queries: there was a bug in version 1.3.170 if the type of the left hand side didn't match the type of the right hand side. Fixed. Optimize IN(...) queries: there was a bug in version 1.3.170 if the type of the left hand side didn't match the type of the right hand side. Fixed.
@changelog_1117_li @changelog_1119_li
Optimize IN(...) queries: there was a bug in version 1.3.170 for comparison of the type "X IN(NULL, NULL)". Fixed. Optimize IN(...) queries: there was a bug in version 1.3.170 for comparison of the type "X IN(NULL, NULL)". Fixed.
@changelog_1118_li @changelog_1120_li
Timestamps with timezone that were passed as a string were not always converted correctly. For example "2012-11-06T23:00:00.000Z" was converted to "2012-11-06" instead of to "2012-11-07" in the timezone CET. Thanks a lot to Steve Hruda for reporting the problem! Timestamps with timezone that were passed as a string were not always converted correctly. For example "2012-11-06T23:00:00.000Z" was converted to "2012-11-06" instead of to "2012-11-07" in the timezone CET. Thanks a lot to Steve Hruda for reporting the problem!
@changelog_1119_li @changelog_1121_li
New table engine "org.h2.mvstore.db.MVTableEngine" that internally uses the MVStore to persist data. To try it out, append ";DEFAULT_TABLE_ENGINE=org.h2.mvstore.db.MVTableEngine" to the database URL. This is still very experimental, and many features are not supported yet. The data is stored in a file with the suffix ".mv.db". New table engine "org.h2.mvstore.db.MVTableEngine" that internally uses the MVStore to persist data. To try it out, append ";DEFAULT_TABLE_ENGINE=org.h2.mvstore.db.MVTableEngine" to the database URL. This is still very experimental, and many features are not supported yet. The data is stored in a file with the suffix ".mv.db".
@changelog_1120_li @changelog_1122_li
New connection setting "DEFAULT_TABLE_ENGINE" to use a specific table engine if none is set explicitly. This is to simplify testing the MVStore table engine. New connection setting "DEFAULT_TABLE_ENGINE" to use a specific table engine if none is set explicitly. This is to simplify testing the MVStore table engine.
@changelog_1121_li @changelog_1123_li
MVStore: encrypted stores are now supported. Only standardized algorithms are used: PBKDF2, SHA-256, XTS-AES, AES-128. MVStore: encrypted stores are now supported. Only standardized algorithms are used: PBKDF2, SHA-256, XTS-AES, AES-128.
@changelog_1122_li @changelog_1124_li
MVStore: improved API thanks to Simo Tripodi. MVStore: improved API thanks to Simo Tripodi.
@changelog_1123_li @changelog_1125_li
MVStore: maps can now be renamed. MVStore: maps can now be renamed.
@changelog_1124_li @changelog_1126_li
MVStore: store the file header also at the end of each chunk, which results in a further reduced number of write operations. MVStore: store the file header also at the end of each chunk, which results in a further reduced number of write operations.
@changelog_1125_li @changelog_1127_li
MVStore: a map implementation that supports concurrent operations. MVStore: a map implementation that supports concurrent operations.
@changelog_1126_li @changelog_1128_li
MVStore: unified exception handling; the version is included in the messages. MVStore: unified exception handling; the version is included in the messages.
@changelog_1127_li @changelog_1129_li
MVStore: old data is now retained for 45 seconds by default. MVStore: old data is now retained for 45 seconds by default.
@changelog_1128_li @changelog_1130_li
MVStore: compress is now disabled by default, and can be enabled on request. MVStore: compress is now disabled by default, and can be enabled on request.
@changelog_1129_li @changelog_1131_li
Support ALTER TABLE ADD ... AFTER. Patch from Andrew Gaul (argaul at gmail.com). Fixes issue 401. Support ALTER TABLE ADD ... AFTER. Patch from Andrew Gaul (argaul at gmail.com). Fixes issue 401.
@changelog_1130_li @changelog_1132_li
Improved OSGi support. H2 now registers itself as a DataSourceFactory service. Fixes issue 365. Improved OSGi support. H2 now registers itself as a DataSourceFactory service. Fixes issue 365.
@changelog_1131_li @changelog_1133_li
Add a DISK_SPACE_USED system function. Fixes issue 270. Add a DISK_SPACE_USED system function. Fixes issue 270.
@changelog_1132_li @changelog_1134_li
Fix a compile-time ambiguity when compiling with JDK7, thanks to a patch from Lukas Eder. Fix a compile-time ambiguity when compiling with JDK7, thanks to a patch from Lukas Eder.
@changelog_1133_li @changelog_1135_li
Supporting dropping an index for Lucene full-text indexes. Supporting dropping an index for Lucene full-text indexes.
@changelog_1134_li @changelog_1136_li
Optimized performance for SELECT ... ORDER BY X LIMIT Y OFFSET Z queries for in-memory databases using partial sort (by Sergi Vladykin). Optimized performance for SELECT ... ORDER BY X LIMIT Y OFFSET Z queries for in-memory databases using partial sort (by Sergi Vladykin).
@changelog_1135_li @changelog_1137_li
Experimental off-heap memory storage engine "nioMemFS:" and "nioMemLZF:", suggestion from Mark Addleman. Experimental off-heap memory storage engine "nioMemFS:" and "nioMemLZF:", suggestion from Mark Addleman.
@changelog_1136_li @changelog_1138_li
Issue 438: JdbcDatabaseMetaData.getSchemas() is no longer supported as of 1.3.169. Issue 438: JdbcDatabaseMetaData.getSchemas() is no longer supported as of 1.3.169.
@changelog_1137_li @changelog_1139_li
MySQL compatibility: support for ALTER TABLE tableName MODIFY [COLUMN] columnName columnDef. Patch from Ville Koskela. MySQL compatibility: support for ALTER TABLE tableName MODIFY [COLUMN] columnName columnDef. Patch from Ville Koskela.
@changelog_1138_li @changelog_1140_li
Issue 404: SHOW COLUMNS FROM tableName does not work with ALLOW_LITERALS=NUMBERS. Issue 404: SHOW COLUMNS FROM tableName does not work with ALLOW_LITERALS=NUMBERS.
@changelog_1139_li @changelog_1141_li
Throw an explicit error to make it clear we don't support the TRIGGER combination of SELECT and FOR EACH ROW. Throw an explicit error to make it clear we don't support the TRIGGER combination of SELECT and FOR EACH ROW.
@changelog_1140_li @changelog_1142_li
Issue 439: Utils.sortTopN does not handle single-element arrays. Issue 439: Utils.sortTopN does not handle single-element arrays.
@changelog_1141_h2 @changelog_1143_h2
Version 1.3.170 (2012-11-30) Version 1.3.170 (2012-11-30)
@changelog_1142_li @changelog_1144_li
Issue 407: The TriggerAdapter didn't work with CLOB and BLOB columns. Issue 407: The TriggerAdapter didn't work with CLOB and BLOB columns.
@changelog_1143_li @changelog_1145_li
PostgreSQL compatibility: support for data types BIGSERIAL and SERIAL as an alias for AUTO_INCREMENT. PostgreSQL compatibility: support for data types BIGSERIAL and SERIAL as an alias for AUTO_INCREMENT.
@changelog_1144_li @changelog_1146_li
Issue 417: H2 Console: the web session timeout didn't work, resulting in a memory leak. This was only a problem if the H2 Console was run for a long time and many sessions were opened. Issue 417: H2 Console: the web session timeout didn't work, resulting in a memory leak. This was only a problem if the H2 Console was run for a long time and many sessions were opened.
@changelog_1145_li @changelog_1147_li
Issue 412: Running the Server tool with just the option "-browser" will now log a warning. Issue 412: Running the Server tool with just the option "-browser" will now log a warning.
@changelog_1146_li @changelog_1148_li
Issue 411: CloseWatcher registration was not concurrency-safe. Issue 411: CloseWatcher registration was not concurrency-safe.
@changelog_1147_li @changelog_1149_li
MySQL compatibility: support for CONCAT_WS. Thanks a lot to litailang for the patch! MySQL compatibility: support for CONCAT_WS. Thanks a lot to litailang for the patch!
@changelog_1148_li @changelog_1150_li
PostgreSQL compatibility: support for EXTRACT(WEEK FROM dateColumn). Thanks to Prashant Bhat for the patch! PostgreSQL compatibility: support for EXTRACT(WEEK FROM dateColumn). Thanks to Prashant Bhat for the patch!
@changelog_1149_li @changelog_1151_li
Fix for a bug where we would sometimes use the wrong unique constraint to validate foreign key constraints. Fix for a bug where we would sometimes use the wrong unique constraint to validate foreign key constraints.
@changelog_1150_li @changelog_1152_li
Support BOM at the beginning of files for the RUNSCRIPT command Support BOM at the beginning of files for the RUNSCRIPT command
@changelog_1151_li @changelog_1153_li
Fix in calling SET @X = IDENTITY() where it would return NULL incorrectly Fix in calling SET @X = IDENTITY() where it would return NULL incorrectly
@changelog_1152_li @changelog_1154_li
Fix ABBA deadlock between adding a constraint and the H2-Log-Writer thread. Fix ABBA deadlock between adding a constraint and the H2-Log-Writer thread.
@changelog_1153_li @changelog_1155_li
Optimize IN(...) queries where the values are constant and of the same type. Optimize IN(...) queries where the values are constant and of the same type.
@changelog_1154_li @changelog_1156_li
Restore tool: the parameter "quiet" was not used and is now removed. Restore tool: the parameter "quiet" was not used and is now removed.
@changelog_1155_li @changelog_1157_li
Fix ConcurrentModificationException when creating tables and executing SHOW TABLES in parallel. Reported by Viktor Voytovych. Fix ConcurrentModificationException when creating tables and executing SHOW TABLES in parallel. Reported by Viktor Voytovych.
@changelog_1156_li @changelog_1158_li
Serialization is now pluggable using the system property "h2.javaObjectSerializer". Thanks to Sergi Vladykin for the patch! Serialization is now pluggable using the system property "h2.javaObjectSerializer". Thanks to Sergi Vladykin for the patch!
@changelog_1157_h2 @changelog_1159_h2
Version 1.3.169 (2012-09-09) Version 1.3.169 (2012-09-09)
@changelog_1158_li @changelog_1160_li
The default jar file is now compiled for Java 6. The default jar file is now compiled for Java 6.
@changelog_1159_li @changelog_1161_li
The new jar file will probably not end up in the central Maven repository in the next few weeks because Sonatype has disabled automatic synchronization from SourceForge (which they call 'legacy sync' now). It will probably take some time until this is sorted out. The H2 jar files are deployed to http://h2database.com/m2-repo/com/h2database/h2/maven-metadata.xml and http://hsql.sourceforge.net/m2-repo/com/h2database/h2/maven-metadata.xml as usual. The new jar file will probably not end up in the central Maven repository in the next few weeks because Sonatype has disabled automatic synchronization from SourceForge (which they call 'legacy sync' now). It will probably take some time until this is sorted out. The H2 jar files are deployed to http://h2database.com/m2-repo/com/h2database/h2/maven-metadata.xml and http://hsql.sourceforge.net/m2-repo/com/h2database/h2/maven-metadata.xml as usual.
@changelog_1160_li @changelog_1162_li
A part of the documentation and the H2 Console has been changed to support the Apple retina display. A part of the documentation and the H2 Console has been changed to support the Apple retina display.
@changelog_1161_li @changelog_1163_li
The CreateCluster tool could not be used if the source database contained a CLOB or BLOB. The root cause was that the TCP server did not synchronize on the session, which caused a problem when using the exclusive mode. The CreateCluster tool could not be used if the source database contained a CLOB or BLOB. The root cause was that the TCP server did not synchronize on the session, which caused a problem when using the exclusive mode.
@changelog_1162_li @changelog_1164_li
Statement.getQueryTimeout(): only the first call to this method will query the database. If the query timeout was changed in another way than calling setQueryTimeout, this method will always return the last value. This was changed because Hibernate calls getQueryTimeout() a lot. Statement.getQueryTimeout(): only the first call to this method will query the database. If the query timeout was changed in another way than calling setQueryTimeout, this method will always return the last value. This was changed because Hibernate calls getQueryTimeout() a lot.
@changelog_1163_li @changelog_1165_li
Issue 416: PreparedStatement.setNString throws AbstractMethodError. All implemented JDBC 4 methods that don't break compatibility with Java 5 are now included in the default jar file. Issue 416: PreparedStatement.setNString throws AbstractMethodError. All implemented JDBC 4 methods that don't break compatibility with Java 5 are now included in the default jar file.
@changelog_1164_li @changelog_1166_li
Issue 414: for some functions, the parameters were evaluated twice (for example "char(nextval(..))" ran "nextval(..)" twice). Issue 414: for some functions, the parameters were evaluated twice (for example "char(nextval(..))" ran "nextval(..)" twice).
@changelog_1165_li @changelog_1167_li
The ResultSetMetaData methods getSchemaName and getTableName could return null instead of "" (an empty string) as specified in the JDBC API. The ResultSetMetaData methods getSchemaName and getTableName could return null instead of "" (an empty string) as specified in the JDBC API.
@changelog_1166_li @changelog_1168_li
Added compatibility for "SET NAMES" query in MySQL compatibility mode. Added compatibility for "SET NAMES" query in MySQL compatibility mode.
@changelog_1167_h2 @changelog_1169_h2
Version 1.3.168 (2012-07-13) Version 1.3.168 (2012-07-13)
@changelog_1168_li @changelog_1170_li
The message "Transaction log could not be truncated" was sometimes written to the .trace.db file even if there was no problem truncating the transaction log. The message "Transaction log could not be truncated" was sometimes written to the .trace.db file even if there was no problem truncating the transaction log.
@changelog_1169_li @changelog_1171_li
New system property "h2.serializeJavaObject" (default: true) that allows to disable serializing Java objects, so that the objects compareTo and toString methods can be used. New system property "h2.serializeJavaObject" (default: true) that allows to disable serializing Java objects, so that the objects compareTo and toString methods can be used.
@changelog_1170_li @changelog_1172_li
Dylan has translated the H2 Console tool to Korean. Thanks a lot! Dylan has translated the H2 Console tool to Korean. Thanks a lot!
@changelog_1171_li @changelog_1173_li
Executing the statement CREATE INDEX IF ALREADY EXISTS if the index already exists no longer fails for a read only database. Executing the statement CREATE INDEX IF ALREADY EXISTS if the index already exists no longer fails for a read only database.
@changelog_1172_li @changelog_1174_li
MVCC: concurrently updating a row could result in the row to appear deleted in the second connection, if there are multiple unique indexes (or a primary key and at least one unique index). Thanks a lot to Teruo for the patch! MVCC: concurrently updating a row could result in the row to appear deleted in the second connection, if there are multiple unique indexes (or a primary key and at least one unique index). Thanks a lot to Teruo for the patch!
@changelog_1173_li @changelog_1175_li
Fulltext search: in-memory Lucene indexes are now supported. Fulltext search: in-memory Lucene indexes are now supported.
@changelog_1174_li @changelog_1176_li
Fulltext search: UUID primary keys are now supported. Fulltext search: UUID primary keys are now supported.
@changelog_1175_li @changelog_1177_li
Apache Tomcat 7.x will now longer log a warning when unloading the web application, if using a connection pool. Apache Tomcat 7.x will now longer log a warning when unloading the web application, if using a connection pool.
@changelog_1176_li @changelog_1178_li
H2 Console: support the Midori browser (for Debian / Raspberry Pi) H2 Console: support the Midori browser (for Debian / Raspberry Pi)
@changelog_1177_li @changelog_1179_li
When opening a remote session, don't open a temporary file if the trace level is set to zero When opening a remote session, don't open a temporary file if the trace level is set to zero
@changelog_1178_li @changelog_1180_li
Use HMAC for authenticating remote LOB id's, removing the need for maintaining a cache, and removing the limit on the number of LOBs per result set. Use HMAC for authenticating remote LOB id's, removing the need for maintaining a cache, and removing the limit on the number of LOBs per result set.
@changelog_1179_li @changelog_1181_li
H2 Console: HTML and XML documents can now be edited in an updatable result set. There is (limited) support for editing multi-line documents. H2 Console: HTML and XML documents can now be edited in an updatable result set. There is (limited) support for editing multi-line documents.
@changelog_1180_h2 @changelog_1182_h2
Version 1.3.167 (2012-05-23) Version 1.3.167 (2012-05-23)
@changelog_1181_li @changelog_1183_li
H2 Console: when editing a row, an empty varchar column was replaced with a single space. H2 Console: when editing a row, an empty varchar column was replaced with a single space.
@changelog_1182_li @changelog_1184_li
Lukas Eder has updated the jOOQ documentation. Lukas Eder has updated the jOOQ documentation.
@changelog_1183_li @changelog_1185_li
Some nested joins could not be executed, for example: select * from (select * from (select * from a) a right join b b) c; Some nested joins could not be executed, for example: select * from (select * from (select * from a) a right join b b) c;
@changelog_1184_li @changelog_1186_li
MS SQL Server compatibility: ISNULL is now an alias for IFNULL. MS SQL Server compatibility: ISNULL is now an alias for IFNULL.
@changelog_1185_li @changelog_1187_li
Terrence Huang has completed the translation of the H2 Console tool to Chinese. Thanks a lot! Terrence Huang has completed the translation of the H2 Console tool to Chinese. Thanks a lot!
@changelog_1186_li @changelog_1188_li
Server mode: the number of CLOB / BLOB values that were cached on the server is now the maximum of: 5 times the SERVER_RESULT_SET_FETCH_SIZE (which is 100 by default), and SysProperties.SERVER_CACHED_OBJECTS. Server mode: the number of CLOB / BLOB values that were cached on the server is now the maximum of: 5 times the SERVER_RESULT_SET_FETCH_SIZE (which is 100 by default), and SysProperties.SERVER_CACHED_OBJECTS.
@changelog_1187_li @changelog_1189_li
In the trace file, the query execution time was incorrect in some cases, specially for the statement SET TRACE_LEVEL_FILE 2. In the trace file, the query execution time was incorrect in some cases, specially for the statement SET TRACE_LEVEL_FILE 2.
@changelog_1188_li @changelog_1190_li
The feature LOG_SIZE_LIMIT that was introduced in version 1.3.165 did not always work correctly (specially with regards to multithreading) and has been removed. The message "Transaction log could not be truncated" is still written to the .trace.db file if required. The feature LOG_SIZE_LIMIT that was introduced in version 1.3.165 did not always work correctly (specially with regards to multithreading) and has been removed. The message "Transaction log could not be truncated" is still written to the .trace.db file if required.
@changelog_1189_li @changelog_1191_li
Then reading from a resource using the prefix "classpath:", the ContextClassLoader is now used if the resource can't be read otherwise. Then reading from a resource using the prefix "classpath:", the ContextClassLoader is now used if the resource can't be read otherwise.
@changelog_1190_li @changelog_1192_li
DatabaseEventListener now calls setProgress whenever a statement starts and ends. DatabaseEventListener now calls setProgress whenever a statement starts and ends.
@changelog_1191_li @changelog_1193_li
DatabaseEventListener now calls setProgress periodically while a statement is running. DatabaseEventListener now calls setProgress periodically while a statement is running.
@changelog_1192_li @changelog_1194_li
The table INFORMATION_SCHEMA.FUNCTION_ALIASES now includes a column TYPE_NAME. The table INFORMATION_SCHEMA.FUNCTION_ALIASES now includes a column TYPE_NAME.
@changelog_1193_li @changelog_1195_li
Issue 378: when using views, the wrong values were bound to a parameter in some cases. Issue 378: when using views, the wrong values were bound to a parameter in some cases.
@changelog_1194_li @changelog_1196_li
Terrence Huang has translated the error messages to Chinese. Thanks a lot! Terrence Huang has translated the error messages to Chinese. Thanks a lot!
@changelog_1195_li @changelog_1197_li
TRUNC was added as an alias for TRUNCATE. TRUNC was added as an alias for TRUNCATE.
@changelog_1196_li @changelog_1198_li
Small optimisation for accessing result values by column name. Small optimisation for accessing result values by column name.
@changelog_1197_li @changelog_1199_li
Fix for bug in Statement.getMoreResults(int) Fix for bug in Statement.getMoreResults(int)
@changelog_1198_li
The SCRIPT statements now supports filtering by schema and table. Thanks a lot to Jacob Qvortrup for providing the patch!
@changelog_1199_h2
Version 1.3.166 (2012-04-08)
@changelog_1200_li @changelog_1200_li
Indexes on column that are larger than half the page size (wide indexes) could sometimes get corrupt, resulting in an ArrayIndexOutOfBoundsException in PageBtree.getRow or "Row not found" in PageBtreeLeaf. Also, such indexes used too much disk space. The SCRIPT statements now supports filtering by schema and table. Thanks a lot to Jacob Qvortrup for providing the patch!
@changelog_1201_li
Server mode: when retrieving more than 64 rows each containing a CLOB or BLOB, the error message "The object is already closed" was thrown.
@changelog_1202_li
ConvertTraceFile: the time in the trace file is now parsed as a long.
@changelog_1203_li
Invalid connection settings are now detected.
@changelog_1204_li
Issue 387: WHERE condition getting pushed into sub-query with LIMIT.
@changelog_1205_h2
Version 1.3.165 (2012-03-18)
@changelog_1206_li
Better string representation for decimal values (for example 0.00000000 instead of 0E-26).
@changelog_1207_li
Prepared statements could only be re-used if the same data types were used the second time they were executed.
@changelog_1208_li
In error messages about referential constraint violation, the values are now included.
@changelog_1209_li
SCRIPT and RUNSCRIPT: the password can now be set using a prepared statement. Previously, it was required to be a literal in the SQL statement.
@changelog_1210_li
MySQL compatibility: SUBSTR with a negative start index now works like MySQL.
@changelog_1211_li
When enabling autocommit, the transaction is now committed (as required by the JDBC API).
@changelog_1212_li
The shell script <code>h2.sh</code> did not work with spaces in the path. It also works now with quoted spaces in the argument list. Thanks a lot to Shimizu Fumiyuki for the patch!
@changelog_1213_li
If the transaction log could not be truncated because of an uncommitted transaction, now "Transaction log could not be truncated" is written to the .trace.db file. Before, the database file was growing and it was hard to find out what the root cause was. To avoid the database file from growing, a new feature to automatically rollback the oldest transaction is available now. To enable it, append ;LOG_SIZE_LIMIT=32 to the database URL (in that case, the oldest session is rolled back if the transaction log is 32 MB).
@changelog_1214_li
ALTER TABLE ADD can now add more than one column at a time.
@changelog_1215_li
Issue 380: ALTER TABLE ADD FOREIGN KEY with an explicit index didn't verify the index can be used, which would lead to a NullPointerException later on.
@changelog_1216_li
Issue 384: the wrong kind of exception (NullPointerException) was thrown in a UNION query with an incorrect ORDER BY expression.
@changelog_1217_li
Issue 362: support LIMIT in UPDATE statements.
@changelog_1218_li
Browser: if no default browser is set, Google Chrome is now used if available. If not available, then Konqueror, Netscape, or Opera is used if available (as before).
@changelog_1219_li
CSV tool: new feature to disable writing the column header (option writeColumnHeader).
@changelog_1220_li
CSV tool: new feature to preserve the case sensitivity of column names (option caseSensitiveColumnNames).
@changelog_1221_li
PostgreSQL compatibility: LOG(x) is base 10 in the PostgreSQL mode.
@cheatSheet_1000_h1 @cheatSheet_1000_h1
H2 Database Engine Cheat Sheet H2 Database Engine Cheat Sheet
...@@ -2546,7 +2483,7 @@ H2 ...@@ -2546,7 +2483,7 @@ H2
Download Download
@cheatSheet_1005_li @cheatSheet_1005_li
: <a href="http://repo1.maven.org/maven2/com/h2database/h2/1.3.173/h2-1.3.173.jar" class="link">jar</a>, <a href="http://www.h2database.com/h2-setup-2013-07-28.exe" class="link">installer (Windows)</a>, <a href="http://www.h2database.com/h2-2013-07-28.zip" class="link">zip</a>. : <a href="http://repo1.maven.org/maven2/com/h2database/h2/1.3.174/h2-1.3.174.jar" class="link">jar</a>, <a href="http://www.h2database.com/h2-setup-2013-10-19.exe" class="link">installer (Windows)</a>, <a href="http://www.h2database.com/h2-2013-10-19.zip" class="link">zip</a>.
@cheatSheet_1006_li @cheatSheet_1006_li
To start the <a href="quickstart.html#h2_console">H2 Console tool</a>, double click the jar file, or run <code>java -jar h2*.jar</code>, <code>h2.bat</code>, or <code>h2.sh</code>. To start the <a href="quickstart.html#h2_console">H2 Console tool</a>, double click the jar file, or run <code>java -jar h2*.jar</code>, <code>h2.bat</code>, or <code>h2.sh</code>.
...@@ -2684,7 +2621,7 @@ database.H2Platform ...@@ -2684,7 +2621,7 @@ database.H2Platform
Downloads Downloads
@download_1001_h3 @download_1001_h3
Version 1.3.173 (2013-07-28) Version 1.3.174 (2013-10-19)
@download_1002_a @download_1002_a
Windows Installer Windows Installer
...@@ -2693,7 +2630,7 @@ Windows Installer ...@@ -2693,7 +2630,7 @@ Windows Installer
Platform-Independent Zip Platform-Independent Zip
@download_1004_h3 @download_1004_h3
Version 1.3.172 (2013-05-25), Last Stable Version 1.3.173 (2013-07-28), Last Stable
@download_1005_a @download_1005_a
Windows Installer Windows Installer
...@@ -6911,7 +6848,7 @@ Small footprint: around 1.5 MB jar file size ...@@ -6911,7 +6848,7 @@ Small footprint: around 1.5 MB jar file size
Download Download
@mainWeb_1007_td @mainWeb_1007_td
Version 1.3.173 (2013-07-28) Version 1.3.174 (2013-10-19)
@mainWeb_1008_a @mainWeb_1008_a
Windows Installer (4 MB) Windows Installer (4 MB)
...@@ -7514,7 +7451,7 @@ Requirements ...@@ -7514,7 +7451,7 @@ Requirements
To build just the MVStore (without the database engine), run: To build just the MVStore (without the database engine), run:
@mvstore_1125_p @mvstore_1125_p
This will create the file <code>bin/h2mvstore-1.3.173.jar</code> (about 130 KB). This will create the file <code>bin/h2mvstore-1.3.174.jar</code> (about 130 KB).
@performance_1000_h1 @performance_1000_h1
Performance Performance
......
...@@ -1871,664 +1871,601 @@ Centralリ�?ジトリ�?�利用 ...@@ -1871,664 +1871,601 @@ Centralリ�?ジトリ�?�利用
#Next Version (unreleased) #Next Version (unreleased)
@changelog_1002_li @changelog_1002_li
#-
@changelog_1003_h2
#Version 1.3.174 (2013-10-19)
@changelog_1004_li
#LIRS cache: bugfix for caches that only contain non-resident entries. #LIRS cache: bugfix for caches that only contain non-resident entries.
@changelog_1003_li @changelog_1005_li
#For in-memory databases, queries with a "group by" column that is also a hash index threw a RuntimeException. #For in-memory databases, queries with a "group by" column that is also a hash index threw a RuntimeException.
@changelog_1004_li @changelog_1006_li
#Improved error message for some syntax errors. #Improved error message for some syntax errors.
@changelog_1005_li @changelog_1007_li
#File system abstraction: if used directly, some file systems did not work correctly with spliced byte buffers (the database engine doesn't use those). #File system abstraction: if used directly, some file systems did not work correctly with spliced byte buffers (the database engine doesn't use those).
@changelog_1006_li @changelog_1008_li
#To use the MVStore storage engine (which is still work in progress), append ";mv_store=true" to the database URL. Using the MVTableEngine when creating the table is no longer recommended. #To use the MVStore storage engine (which is still work in progress), append ";mv_store=true" to the database URL. Using the MVTableEngine when creating the table is no longer recommended.
@changelog_1007_li @changelog_1009_li
#To compile user defined functions, the javax.tools.JavaCompiler is now used if available, and no temporary files are created. This should solve problems when multiple H2 database concurrently compile the same user defined functions. To disable, system the system property "h2.javaSystemCompiler" to false. #To compile user defined functions, the javax.tools.JavaCompiler is now used if available, and no temporary files are created. This should solve problems when multiple H2 database concurrently compile the same user defined functions. To disable, system the system property "h2.javaSystemCompiler" to false.
@changelog_1008_li @changelog_1010_li
#Concurrently creating function aliases in different databases could result in the exception "javac: file not found". #Concurrently creating function aliases in different databases could result in the exception "javac: file not found".
@changelog_1009_li @changelog_1011_li
#The function "regexp_replace" threw the wrong kind of exception if the replacement string was invalid. #The function "regexp_replace" threw the wrong kind of exception if the replacement string was invalid.
@changelog_1010_li @changelog_1012_li
#A checkpoint is now done every MAX_LOG_SIZE / 2 instead of every MAX_LOG_SIZE, so that the transaction log doesn't grow as large. #A checkpoint is now done every MAX_LOG_SIZE / 2 instead of every MAX_LOG_SIZE, so that the transaction log doesn't grow as large.
@changelog_1011_li @changelog_1013_li
#MVStore table engine: new setting "retention_time" to configure the time to retain old data. The default is 45 seconds. #MVStore table engine: new setting "retention_time" to configure the time to retain old data. The default is 45 seconds.
@changelog_1012_li @changelog_1014_li
#The method TableEngine.createTable() now returns a Table object. #The method TableEngine.createTable() now returns a Table object.
@changelog_1013_li @changelog_1015_li
#For read-only databases, for the trace level "debug", the trace info is written to the temp directory. #For read-only databases, for the trace level "debug", the trace info is written to the temp directory.
@changelog_1014_li @changelog_1016_li
#Closing the file lock will now wait until the background thread is stopped. #Closing the file lock will now wait until the background thread is stopped.
@changelog_1015_li @changelog_1017_li
#In version 1.3.172, a performance regression was introduced when fixing the issue 389 (when there is a multi-column primary key, H2 does not seem to always pick the right index). This was related to boosting an index that matches the "order by" column list (the wrong index was used in some cases). #In version 1.3.172, a performance regression was introduced when fixing the issue 389 (when there is a multi-column primary key, H2 does not seem to always pick the right index). This was related to boosting an index that matches the "order by" column list (the wrong index was used in some cases).
@changelog_1016_li @changelog_1018_li
#Improved spatial index and data type. #Improved spatial index and data type.
@changelog_1017_li @changelog_1019_li
#Issue 467: OSGi Class Loader (ability to create reference to class in other ClassLoader, for example in another OSGi bundle). #Issue 467: OSGi Class Loader (ability to create reference to class in other ClassLoader, for example in another OSGi bundle).
@changelog_1018_li @changelog_1020_li
#Queries "group by" that contain a subquery with an aggregate function returned the wrong result in some cases. #Queries "group by" that contain a subquery with an aggregate function returned the wrong result in some cases.
@changelog_1019_li @changelog_1021_li
#Fix bug in unique and non-unique hash indexes which manifested as incorrect results when the search key was a different cardinal type from the table index key. e.g. where the one was INT and the other was LONG #Fix bug in unique and non-unique hash indexes which manifested as incorrect results when the search key was a different cardinal type from the table index key. e.g. where the one was INT and the other was LONG
@changelog_1020_li @changelog_1022_li
#Bug: Changes to the database structure did not result in the Session query cache being invalidated. #Bug: Changes to the database structure did not result in the Session query cache being invalidated.
@changelog_1021_li @changelog_1023_li
#New feature from Davide Cavestro - allow using custom Java object serialization engines on a per-DB basis. #New feature from Davide Cavestro - allow using custom Java object serialization engines on a per-DB basis.
@changelog_1022_li @changelog_1024_li
#When running the Recover tool on very large (&gt;6G) databases, some statistics were reported with negative numbers. #When running the Recover tool on very large (&gt;6G) databases, some statistics were reported with negative numbers.
@changelog_1023_li @changelog_1025_li
#Add a CONTAINS_UNCOMMITTED column to the SESSIONS metadata table, to allow detecting when rogue sessions are creating large transactions. #Add a CONTAINS_UNCOMMITTED column to the SESSIONS metadata table, to allow detecting when rogue sessions are creating large transactions.
@changelog_1024_li @changelog_1026_li
#Some small fixes to the GEOMETRY support, patches by Nicolas Fortin. #Some small fixes to the GEOMETRY support, patches by Nicolas Fortin.
@changelog_1025_li @changelog_1027_li
#The BNF tool and the autocomplete feature are exported in OSGi, which makes it possible for smart editors to do autocomplete. Patch from Nicolas Fortin. #The BNF tool and the autocomplete feature are exported in OSGi, which makes it possible for smart editors to do autocomplete. Patch from Nicolas Fortin.
@changelog_1026_li @changelog_1028_li
#Fix DROP ALL OBJECTS and DROP SCHEMA in the presence of tables with computed column dependencies. #Fix DROP ALL OBJECTS and DROP SCHEMA in the presence of tables with computed column dependencies.
@changelog_1027_li @changelog_1029_li
#Session-temporary LOB's could sometimes accumulate, increasing the size of the DB file until shutdown. Now they are cleared out at every commit. #Session-temporary LOB's could sometimes accumulate, increasing the size of the DB file until shutdown. Now they are cleared out at every commit.
@changelog_1028_li @changelog_1030_li
#There was a bug where a hash index with more than one column would be silently converted to a regular index. It will now throw an exception. #There was a bug where a hash index with more than one column would be silently converted to a regular index. It will now throw an exception.
@changelog_1029_li @changelog_1031_li
#Query Statistics: new feature which stores the newest 100 SQL queries executed and their performance data. Useful for tracking down badly performing queries. #Query Statistics: new feature which stores the newest 100 SQL queries executed and their performance data. Useful for tracking down badly performing queries.
@changelog_1030_li @changelog_1032_li
#Fix an LOB deadlock between reading and updating LOB columns. #Fix an LOB deadlock between reading and updating LOB columns.
@changelog_1031_li @changelog_1033_li
#Support the JDBC DatabaseMetaData#getClientInfoProperties() method, in the sense of returning an empty result, in order to make WebSphere happy. #Support the JDBC DatabaseMetaData#getClientInfoProperties() method, in the sense of returning an empty result, in order to make WebSphere happy.
@changelog_1032_li @changelog_1034_li
#Make Server#openBrowser respect the $BROWSER environment variable. Add "chromium" to the list of browsers tried. Patch from Felix Kaiser. #Make Server#openBrowser respect the $BROWSER environment variable. Add "chromium" to the list of browsers tried. Patch from Felix Kaiser.
@changelog_1033_li @changelog_1035_li
#Fix to org.h2.util.ScriptReader when handling unclosed block comments. #Fix to org.h2.util.ScriptReader when handling unclosed block comments.
@changelog_1034_li @changelog_1036_li
#Make org.h2.util.ScriptReader throw a better exception when handling broken scripts which generate extremely large statements. #Make org.h2.util.ScriptReader throw a better exception when handling broken scripts which generate extremely large statements.
@changelog_1035_li @changelog_1037_li
#Fix bug with ALLOW_LITERALS=NONE, where the periodic analyze table on insert would throw an exception. A similar problem was fixed in the Console tool. #Fix bug with ALLOW_LITERALS=NONE, where the periodic analyze table on insert would throw an exception. A similar problem was fixed in the Console tool.
@changelog_1036_li @changelog_1038_li
#Issue 510: Make org.h2.bnf public for consumption by external projects, patch by Nicolas Fortin #Issue 510: Make org.h2.bnf public for consumption by external projects, patch by Nicolas Fortin
@changelog_1037_li @changelog_1039_li
#Issue 509: Important fix on ValueGeometry, patch by Nicolas Fortin (with some tweaking) Make ValueGeometry#getDimensionCount more reliable. Add unit test to check for illegal ValueGeometry comparison Add unit test for conversion of Geometry object into Object Add optional export to MANIFEST.MF for JTS Geometry classes Validate that geometry values can be represented in WKB. #Issue 509: Important fix on ValueGeometry, patch by Nicolas Fortin (with some tweaking) Make ValueGeometry#getDimensionCount more reliable. Add unit test to check for illegal ValueGeometry comparison Add unit test for conversion of Geometry object into Object Add optional export to MANIFEST.MF for JTS Geometry classes Validate that geometry values can be represented in WKB.
@changelog_1038_li @changelog_1040_li
#Issue 506: RFE: Include Thread.getName() in case of a deadlock #Issue 506: RFE: Include Thread.getName() in case of a deadlock
@changelog_1039_li @changelog_1041_li
#Adding support for "GRANT ALTER ANY SCHEMA TO &lt;user&gt;", patch by John Yates #Adding support for "GRANT ALTER ANY SCHEMA TO &lt;user&gt;", patch by John Yates
@changelog_1040_h2 @changelog_1042_h2
#Version 1.3.173 (2013-07-28) #Version 1.3.173 (2013-07-28)
@changelog_1041_li @changelog_1043_li
#Support empty statements that just contains a comment. #Support empty statements that just contains a comment.
@changelog_1042_li @changelog_1044_li
#Server mode: if there was an error while reading from a LOB, the session was closed in some cases. #Server mode: if there was an error while reading from a LOB, the session was closed in some cases.
@changelog_1043_li @changelog_1045_li
#Issue 463: Driver name and version are now the same in OsgiDataSourceFactory and JdbcDatabaseMetaData. #Issue 463: Driver name and version are now the same in OsgiDataSourceFactory and JdbcDatabaseMetaData.
@changelog_1044_li @changelog_1046_li
#JaQu: The data type VARCHAR is now (again) used for Strings (no longer TEXT, except when explicitly set). #JaQu: The data type VARCHAR is now (again) used for Strings (no longer TEXT, except when explicitly set).
@changelog_1045_li @changelog_1047_li
#For in-memory databases, creating an index on a CLOB or BLOB column is no longer supported. This is to simplify the MVTableEngine. #For in-memory databases, creating an index on a CLOB or BLOB column is no longer supported. This is to simplify the MVTableEngine.
@changelog_1046_li @changelog_1048_li
#New column "information_schema.tables.row_count_estimate". #New column "information_schema.tables.row_count_estimate".
@changelog_1047_li @changelog_1049_li
#Issue 468: trunc(timestamp) could return the wrong value (+12 hours), and trunc(number) throw a NullPointerException. #Issue 468: trunc(timestamp) could return the wrong value (+12 hours), and trunc(number) throw a NullPointerException.
@changelog_1048_li @changelog_1050_li
#The expression trunc(number) threw a NullPointerException. #The expression trunc(number) threw a NullPointerException.
@changelog_1049_li @changelog_1051_li
#Fixed a deadlock when updating LOB's concurrently. See TestLob.testDeadlock2(). #Fixed a deadlock when updating LOB's concurrently. See TestLob.testDeadlock2().
@changelog_1050_li @changelog_1052_li
#Fixed a deadlock related to very large temporary result sets. #Fixed a deadlock related to very large temporary result sets.
@changelog_1051_li @changelog_1053_li
#Add "-list" command line option to Shell tool so that result-list-mode can be triggered when reading from a file. #Add "-list" command line option to Shell tool so that result-list-mode can be triggered when reading from a file.
@changelog_1052_li @changelog_1054_li
#Issue 474: H2 MySQL Compatibility code fails to ignore "COMMENT" in CREATE TABLE, patch from Aaron Azeckoski. #Issue 474: H2 MySQL Compatibility code fails to ignore "COMMENT" in CREATE TABLE, patch from Aaron Azeckoski.
@changelog_1053_li @changelog_1055_li
#Issue 476: Broken link in jaqu.html #Issue 476: Broken link in jaqu.html
@changelog_1054_li @changelog_1056_li
#Fix potential UTF8 encoding issue in org.h2.store.FileStore, reported by Juerg Spiess. #Fix potential UTF8 encoding issue in org.h2.store.FileStore, reported by Juerg Spiess.
@changelog_1055_li @changelog_1057_li
#Improve error message when check constraint is broken, test case from Gili (cowwoc). #Improve error message when check constraint is broken, test case from Gili (cowwoc).
@changelog_1056_li @changelog_1058_li
#Improve error message when we have a unique constraint violation, displays the offending key in the error message. #Improve error message when we have a unique constraint violation, displays the offending key in the error message.
@changelog_1057_li @changelog_1059_li
#Issue 478: Support for "SHOW TRANSACTION ISOLATION LEVEL", patch from Andrew Franklin. #Issue 478: Support for "SHOW TRANSACTION ISOLATION LEVEL", patch from Andrew Franklin.
@changelog_1058_li @changelog_1060_li
#Issue 475: PgServer: add support for CancelRequest, patch from Andrew Franklin. #Issue 475: PgServer: add support for CancelRequest, patch from Andrew Franklin.
@changelog_1059_li @changelog_1061_li
#Issue 473: PgServer missing -key option, patch from Andrew Franklin. #Issue 473: PgServer missing -key option, patch from Andrew Franklin.
@changelog_1060_li @changelog_1062_li
#Issue 471: CREATE VIEW does not check user rights, patch from Andrew Franklin. #Issue 471: CREATE VIEW does not check user rights, patch from Andrew Franklin.
@changelog_1061_li @changelog_1063_li
#Issue 477: PgServer binary transmission of query params is unimplemented, patch from Andrew Franklin. #Issue 477: PgServer binary transmission of query params is unimplemented, patch from Andrew Franklin.
@changelog_1062_li @changelog_1064_li
#Issue 479: Support for SUBSTRING without a FROM condition, patch from Andrew Franklin. #Issue 479: Support for SUBSTRING without a FROM condition, patch from Andrew Franklin.
@changelog_1063_li @changelog_1065_li
#Issue 472: PgServer does not work with any recent Postgres JDBC driver, patch from Andrew Franklin. #Issue 472: PgServer does not work with any recent Postgres JDBC driver, patch from Andrew Franklin.
@changelog_1064_li @changelog_1066_li
#Add syntax for passing additional parameters into custom TableEngine implementations. #Add syntax for passing additional parameters into custom TableEngine implementations.
@changelog_1065_li @changelog_1067_li
#Issue 480: Bugfix post issue 475, 477, patch from Andrew Franklin. #Issue 480: Bugfix post issue 475, 477, patch from Andrew Franklin.
@changelog_1066_li @changelog_1068_li
#Issue 481: Further extensions to PgServer to support better support PG JDBC, patch from Andrew Franklin. #Issue 481: Further extensions to PgServer to support better support PG JDBC, patch from Andrew Franklin.
@changelog_1067_li @changelog_1069_li
#Add support for spatial datatype GEOMETRY. #Add support for spatial datatype GEOMETRY.
@changelog_1068_li @changelog_1070_li
#Add support for in-memory spatial index. #Add support for in-memory spatial index.
@changelog_1069_li @changelog_1071_li
#change the PageStore#changeCount field from an int to a long, to cope with databases with very high transaction rates. #change the PageStore#changeCount field from an int to a long, to cope with databases with very high transaction rates.
@changelog_1070_li @changelog_1072_li
#Fix a NullPointerException when attempting to add foreign key reference to a view. #Fix a NullPointerException when attempting to add foreign key reference to a view.
@changelog_1071_li @changelog_1073_li
#Add sufficient ClientInfo support to our javax.sql.Connection implementation to make WebSphere happy. #Add sufficient ClientInfo support to our javax.sql.Connection implementation to make WebSphere happy.
@changelog_1072_li @changelog_1074_li
#Issue 482: class LobStorageBackend$LobInputStream does not override the method InputStream.available(). #Issue 482: class LobStorageBackend$LobInputStream does not override the method InputStream.available().
@changelog_1073_li @changelog_1075_li
#Fix corruption resulting from a mix of the "WRITE_DELAY=0" option and "SELECT DISTINCT" queries that don't fit in memory. #Fix corruption resulting from a mix of the "WRITE_DELAY=0" option and "SELECT DISTINCT" queries that don't fit in memory.
@changelog_1074_li @changelog_1076_li
#Fix the combination of updating a table which contains an LOB, and reading from the LOB at the same time. Previously it would throw an exception, now it works. #Fix the combination of updating a table which contains an LOB, and reading from the LOB at the same time. Previously it would throw an exception, now it works.
@changelog_1075_li @changelog_1077_li
#Issue 484: In the H2 Console tool, all schemas starting with "INFO" where hidden. Now they are hidden only if the database is not H2. Patch from "mgcodeact"/"cumer d" #Issue 484: In the H2 Console tool, all schemas starting with "INFO" where hidden. Now they are hidden only if the database is not H2. Patch from "mgcodeact"/"cumer d"
@changelog_1076_li @changelog_1078_li
#MySQL compatibility, support the "AUTO_INCREMENT=3" part of the CREATE TABLE statement. #MySQL compatibility, support the "AUTO_INCREMENT=3" part of the CREATE TABLE statement.
@changelog_1077_li @changelog_1079_li
#Issue 486: MySQL compatibility, support the "DEFAULT CHARSET" part of the CREATE TABLE statement. #Issue 486: MySQL compatibility, support the "DEFAULT CHARSET" part of the CREATE TABLE statement.
@changelog_1078_li @changelog_1080_li
#Issue 487: support the MySQL "SET foreign_key_checks = 0" command #Issue 487: support the MySQL "SET foreign_key_checks = 0" command
@changelog_1079_li @changelog_1081_li
#Issue 490: support MySQL "USING BTREE" index declaration #Issue 490: support MySQL "USING BTREE" index declaration
@changelog_1080_li @changelog_1082_li
#Issue 485: Database get corrupted when column is renamed for which check constraint was defined inside create table statement. #Issue 485: Database get corrupted when column is renamed for which check constraint was defined inside create table statement.
@changelog_1081_li @changelog_1083_li
#Issue 499: support MySQL "UNIQUE KEY (ID) USING BTREE" constraint syntax #Issue 499: support MySQL "UNIQUE KEY (ID) USING BTREE" constraint syntax
@changelog_1082_li @changelog_1084_li
#Issue 501: "CREATE TABLE .. WITH" not serialized, patch from nico.devel #Issue 501: "CREATE TABLE .. WITH" not serialized, patch from nico.devel
@changelog_1083_li @changelog_1085_li
#Avoid problems with runtime-compiled ALIAS methods when people have set the JAVA_TOOL_OPTIONS environment variable. #Avoid problems with runtime-compiled ALIAS methods when people have set the JAVA_TOOL_OPTIONS environment variable.
@changelog_1084_h2 @changelog_1086_h2
#Version 1.3.172 (2013-05-25) #Version 1.3.172 (2013-05-25)
@changelog_1085_li @changelog_1087_li
#Referential integrity: when adding a referential integrity constraint failed, and if creating the constraint automatically created an index, this index was not removed. #Referential integrity: when adding a referential integrity constraint failed, and if creating the constraint automatically created an index, this index was not removed.
@changelog_1086_li @changelog_1088_li
#The auto-analyze feature now only reads 1000 rows per table instead of 10000. #The auto-analyze feature now only reads 1000 rows per table instead of 10000.
@changelog_1087_li @changelog_1089_li
#The optimization for IN(...) queries combined with OR could result in a strange exception of the type "column x must be included in the group by list". #The optimization for IN(...) queries combined with OR could result in a strange exception of the type "column x must be included in the group by list".
@changelog_1088_li @changelog_1090_li
#Issue 454: Use Charset for type-safety. #Issue 454: Use Charset for type-safety.
@changelog_1089_li @changelog_1091_li
#Queries with both LIMIT and OFFSET could throw an IllegalArgumentException. #Queries with both LIMIT and OFFSET could throw an IllegalArgumentException.
@changelog_1090_li @changelog_1092_li
#MVStore: multiple issues were fixed: 460, 461, 462, 464, 466. #MVStore: multiple issues were fixed: 460, 461, 462, 464, 466.
@changelog_1091_li @changelog_1093_li
#MVStore: larger stores (multiple GB) are now much faster. #MVStore: larger stores (multiple GB) are now much faster.
@changelog_1092_li @changelog_1094_li
#When using local temporary tables and not dropping them manually before closing the session, and then killing the process could result in a database that couldn't be opened (except when using the recover tool). #When using local temporary tables and not dropping them manually before closing the session, and then killing the process could result in a database that couldn't be opened (except when using the recover tool).
@changelog_1093_li @changelog_1095_li
#Support TRUNC(timestamp) for improved Oracle compatibility. #Support TRUNC(timestamp) for improved Oracle compatibility.
@changelog_1094_li @changelog_1096_li
#Add support for CREATE TABLE TEST (ID BIGSERIAL) for PostgreSQL compatibility. Patch from Jesse Long. #Add support for CREATE TABLE TEST (ID BIGSERIAL) for PostgreSQL compatibility. Patch from Jesse Long.
@changelog_1095_li @changelog_1097_li
#Add new collation command SET BINARY_COLLATION UNSIGNED, helps with people testing BINARY columns in MySQL mode. #Add new collation command SET BINARY_COLLATION UNSIGNED, helps with people testing BINARY columns in MySQL mode.
@changelog_1096_li @changelog_1098_li
#Issue 453: ABBA race conditions in TABLE LINK connection sharing. #Issue 453: ABBA race conditions in TABLE LINK connection sharing.
@changelog_1097_li @changelog_1099_li
#Issue 449: Postgres Serial data type should not automatically be marked as primary key #Issue 449: Postgres Serial data type should not automatically be marked as primary key
@changelog_1098_li @changelog_1100_li
#Issue 406: Support "select h2version()" #Issue 406: Support "select h2version()"
@changelog_1099_li @changelog_1101_li
#Issue 389: When there is a multi-column primary key, H2 does not seem to always pick the right index #Issue 389: When there is a multi-column primary key, H2 does not seem to always pick the right index
@changelog_1100_li @changelog_1102_li
#Issue 305: Implement SELECT ... FOR FETCH ONLY #Issue 305: Implement SELECT ... FOR FETCH ONLY
@changelog_1101_li @changelog_1103_li
#Issue 274: Sybase/MSSQLServer compatibility - Add GETDATE and CHARINDEX system functions #Issue 274: Sybase/MSSQLServer compatibility - Add GETDATE and CHARINDEX system functions
@changelog_1102_li @changelog_1104_li
#Issue 274: Sybase/MSSQLServer compatibility - swap parameters of CONVERT function. #Issue 274: Sybase/MSSQLServer compatibility - swap parameters of CONVERT function.
@changelog_1103_li @changelog_1105_li
#Issue 274: Sybase/MSSQLServer compatibility - support index clause e.g. "select * from test (index table1_index)" #Issue 274: Sybase/MSSQLServer compatibility - support index clause e.g. "select * from test (index table1_index)"
@changelog_1104_li @changelog_1106_li
#Fix bug in Optimizing SELECT * FROM A WHERE X=1 OR X=2 OR X=3 into SELECT * FROM A WHERE X IN (1,2,3) #Fix bug in Optimizing SELECT * FROM A WHERE X=1 OR X=2 OR X=3 into SELECT * FROM A WHERE X IN (1,2,3)
@changelog_1105_li @changelog_1107_li
#Issue 442: Groovy patch for SourceCompiler (function ALIAS) #Issue 442: Groovy patch for SourceCompiler (function ALIAS)
@changelog_1106_li @changelog_1108_li
#Issue 459: Improve LOB documentation #Issue 459: Improve LOB documentation
@changelog_1107_h2 @changelog_1109_h2
#Version 1.3.171 (2013-03-17) #Version 1.3.171 (2013-03-17)
@changelog_1108_li @changelog_1110_li
#Security: the TCP server did not correctly restrict access rights of clients in some cases. This was specially a problem when using the flag "tcpAllowOthers". #Security: the TCP server did not correctly restrict access rights of clients in some cases. This was specially a problem when using the flag "tcpAllowOthers".
@changelog_1109_li @changelog_1111_li
#H2 Console: the session timeout can now be configured using the system property "h2.consoleTimeout". #H2 Console: the session timeout can now be configured using the system property "h2.consoleTimeout".
@changelog_1110_li @changelog_1112_li
#Issue 431: Improved compatibility with MySQL: support for "ENGINE=InnoDB charset=UTF8" when creating a table. #Issue 431: Improved compatibility with MySQL: support for "ENGINE=InnoDB charset=UTF8" when creating a table.
@changelog_1111_li @changelog_1113_li
#Issue 249: Improved compatibility with MySQL in the MySQL mode: now the methods DatabaseMetaData methods stores*Case*Identifiers return the same as MySQL when using the MySQL mode. #Issue 249: Improved compatibility with MySQL in the MySQL mode: now the methods DatabaseMetaData methods stores*Case*Identifiers return the same as MySQL when using the MySQL mode.
@changelog_1112_li @changelog_1114_li
#Issue 434: H2 Console didn't work in the Chrome browser due to a wrong viewport argument. #Issue 434: H2 Console didn't work in the Chrome browser due to a wrong viewport argument.
@changelog_1113_li @changelog_1115_li
#There was a possibility that the .lock.db file was not deleted when the database was closed, which could slow down opening the database. #There was a possibility that the .lock.db file was not deleted when the database was closed, which could slow down opening the database.
@changelog_1114_li @changelog_1116_li
#The SQL script generated by the "script" command contained inconsistent newlines on Windows. #The SQL script generated by the "script" command contained inconsistent newlines on Windows.
@changelog_1115_li @changelog_1117_li
#When using trace level 4 (SLF4J) in the server mode, a directory "trace.db" and an empty file was created on the client side. This is no longer made. #When using trace level 4 (SLF4J) in the server mode, a directory "trace.db" and an empty file was created on the client side. This is no longer made.
@changelog_1116_li @changelog_1118_li
#Optimize IN(...) queries: there was a bug in version 1.3.170 if the type of the left hand side didn't match the type of the right hand side. Fixed. #Optimize IN(...) queries: there was a bug in version 1.3.170 if the type of the left hand side didn't match the type of the right hand side. Fixed.
@changelog_1117_li @changelog_1119_li
#Optimize IN(...) queries: there was a bug in version 1.3.170 for comparison of the type "X IN(NULL, NULL)". Fixed. #Optimize IN(...) queries: there was a bug in version 1.3.170 for comparison of the type "X IN(NULL, NULL)". Fixed.
@changelog_1118_li @changelog_1120_li
#Timestamps with timezone that were passed as a string were not always converted correctly. For example "2012-11-06T23:00:00.000Z" was converted to "2012-11-06" instead of to "2012-11-07" in the timezone CET. Thanks a lot to Steve Hruda for reporting the problem! #Timestamps with timezone that were passed as a string were not always converted correctly. For example "2012-11-06T23:00:00.000Z" was converted to "2012-11-06" instead of to "2012-11-07" in the timezone CET. Thanks a lot to Steve Hruda for reporting the problem!
@changelog_1119_li @changelog_1121_li
#New table engine "org.h2.mvstore.db.MVTableEngine" that internally uses the MVStore to persist data. To try it out, append ";DEFAULT_TABLE_ENGINE=org.h2.mvstore.db.MVTableEngine" to the database URL. This is still very experimental, and many features are not supported yet. The data is stored in a file with the suffix ".mv.db". #New table engine "org.h2.mvstore.db.MVTableEngine" that internally uses the MVStore to persist data. To try it out, append ";DEFAULT_TABLE_ENGINE=org.h2.mvstore.db.MVTableEngine" to the database URL. This is still very experimental, and many features are not supported yet. The data is stored in a file with the suffix ".mv.db".
@changelog_1120_li @changelog_1122_li
#New connection setting "DEFAULT_TABLE_ENGINE" to use a specific table engine if none is set explicitly. This is to simplify testing the MVStore table engine. #New connection setting "DEFAULT_TABLE_ENGINE" to use a specific table engine if none is set explicitly. This is to simplify testing the MVStore table engine.
@changelog_1121_li @changelog_1123_li
#MVStore: encrypted stores are now supported. Only standardized algorithms are used: PBKDF2, SHA-256, XTS-AES, AES-128. #MVStore: encrypted stores are now supported. Only standardized algorithms are used: PBKDF2, SHA-256, XTS-AES, AES-128.
@changelog_1122_li @changelog_1124_li
#MVStore: improved API thanks to Simo Tripodi. #MVStore: improved API thanks to Simo Tripodi.
@changelog_1123_li @changelog_1125_li
#MVStore: maps can now be renamed. #MVStore: maps can now be renamed.
@changelog_1124_li @changelog_1126_li
#MVStore: store the file header also at the end of each chunk, which results in a further reduced number of write operations. #MVStore: store the file header also at the end of each chunk, which results in a further reduced number of write operations.
@changelog_1125_li @changelog_1127_li
#MVStore: a map implementation that supports concurrent operations. #MVStore: a map implementation that supports concurrent operations.
@changelog_1126_li @changelog_1128_li
#MVStore: unified exception handling; the version is included in the messages. #MVStore: unified exception handling; the version is included in the messages.
@changelog_1127_li @changelog_1129_li
#MVStore: old data is now retained for 45 seconds by default. #MVStore: old data is now retained for 45 seconds by default.
@changelog_1128_li @changelog_1130_li
#MVStore: compress is now disabled by default, and can be enabled on request. #MVStore: compress is now disabled by default, and can be enabled on request.
@changelog_1129_li @changelog_1131_li
#Support ALTER TABLE ADD ... AFTER. Patch from Andrew Gaul (argaul at gmail.com). Fixes issue 401. #Support ALTER TABLE ADD ... AFTER. Patch from Andrew Gaul (argaul at gmail.com). Fixes issue 401.
@changelog_1130_li @changelog_1132_li
#Improved OSGi support. H2 now registers itself as a DataSourceFactory service. Fixes issue 365. #Improved OSGi support. H2 now registers itself as a DataSourceFactory service. Fixes issue 365.
@changelog_1131_li @changelog_1133_li
#Add a DISK_SPACE_USED system function. Fixes issue 270. #Add a DISK_SPACE_USED system function. Fixes issue 270.
@changelog_1132_li @changelog_1134_li
#Fix a compile-time ambiguity when compiling with JDK7, thanks to a patch from Lukas Eder. #Fix a compile-time ambiguity when compiling with JDK7, thanks to a patch from Lukas Eder.
@changelog_1133_li @changelog_1135_li
#Supporting dropping an index for Lucene full-text indexes. #Supporting dropping an index for Lucene full-text indexes.
@changelog_1134_li @changelog_1136_li
#Optimized performance for SELECT ... ORDER BY X LIMIT Y OFFSET Z queries for in-memory databases using partial sort (by Sergi Vladykin). #Optimized performance for SELECT ... ORDER BY X LIMIT Y OFFSET Z queries for in-memory databases using partial sort (by Sergi Vladykin).
@changelog_1135_li @changelog_1137_li
#Experimental off-heap memory storage engine "nioMemFS:" and "nioMemLZF:", suggestion from Mark Addleman. #Experimental off-heap memory storage engine "nioMemFS:" and "nioMemLZF:", suggestion from Mark Addleman.
@changelog_1136_li @changelog_1138_li
#Issue 438: JdbcDatabaseMetaData.getSchemas() is no longer supported as of 1.3.169. #Issue 438: JdbcDatabaseMetaData.getSchemas() is no longer supported as of 1.3.169.
@changelog_1137_li @changelog_1139_li
#MySQL compatibility: support for ALTER TABLE tableName MODIFY [COLUMN] columnName columnDef. Patch from Ville Koskela. #MySQL compatibility: support for ALTER TABLE tableName MODIFY [COLUMN] columnName columnDef. Patch from Ville Koskela.
@changelog_1138_li @changelog_1140_li
#Issue 404: SHOW COLUMNS FROM tableName does not work with ALLOW_LITERALS=NUMBERS. #Issue 404: SHOW COLUMNS FROM tableName does not work with ALLOW_LITERALS=NUMBERS.
@changelog_1139_li @changelog_1141_li
#Throw an explicit error to make it clear we don't support the TRIGGER combination of SELECT and FOR EACH ROW. #Throw an explicit error to make it clear we don't support the TRIGGER combination of SELECT and FOR EACH ROW.
@changelog_1140_li @changelog_1142_li
#Issue 439: Utils.sortTopN does not handle single-element arrays. #Issue 439: Utils.sortTopN does not handle single-element arrays.
@changelog_1141_h2 @changelog_1143_h2
#Version 1.3.170 (2012-11-30) #Version 1.3.170 (2012-11-30)
@changelog_1142_li @changelog_1144_li
#Issue 407: The TriggerAdapter didn't work with CLOB and BLOB columns. #Issue 407: The TriggerAdapter didn't work with CLOB and BLOB columns.
@changelog_1143_li @changelog_1145_li
#PostgreSQL compatibility: support for data types BIGSERIAL and SERIAL as an alias for AUTO_INCREMENT. #PostgreSQL compatibility: support for data types BIGSERIAL and SERIAL as an alias for AUTO_INCREMENT.
@changelog_1144_li @changelog_1146_li
#Issue 417: H2 Console: the web session timeout didn't work, resulting in a memory leak. This was only a problem if the H2 Console was run for a long time and many sessions were opened. #Issue 417: H2 Console: the web session timeout didn't work, resulting in a memory leak. This was only a problem if the H2 Console was run for a long time and many sessions were opened.
@changelog_1145_li @changelog_1147_li
#Issue 412: Running the Server tool with just the option "-browser" will now log a warning. #Issue 412: Running the Server tool with just the option "-browser" will now log a warning.
@changelog_1146_li @changelog_1148_li
#Issue 411: CloseWatcher registration was not concurrency-safe. #Issue 411: CloseWatcher registration was not concurrency-safe.
@changelog_1147_li @changelog_1149_li
#MySQL compatibility: support for CONCAT_WS. Thanks a lot to litailang for the patch! #MySQL compatibility: support for CONCAT_WS. Thanks a lot to litailang for the patch!
@changelog_1148_li @changelog_1150_li
#PostgreSQL compatibility: support for EXTRACT(WEEK FROM dateColumn). Thanks to Prashant Bhat for the patch! #PostgreSQL compatibility: support for EXTRACT(WEEK FROM dateColumn). Thanks to Prashant Bhat for the patch!
@changelog_1149_li @changelog_1151_li
#Fix for a bug where we would sometimes use the wrong unique constraint to validate foreign key constraints. #Fix for a bug where we would sometimes use the wrong unique constraint to validate foreign key constraints.
@changelog_1150_li @changelog_1152_li
#Support BOM at the beginning of files for the RUNSCRIPT command #Support BOM at the beginning of files for the RUNSCRIPT command
@changelog_1151_li @changelog_1153_li
#Fix in calling SET @X = IDENTITY() where it would return NULL incorrectly #Fix in calling SET @X = IDENTITY() where it would return NULL incorrectly
@changelog_1152_li @changelog_1154_li
#Fix ABBA deadlock between adding a constraint and the H2-Log-Writer thread. #Fix ABBA deadlock between adding a constraint and the H2-Log-Writer thread.
@changelog_1153_li @changelog_1155_li
#Optimize IN(...) queries where the values are constant and of the same type. #Optimize IN(...) queries where the values are constant and of the same type.
@changelog_1154_li @changelog_1156_li
#Restore tool: the parameter "quiet" was not used and is now removed. #Restore tool: the parameter "quiet" was not used and is now removed.
@changelog_1155_li @changelog_1157_li
#Fix ConcurrentModificationException when creating tables and executing SHOW TABLES in parallel. Reported by Viktor Voytovych. #Fix ConcurrentModificationException when creating tables and executing SHOW TABLES in parallel. Reported by Viktor Voytovych.
@changelog_1156_li @changelog_1158_li
#Serialization is now pluggable using the system property "h2.javaObjectSerializer". Thanks to Sergi Vladykin for the patch! #Serialization is now pluggable using the system property "h2.javaObjectSerializer". Thanks to Sergi Vladykin for the patch!
@changelog_1157_h2 @changelog_1159_h2
#Version 1.3.169 (2012-09-09) #Version 1.3.169 (2012-09-09)
@changelog_1158_li @changelog_1160_li
#The default jar file is now compiled for Java 6. #The default jar file is now compiled for Java 6.
@changelog_1159_li @changelog_1161_li
#The new jar file will probably not end up in the central Maven repository in the next few weeks because Sonatype has disabled automatic synchronization from SourceForge (which they call 'legacy sync' now). It will probably take some time until this is sorted out. The H2 jar files are deployed to http://h2database.com/m2-repo/com/h2database/h2/maven-metadata.xml and http://hsql.sourceforge.net/m2-repo/com/h2database/h2/maven-metadata.xml as usual. #The new jar file will probably not end up in the central Maven repository in the next few weeks because Sonatype has disabled automatic synchronization from SourceForge (which they call 'legacy sync' now). It will probably take some time until this is sorted out. The H2 jar files are deployed to http://h2database.com/m2-repo/com/h2database/h2/maven-metadata.xml and http://hsql.sourceforge.net/m2-repo/com/h2database/h2/maven-metadata.xml as usual.
@changelog_1160_li @changelog_1162_li
#A part of the documentation and the H2 Console has been changed to support the Apple retina display. #A part of the documentation and the H2 Console has been changed to support the Apple retina display.
@changelog_1161_li @changelog_1163_li
#The CreateCluster tool could not be used if the source database contained a CLOB or BLOB. The root cause was that the TCP server did not synchronize on the session, which caused a problem when using the exclusive mode. #The CreateCluster tool could not be used if the source database contained a CLOB or BLOB. The root cause was that the TCP server did not synchronize on the session, which caused a problem when using the exclusive mode.
@changelog_1162_li @changelog_1164_li
#Statement.getQueryTimeout(): only the first call to this method will query the database. If the query timeout was changed in another way than calling setQueryTimeout, this method will always return the last value. This was changed because Hibernate calls getQueryTimeout() a lot. #Statement.getQueryTimeout(): only the first call to this method will query the database. If the query timeout was changed in another way than calling setQueryTimeout, this method will always return the last value. This was changed because Hibernate calls getQueryTimeout() a lot.
@changelog_1163_li @changelog_1165_li
#Issue 416: PreparedStatement.setNString throws AbstractMethodError. All implemented JDBC 4 methods that don't break compatibility with Java 5 are now included in the default jar file. #Issue 416: PreparedStatement.setNString throws AbstractMethodError. All implemented JDBC 4 methods that don't break compatibility with Java 5 are now included in the default jar file.
@changelog_1164_li @changelog_1166_li
#Issue 414: for some functions, the parameters were evaluated twice (for example "char(nextval(..))" ran "nextval(..)" twice). #Issue 414: for some functions, the parameters were evaluated twice (for example "char(nextval(..))" ran "nextval(..)" twice).
@changelog_1165_li @changelog_1167_li
#The ResultSetMetaData methods getSchemaName and getTableName could return null instead of "" (an empty string) as specified in the JDBC API. #The ResultSetMetaData methods getSchemaName and getTableName could return null instead of "" (an empty string) as specified in the JDBC API.
@changelog_1166_li @changelog_1168_li
#Added compatibility for "SET NAMES" query in MySQL compatibility mode. #Added compatibility for "SET NAMES" query in MySQL compatibility mode.
@changelog_1167_h2 @changelog_1169_h2
#Version 1.3.168 (2012-07-13) #Version 1.3.168 (2012-07-13)
@changelog_1168_li @changelog_1170_li
#The message "Transaction log could not be truncated" was sometimes written to the .trace.db file even if there was no problem truncating the transaction log. #The message "Transaction log could not be truncated" was sometimes written to the .trace.db file even if there was no problem truncating the transaction log.
@changelog_1169_li @changelog_1171_li
#New system property "h2.serializeJavaObject" (default: true) that allows to disable serializing Java objects, so that the objects compareTo and toString methods can be used. #New system property "h2.serializeJavaObject" (default: true) that allows to disable serializing Java objects, so that the objects compareTo and toString methods can be used.
@changelog_1170_li @changelog_1172_li
#Dylan has translated the H2 Console tool to Korean. Thanks a lot! #Dylan has translated the H2 Console tool to Korean. Thanks a lot!
@changelog_1171_li @changelog_1173_li
#Executing the statement CREATE INDEX IF ALREADY EXISTS if the index already exists no longer fails for a read only database. #Executing the statement CREATE INDEX IF ALREADY EXISTS if the index already exists no longer fails for a read only database.
@changelog_1172_li @changelog_1174_li
#MVCC: concurrently updating a row could result in the row to appear deleted in the second connection, if there are multiple unique indexes (or a primary key and at least one unique index). Thanks a lot to Teruo for the patch! #MVCC: concurrently updating a row could result in the row to appear deleted in the second connection, if there are multiple unique indexes (or a primary key and at least one unique index). Thanks a lot to Teruo for the patch!
@changelog_1173_li @changelog_1175_li
#Fulltext search: in-memory Lucene indexes are now supported. #Fulltext search: in-memory Lucene indexes are now supported.
@changelog_1174_li @changelog_1176_li
#Fulltext search: UUID primary keys are now supported. #Fulltext search: UUID primary keys are now supported.
@changelog_1175_li @changelog_1177_li
#Apache Tomcat 7.x will now longer log a warning when unloading the web application, if using a connection pool. #Apache Tomcat 7.x will now longer log a warning when unloading the web application, if using a connection pool.
@changelog_1176_li @changelog_1178_li
#H2 Console: support the Midori browser (for Debian / Raspberry Pi) #H2 Console: support the Midori browser (for Debian / Raspberry Pi)
@changelog_1177_li @changelog_1179_li
#When opening a remote session, don't open a temporary file if the trace level is set to zero #When opening a remote session, don't open a temporary file if the trace level is set to zero
@changelog_1178_li @changelog_1180_li
#Use HMAC for authenticating remote LOB id's, removing the need for maintaining a cache, and removing the limit on the number of LOBs per result set. #Use HMAC for authenticating remote LOB id's, removing the need for maintaining a cache, and removing the limit on the number of LOBs per result set.
@changelog_1179_li @changelog_1181_li
#H2 Console: HTML and XML documents can now be edited in an updatable result set. There is (limited) support for editing multi-line documents. #H2 Console: HTML and XML documents can now be edited in an updatable result set. There is (limited) support for editing multi-line documents.
@changelog_1180_h2 @changelog_1182_h2
#Version 1.3.167 (2012-05-23) #Version 1.3.167 (2012-05-23)
@changelog_1181_li @changelog_1183_li
#H2 Console: when editing a row, an empty varchar column was replaced with a single space. #H2 Console: when editing a row, an empty varchar column was replaced with a single space.
@changelog_1182_li @changelog_1184_li
#Lukas Eder has updated the jOOQ documentation. #Lukas Eder has updated the jOOQ documentation.
@changelog_1183_li @changelog_1185_li
#Some nested joins could not be executed, for example: select * from (select * from (select * from a) a right join b b) c; #Some nested joins could not be executed, for example: select * from (select * from (select * from a) a right join b b) c;
@changelog_1184_li @changelog_1186_li
#MS SQL Server compatibility: ISNULL is now an alias for IFNULL. #MS SQL Server compatibility: ISNULL is now an alias for IFNULL.
@changelog_1185_li @changelog_1187_li
#Terrence Huang has completed the translation of the H2 Console tool to Chinese. Thanks a lot! #Terrence Huang has completed the translation of the H2 Console tool to Chinese. Thanks a lot!
@changelog_1186_li @changelog_1188_li
#Server mode: the number of CLOB / BLOB values that were cached on the server is now the maximum of: 5 times the SERVER_RESULT_SET_FETCH_SIZE (which is 100 by default), and SysProperties.SERVER_CACHED_OBJECTS. #Server mode: the number of CLOB / BLOB values that were cached on the server is now the maximum of: 5 times the SERVER_RESULT_SET_FETCH_SIZE (which is 100 by default), and SysProperties.SERVER_CACHED_OBJECTS.
@changelog_1187_li @changelog_1189_li
#In the trace file, the query execution time was incorrect in some cases, specially for the statement SET TRACE_LEVEL_FILE 2. #In the trace file, the query execution time was incorrect in some cases, specially for the statement SET TRACE_LEVEL_FILE 2.
@changelog_1188_li @changelog_1190_li
#The feature LOG_SIZE_LIMIT that was introduced in version 1.3.165 did not always work correctly (specially with regards to multithreading) and has been removed. The message "Transaction log could not be truncated" is still written to the .trace.db file if required. #The feature LOG_SIZE_LIMIT that was introduced in version 1.3.165 did not always work correctly (specially with regards to multithreading) and has been removed. The message "Transaction log could not be truncated" is still written to the .trace.db file if required.
@changelog_1189_li @changelog_1191_li
#Then reading from a resource using the prefix "classpath:", the ContextClassLoader is now used if the resource can't be read otherwise. #Then reading from a resource using the prefix "classpath:", the ContextClassLoader is now used if the resource can't be read otherwise.
@changelog_1190_li @changelog_1192_li
#DatabaseEventListener now calls setProgress whenever a statement starts and ends. #DatabaseEventListener now calls setProgress whenever a statement starts and ends.
@changelog_1191_li @changelog_1193_li
#DatabaseEventListener now calls setProgress periodically while a statement is running. #DatabaseEventListener now calls setProgress periodically while a statement is running.
@changelog_1192_li @changelog_1194_li
#The table INFORMATION_SCHEMA.FUNCTION_ALIASES now includes a column TYPE_NAME. #The table INFORMATION_SCHEMA.FUNCTION_ALIASES now includes a column TYPE_NAME.
@changelog_1193_li @changelog_1195_li
#Issue 378: when using views, the wrong values were bound to a parameter in some cases. #Issue 378: when using views, the wrong values were bound to a parameter in some cases.
@changelog_1194_li @changelog_1196_li
#Terrence Huang has translated the error messages to Chinese. Thanks a lot! #Terrence Huang has translated the error messages to Chinese. Thanks a lot!
@changelog_1195_li @changelog_1197_li
#TRUNC was added as an alias for TRUNCATE. #TRUNC was added as an alias for TRUNCATE.
@changelog_1196_li @changelog_1198_li
#Small optimisation for accessing result values by column name. #Small optimisation for accessing result values by column name.
@changelog_1197_li @changelog_1199_li
#Fix for bug in Statement.getMoreResults(int) #Fix for bug in Statement.getMoreResults(int)
@changelog_1198_li
#The SCRIPT statements now supports filtering by schema and table. Thanks a lot to Jacob Qvortrup for providing the patch!
@changelog_1199_h2
#Version 1.3.166 (2012-04-08)
@changelog_1200_li @changelog_1200_li
#Indexes on column that are larger than half the page size (wide indexes) could sometimes get corrupt, resulting in an ArrayIndexOutOfBoundsException in PageBtree.getRow or "Row not found" in PageBtreeLeaf. Also, such indexes used too much disk space. #The SCRIPT statements now supports filtering by schema and table. Thanks a lot to Jacob Qvortrup for providing the patch!
@changelog_1201_li
#Server mode: when retrieving more than 64 rows each containing a CLOB or BLOB, the error message "The object is already closed" was thrown.
@changelog_1202_li
#ConvertTraceFile: the time in the trace file is now parsed as a long.
@changelog_1203_li
#Invalid connection settings are now detected.
@changelog_1204_li
#Issue 387: WHERE condition getting pushed into sub-query with LIMIT.
@changelog_1205_h2
#Version 1.3.165 (2012-03-18)
@changelog_1206_li
#Better string representation for decimal values (for example 0.00000000 instead of 0E-26).
@changelog_1207_li
#Prepared statements could only be re-used if the same data types were used the second time they were executed.
@changelog_1208_li
#In error messages about referential constraint violation, the values are now included.
@changelog_1209_li
#SCRIPT and RUNSCRIPT: the password can now be set using a prepared statement. Previously, it was required to be a literal in the SQL statement.
@changelog_1210_li
#MySQL compatibility: SUBSTR with a negative start index now works like MySQL.
@changelog_1211_li
#When enabling autocommit, the transaction is now committed (as required by the JDBC API).
@changelog_1212_li
#The shell script <code>h2.sh</code> did not work with spaces in the path. It also works now with quoted spaces in the argument list. Thanks a lot to Shimizu Fumiyuki for the patch!
@changelog_1213_li
#If the transaction log could not be truncated because of an uncommitted transaction, now "Transaction log could not be truncated" is written to the .trace.db file. Before, the database file was growing and it was hard to find out what the root cause was. To avoid the database file from growing, a new feature to automatically rollback the oldest transaction is available now. To enable it, append ;LOG_SIZE_LIMIT=32 to the database URL (in that case, the oldest session is rolled back if the transaction log is 32 MB).
@changelog_1214_li
#ALTER TABLE ADD can now add more than one column at a time.
@changelog_1215_li
#Issue 380: ALTER TABLE ADD FOREIGN KEY with an explicit index didn't verify the index can be used, which would lead to a NullPointerException later on.
@changelog_1216_li
#Issue 384: the wrong kind of exception (NullPointerException) was thrown in a UNION query with an incorrect ORDER BY expression.
@changelog_1217_li
#Issue 362: support LIMIT in UPDATE statements.
@changelog_1218_li
#Browser: if no default browser is set, Google Chrome is now used if available. If not available, then Konqueror, Netscape, or Opera is used if available (as before).
@changelog_1219_li
#CSV tool: new feature to disable writing the column header (option writeColumnHeader).
@changelog_1220_li
#CSV tool: new feature to preserve the case sensitivity of column names (option caseSensitiveColumnNames).
@changelog_1221_li
#PostgreSQL compatibility: LOG(x) is base 10 in the PostgreSQL mode.
@cheatSheet_1000_h1 @cheatSheet_1000_h1
#H2 Database Engine Cheat Sheet #H2 Database Engine Cheat Sheet
...@@ -2546,7 +2483,7 @@ H2 ...@@ -2546,7 +2483,7 @@ H2
ダウンロード ダウンロード
@cheatSheet_1005_li @cheatSheet_1005_li
#: <a href="http://repo1.maven.org/maven2/com/h2database/h2/1.3.173/h2-1.3.173.jar" class="link">jar</a>, <a href="http://www.h2database.com/h2-setup-2013-07-28.exe" class="link">installer (Windows)</a>, <a href="http://www.h2database.com/h2-2013-07-28.zip" class="link">zip</a>. #: <a href="http://repo1.maven.org/maven2/com/h2database/h2/1.3.174/h2-1.3.174.jar" class="link">jar</a>, <a href="http://www.h2database.com/h2-setup-2013-10-19.exe" class="link">installer (Windows)</a>, <a href="http://www.h2database.com/h2-2013-10-19.zip" class="link">zip</a>.
@cheatSheet_1006_li @cheatSheet_1006_li
#To start the <a href="quickstart.html#h2_console">H2 Console tool</a>, double click the jar file, or run <code>java -jar h2*.jar</code>, <code>h2.bat</code>, or <code>h2.sh</code>. #To start the <a href="quickstart.html#h2_console">H2 Console tool</a>, double click the jar file, or run <code>java -jar h2*.jar</code>, <code>h2.bat</code>, or <code>h2.sh</code>.
...@@ -2684,7 +2621,7 @@ jdbc:h2:mem: ...@@ -2684,7 +2621,7 @@ jdbc:h2:mem:
ダウンロード ダウンロード
@download_1001_h3 @download_1001_h3
#Version 1.3.173 (2013-07-28) #Version 1.3.174 (2013-10-19)
@download_1002_a @download_1002_a
Windows Installer Windows Installer
...@@ -2693,7 +2630,7 @@ Windows Installer ...@@ -2693,7 +2630,7 @@ Windows Installer
Platform-Independent Zip Platform-Independent Zip
@download_1004_h3 @download_1004_h3
#Version 1.3.172 (2013-05-25), Last Stable #Version 1.3.173 (2013-07-28), Last Stable
@download_1005_a @download_1005_a
Windows Installer Windows Installer
...@@ -6911,7 +6848,7 @@ H2 データベース エンジン ...@@ -6911,7 +6848,7 @@ H2 データベース エンジン
ダウンロード ダウンロード
@mainWeb_1007_td @mainWeb_1007_td
# Version 1.3.173 (2013-07-28) # Version 1.3.174 (2013-10-19)
@mainWeb_1008_a @mainWeb_1008_a
#Windows Installer (4 MB) #Windows Installer (4 MB)
...@@ -7514,7 +7451,7 @@ H2 データベース エンジン ...@@ -7514,7 +7451,7 @@ H2 データベース エンジン
# To build just the MVStore (without the database engine), run: # To build just the MVStore (without the database engine), run:
@mvstore_1125_p @mvstore_1125_p
# This will create the file <code>bin/h2mvstore-1.3.173.jar</code> (about 130 KB). # This will create the file <code>bin/h2mvstore-1.3.174.jar</code> (about 130 KB).
@performance_1000_h1 @performance_1000_h1
パフォーマンス パフォーマンス
......
...@@ -622,232 +622,211 @@ build_1111_li=The rail images (one straight, four junctions, two turns) are gene ...@@ -622,232 +622,211 @@ build_1111_li=The rail images (one straight, four junctions, two turns) are gene
build_1112_p=\ To generate railroad diagrams for other grammars, see the package <code>org.h2.jcr</code>. This package is used to generate the SQL-2 railroad diagrams for the JCR 2.0 specification. build_1112_p=\ To generate railroad diagrams for other grammars, see the package <code>org.h2.jcr</code>. This package is used to generate the SQL-2 railroad diagrams for the JCR 2.0 specification.
changelog_1000_h1=Change Log changelog_1000_h1=Change Log
changelog_1001_h2=Next Version (unreleased) changelog_1001_h2=Next Version (unreleased)
changelog_1002_li=LIRS cache\: bugfix for caches that only contain non-resident entries. changelog_1002_li=-
changelog_1003_li=For in-memory databases, queries with a "group by" column that is also a hash index threw a RuntimeException. changelog_1003_h2=Version 1.3.174 (2013-10-19)
changelog_1004_li=Improved error message for some syntax errors. changelog_1004_li=LIRS cache\: bugfix for caches that only contain non-resident entries.
changelog_1005_li=File system abstraction\: if used directly, some file systems did not work correctly with spliced byte buffers (the database engine doesn't use those). changelog_1005_li=For in-memory databases, queries with a "group by" column that is also a hash index threw a RuntimeException.
changelog_1006_li=To use the MVStore storage engine (which is still work in progress), append ";mv_store\=true" to the database URL. Using the MVTableEngine when creating the table is no longer recommended. changelog_1006_li=Improved error message for some syntax errors.
changelog_1007_li=To compile user defined functions, the javax.tools.JavaCompiler is now used if available, and no temporary files are created. This should solve problems when multiple H2 database concurrently compile the same user defined functions. To disable, system the system property "h2.javaSystemCompiler" to false. changelog_1007_li=File system abstraction\: if used directly, some file systems did not work correctly with spliced byte buffers (the database engine doesn't use those).
changelog_1008_li=Concurrently creating function aliases in different databases could result in the exception "javac\: file not found". changelog_1008_li=To use the MVStore storage engine (which is still work in progress), append ";mv_store\=true" to the database URL. Using the MVTableEngine when creating the table is no longer recommended.
changelog_1009_li=The function "regexp_replace" threw the wrong kind of exception if the replacement string was invalid. changelog_1009_li=To compile user defined functions, the javax.tools.JavaCompiler is now used if available, and no temporary files are created. This should solve problems when multiple H2 database concurrently compile the same user defined functions. To disable, system the system property "h2.javaSystemCompiler" to false.
changelog_1010_li=A checkpoint is now done every MAX_LOG_SIZE / 2 instead of every MAX_LOG_SIZE, so that the transaction log doesn't grow as large. changelog_1010_li=Concurrently creating function aliases in different databases could result in the exception "javac\: file not found".
changelog_1011_li=MVStore table engine\: new setting "retention_time" to configure the time to retain old data. The default is 45 seconds. changelog_1011_li=The function "regexp_replace" threw the wrong kind of exception if the replacement string was invalid.
changelog_1012_li=The method TableEngine.createTable() now returns a Table object. changelog_1012_li=A checkpoint is now done every MAX_LOG_SIZE / 2 instead of every MAX_LOG_SIZE, so that the transaction log doesn't grow as large.
changelog_1013_li=For read-only databases, for the trace level "debug", the trace info is written to the temp directory. changelog_1013_li=MVStore table engine\: new setting "retention_time" to configure the time to retain old data. The default is 45 seconds.
changelog_1014_li=Closing the file lock will now wait until the background thread is stopped. changelog_1014_li=The method TableEngine.createTable() now returns a Table object.
changelog_1015_li=In version 1.3.172, a performance regression was introduced when fixing the issue 389 (when there is a multi-column primary key, H2 does not seem to always pick the right index). This was related to boosting an index that matches the "order by" column list (the wrong index was used in some cases). changelog_1015_li=For read-only databases, for the trace level "debug", the trace info is written to the temp directory.
changelog_1016_li=Improved spatial index and data type. changelog_1016_li=Closing the file lock will now wait until the background thread is stopped.
changelog_1017_li=Issue 467\: OSGi Class Loader (ability to create reference to class in other ClassLoader, for example in another OSGi bundle). changelog_1017_li=In version 1.3.172, a performance regression was introduced when fixing the issue 389 (when there is a multi-column primary key, H2 does not seem to always pick the right index). This was related to boosting an index that matches the "order by" column list (the wrong index was used in some cases).
changelog_1018_li=Queries "group by" that contain a subquery with an aggregate function returned the wrong result in some cases. changelog_1018_li=Improved spatial index and data type.
changelog_1019_li=Fix bug in unique and non-unique hash indexes which manifested as incorrect results when the search key was a different cardinal type from the table index key. e.g. where the one was INT and the other was LONG changelog_1019_li=Issue 467\: OSGi Class Loader (ability to create reference to class in other ClassLoader, for example in another OSGi bundle).
changelog_1020_li=Bug\: Changes to the database structure did not result in the Session query cache being invalidated. changelog_1020_li=Queries "group by" that contain a subquery with an aggregate function returned the wrong result in some cases.
changelog_1021_li=New feature from Davide Cavestro - allow using custom Java object serialization engines on a per-DB basis. changelog_1021_li=Fix bug in unique and non-unique hash indexes which manifested as incorrect results when the search key was a different cardinal type from the table index key. e.g. where the one was INT and the other was LONG
changelog_1022_li=When running the Recover tool on very large (&gt;6G) databases, some statistics were reported with negative numbers. changelog_1022_li=Bug\: Changes to the database structure did not result in the Session query cache being invalidated.
changelog_1023_li=Add a CONTAINS_UNCOMMITTED column to the SESSIONS metadata table, to allow detecting when rogue sessions are creating large transactions. changelog_1023_li=New feature from Davide Cavestro - allow using custom Java object serialization engines on a per-DB basis.
changelog_1024_li=Some small fixes to the GEOMETRY support, patches by Nicolas Fortin. changelog_1024_li=When running the Recover tool on very large (&gt;6G) databases, some statistics were reported with negative numbers.
changelog_1025_li=The BNF tool and the autocomplete feature are exported in OSGi, which makes it possible for smart editors to do autocomplete. Patch from Nicolas Fortin. changelog_1025_li=Add a CONTAINS_UNCOMMITTED column to the SESSIONS metadata table, to allow detecting when rogue sessions are creating large transactions.
changelog_1026_li=Fix DROP ALL OBJECTS and DROP SCHEMA in the presence of tables with computed column dependencies. changelog_1026_li=Some small fixes to the GEOMETRY support, patches by Nicolas Fortin.
changelog_1027_li=Session-temporary LOB's could sometimes accumulate, increasing the size of the DB file until shutdown. Now they are cleared out at every commit. changelog_1027_li=The BNF tool and the autocomplete feature are exported in OSGi, which makes it possible for smart editors to do autocomplete. Patch from Nicolas Fortin.
changelog_1028_li=There was a bug where a hash index with more than one column would be silently converted to a regular index. It will now throw an exception. changelog_1028_li=Fix DROP ALL OBJECTS and DROP SCHEMA in the presence of tables with computed column dependencies.
changelog_1029_li=Query Statistics\: new feature which stores the newest 100 SQL queries executed and their performance data. Useful for tracking down badly performing queries. changelog_1029_li=Session-temporary LOB's could sometimes accumulate, increasing the size of the DB file until shutdown. Now they are cleared out at every commit.
changelog_1030_li=Fix an LOB deadlock between reading and updating LOB columns. changelog_1030_li=There was a bug where a hash index with more than one column would be silently converted to a regular index. It will now throw an exception.
changelog_1031_li=Support the JDBC DatabaseMetaData\#getClientInfoProperties() method, in the sense of returning an empty result, in order to make WebSphere happy. changelog_1031_li=Query Statistics\: new feature which stores the newest 100 SQL queries executed and their performance data. Useful for tracking down badly performing queries.
changelog_1032_li=Make Server\#openBrowser respect the $BROWSER environment variable. Add "chromium" to the list of browsers tried. Patch from Felix Kaiser. changelog_1032_li=Fix an LOB deadlock between reading and updating LOB columns.
changelog_1033_li=Fix to org.h2.util.ScriptReader when handling unclosed block comments. changelog_1033_li=Support the JDBC DatabaseMetaData\#getClientInfoProperties() method, in the sense of returning an empty result, in order to make WebSphere happy.
changelog_1034_li=Make org.h2.util.ScriptReader throw a better exception when handling broken scripts which generate extremely large statements. changelog_1034_li=Make Server\#openBrowser respect the $BROWSER environment variable. Add "chromium" to the list of browsers tried. Patch from Felix Kaiser.
changelog_1035_li=Fix bug with ALLOW_LITERALS\=NONE, where the periodic analyze table on insert would throw an exception. A similar problem was fixed in the Console tool. changelog_1035_li=Fix to org.h2.util.ScriptReader when handling unclosed block comments.
changelog_1036_li=Issue 510\: Make org.h2.bnf public for consumption by external projects, patch by Nicolas Fortin changelog_1036_li=Make org.h2.util.ScriptReader throw a better exception when handling broken scripts which generate extremely large statements.
changelog_1037_li=Issue 509\: Important fix on ValueGeometry, patch by Nicolas Fortin (with some tweaking) Make ValueGeometry\#getDimensionCount more reliable. Add unit test to check for illegal ValueGeometry comparison Add unit test for conversion of Geometry object into Object Add optional export to MANIFEST.MF for JTS Geometry classes Validate that geometry values can be represented in WKB. changelog_1037_li=Fix bug with ALLOW_LITERALS\=NONE, where the periodic analyze table on insert would throw an exception. A similar problem was fixed in the Console tool.
changelog_1038_li=Issue 506\: RFE\: Include Thread.getName() in case of a deadlock changelog_1038_li=Issue 510\: Make org.h2.bnf public for consumption by external projects, patch by Nicolas Fortin
changelog_1039_li=Adding support for "GRANT ALTER ANY SCHEMA TO &lt;user&gt;", patch by John Yates changelog_1039_li=Issue 509\: Important fix on ValueGeometry, patch by Nicolas Fortin (with some tweaking) Make ValueGeometry\#getDimensionCount more reliable. Add unit test to check for illegal ValueGeometry comparison Add unit test for conversion of Geometry object into Object Add optional export to MANIFEST.MF for JTS Geometry classes Validate that geometry values can be represented in WKB.
changelog_1040_h2=Version 1.3.173 (2013-07-28) changelog_1040_li=Issue 506\: RFE\: Include Thread.getName() in case of a deadlock
changelog_1041_li=Support empty statements that just contains a comment. changelog_1041_li=Adding support for "GRANT ALTER ANY SCHEMA TO &lt;user&gt;", patch by John Yates
changelog_1042_li=Server mode\: if there was an error while reading from a LOB, the session was closed in some cases. changelog_1042_h2=Version 1.3.173 (2013-07-28)
changelog_1043_li=Issue 463\: Driver name and version are now the same in OsgiDataSourceFactory and JdbcDatabaseMetaData. changelog_1043_li=Support empty statements that just contains a comment.
changelog_1044_li=JaQu\: The data type VARCHAR is now (again) used for Strings (no longer TEXT, except when explicitly set). changelog_1044_li=Server mode\: if there was an error while reading from a LOB, the session was closed in some cases.
changelog_1045_li=For in-memory databases, creating an index on a CLOB or BLOB column is no longer supported. This is to simplify the MVTableEngine. changelog_1045_li=Issue 463\: Driver name and version are now the same in OsgiDataSourceFactory and JdbcDatabaseMetaData.
changelog_1046_li=New column "information_schema.tables.row_count_estimate". changelog_1046_li=JaQu\: The data type VARCHAR is now (again) used for Strings (no longer TEXT, except when explicitly set).
changelog_1047_li=Issue 468\: trunc(timestamp) could return the wrong value (+12 hours), and trunc(number) throw a NullPointerException. changelog_1047_li=For in-memory databases, creating an index on a CLOB or BLOB column is no longer supported. This is to simplify the MVTableEngine.
changelog_1048_li=The expression trunc(number) threw a NullPointerException. changelog_1048_li=New column "information_schema.tables.row_count_estimate".
changelog_1049_li=Fixed a deadlock when updating LOB's concurrently. See TestLob.testDeadlock2(). changelog_1049_li=Issue 468\: trunc(timestamp) could return the wrong value (+12 hours), and trunc(number) throw a NullPointerException.
changelog_1050_li=Fixed a deadlock related to very large temporary result sets. changelog_1050_li=The expression trunc(number) threw a NullPointerException.
changelog_1051_li=Add "-list" command line option to Shell tool so that result-list-mode can be triggered when reading from a file. changelog_1051_li=Fixed a deadlock when updating LOB's concurrently. See TestLob.testDeadlock2().
changelog_1052_li=Issue 474\: H2 MySQL Compatibility code fails to ignore "COMMENT" in CREATE TABLE, patch from Aaron Azeckoski. changelog_1052_li=Fixed a deadlock related to very large temporary result sets.
changelog_1053_li=Issue 476\: Broken link in jaqu.html changelog_1053_li=Add "-list" command line option to Shell tool so that result-list-mode can be triggered when reading from a file.
changelog_1054_li=Fix potential UTF8 encoding issue in org.h2.store.FileStore, reported by Juerg Spiess. changelog_1054_li=Issue 474\: H2 MySQL Compatibility code fails to ignore "COMMENT" in CREATE TABLE, patch from Aaron Azeckoski.
changelog_1055_li=Improve error message when check constraint is broken, test case from Gili (cowwoc). changelog_1055_li=Issue 476\: Broken link in jaqu.html
changelog_1056_li=Improve error message when we have a unique constraint violation, displays the offending key in the error message. changelog_1056_li=Fix potential UTF8 encoding issue in org.h2.store.FileStore, reported by Juerg Spiess.
changelog_1057_li=Issue 478\: Support for "SHOW TRANSACTION ISOLATION LEVEL", patch from Andrew Franklin. changelog_1057_li=Improve error message when check constraint is broken, test case from Gili (cowwoc).
changelog_1058_li=Issue 475\: PgServer\: add support for CancelRequest, patch from Andrew Franklin. changelog_1058_li=Improve error message when we have a unique constraint violation, displays the offending key in the error message.
changelog_1059_li=Issue 473\: PgServer missing -key option, patch from Andrew Franklin. changelog_1059_li=Issue 478\: Support for "SHOW TRANSACTION ISOLATION LEVEL", patch from Andrew Franklin.
changelog_1060_li=Issue 471\: CREATE VIEW does not check user rights, patch from Andrew Franklin. changelog_1060_li=Issue 475\: PgServer\: add support for CancelRequest, patch from Andrew Franklin.
changelog_1061_li=Issue 477\: PgServer binary transmission of query params is unimplemented, patch from Andrew Franklin. changelog_1061_li=Issue 473\: PgServer missing -key option, patch from Andrew Franklin.
changelog_1062_li=Issue 479\: Support for SUBSTRING without a FROM condition, patch from Andrew Franklin. changelog_1062_li=Issue 471\: CREATE VIEW does not check user rights, patch from Andrew Franklin.
changelog_1063_li=Issue 472\: PgServer does not work with any recent Postgres JDBC driver, patch from Andrew Franklin. changelog_1063_li=Issue 477\: PgServer binary transmission of query params is unimplemented, patch from Andrew Franklin.
changelog_1064_li=Add syntax for passing additional parameters into custom TableEngine implementations. changelog_1064_li=Issue 479\: Support for SUBSTRING without a FROM condition, patch from Andrew Franklin.
changelog_1065_li=Issue 480\: Bugfix post issue 475, 477, patch from Andrew Franklin. changelog_1065_li=Issue 472\: PgServer does not work with any recent Postgres JDBC driver, patch from Andrew Franklin.
changelog_1066_li=Issue 481\: Further extensions to PgServer to support better support PG JDBC, patch from Andrew Franklin. changelog_1066_li=Add syntax for passing additional parameters into custom TableEngine implementations.
changelog_1067_li=Add support for spatial datatype GEOMETRY. changelog_1067_li=Issue 480\: Bugfix post issue 475, 477, patch from Andrew Franklin.
changelog_1068_li=Add support for in-memory spatial index. changelog_1068_li=Issue 481\: Further extensions to PgServer to support better support PG JDBC, patch from Andrew Franklin.
changelog_1069_li=change the PageStore\#changeCount field from an int to a long, to cope with databases with very high transaction rates. changelog_1069_li=Add support for spatial datatype GEOMETRY.
changelog_1070_li=Fix a NullPointerException when attempting to add foreign key reference to a view. changelog_1070_li=Add support for in-memory spatial index.
changelog_1071_li=Add sufficient ClientInfo support to our javax.sql.Connection implementation to make WebSphere happy. changelog_1071_li=change the PageStore\#changeCount field from an int to a long, to cope with databases with very high transaction rates.
changelog_1072_li=Issue 482\: class LobStorageBackend$LobInputStream does not override the method InputStream.available(). changelog_1072_li=Fix a NullPointerException when attempting to add foreign key reference to a view.
changelog_1073_li=Fix corruption resulting from a mix of the "WRITE_DELAY\=0" option and "SELECT DISTINCT" queries that don't fit in memory. changelog_1073_li=Add sufficient ClientInfo support to our javax.sql.Connection implementation to make WebSphere happy.
changelog_1074_li=Fix the combination of updating a table which contains an LOB, and reading from the LOB at the same time. Previously it would throw an exception, now it works. changelog_1074_li=Issue 482\: class LobStorageBackend$LobInputStream does not override the method InputStream.available().
changelog_1075_li=Issue 484\: In the H2 Console tool, all schemas starting with "INFO" where hidden. Now they are hidden only if the database is not H2. Patch from "mgcodeact"/"cumer d" changelog_1075_li=Fix corruption resulting from a mix of the "WRITE_DELAY\=0" option and "SELECT DISTINCT" queries that don't fit in memory.
changelog_1076_li=MySQL compatibility, support the "AUTO_INCREMENT\=3" part of the CREATE TABLE statement. changelog_1076_li=Fix the combination of updating a table which contains an LOB, and reading from the LOB at the same time. Previously it would throw an exception, now it works.
changelog_1077_li=Issue 486\: MySQL compatibility, support the "DEFAULT CHARSET" part of the CREATE TABLE statement. changelog_1077_li=Issue 484\: In the H2 Console tool, all schemas starting with "INFO" where hidden. Now they are hidden only if the database is not H2. Patch from "mgcodeact"/"cumer d"
changelog_1078_li=Issue 487\: support the MySQL "SET foreign_key_checks \= 0" command changelog_1078_li=MySQL compatibility, support the "AUTO_INCREMENT\=3" part of the CREATE TABLE statement.
changelog_1079_li=Issue 490\: support MySQL "USING BTREE" index declaration changelog_1079_li=Issue 486\: MySQL compatibility, support the "DEFAULT CHARSET" part of the CREATE TABLE statement.
changelog_1080_li=Issue 485\: Database get corrupted when column is renamed for which check constraint was defined inside create table statement. changelog_1080_li=Issue 487\: support the MySQL "SET foreign_key_checks \= 0" command
changelog_1081_li=Issue 499\: support MySQL "UNIQUE KEY (ID) USING BTREE" constraint syntax changelog_1081_li=Issue 490\: support MySQL "USING BTREE" index declaration
changelog_1082_li=Issue 501\: "CREATE TABLE .. WITH" not serialized, patch from nico.devel changelog_1082_li=Issue 485\: Database get corrupted when column is renamed for which check constraint was defined inside create table statement.
changelog_1083_li=Avoid problems with runtime-compiled ALIAS methods when people have set the JAVA_TOOL_OPTIONS environment variable. changelog_1083_li=Issue 499\: support MySQL "UNIQUE KEY (ID) USING BTREE" constraint syntax
changelog_1084_h2=Version 1.3.172 (2013-05-25) changelog_1084_li=Issue 501\: "CREATE TABLE .. WITH" not serialized, patch from nico.devel
changelog_1085_li=Referential integrity\: when adding a referential integrity constraint failed, and if creating the constraint automatically created an index, this index was not removed. changelog_1085_li=Avoid problems with runtime-compiled ALIAS methods when people have set the JAVA_TOOL_OPTIONS environment variable.
changelog_1086_li=The auto-analyze feature now only reads 1000 rows per table instead of 10000. changelog_1086_h2=Version 1.3.172 (2013-05-25)
changelog_1087_li=The optimization for IN(...) queries combined with OR could result in a strange exception of the type "column x must be included in the group by list". changelog_1087_li=Referential integrity\: when adding a referential integrity constraint failed, and if creating the constraint automatically created an index, this index was not removed.
changelog_1088_li=Issue 454\: Use Charset for type-safety. changelog_1088_li=The auto-analyze feature now only reads 1000 rows per table instead of 10000.
changelog_1089_li=Queries with both LIMIT and OFFSET could throw an IllegalArgumentException. changelog_1089_li=The optimization for IN(...) queries combined with OR could result in a strange exception of the type "column x must be included in the group by list".
changelog_1090_li=MVStore\: multiple issues were fixed\: 460, 461, 462, 464, 466. changelog_1090_li=Issue 454\: Use Charset for type-safety.
changelog_1091_li=MVStore\: larger stores (multiple GB) are now much faster. changelog_1091_li=Queries with both LIMIT and OFFSET could throw an IllegalArgumentException.
changelog_1092_li=When using local temporary tables and not dropping them manually before closing the session, and then killing the process could result in a database that couldn't be opened (except when using the recover tool). changelog_1092_li=MVStore\: multiple issues were fixed\: 460, 461, 462, 464, 466.
changelog_1093_li=Support TRUNC(timestamp) for improved Oracle compatibility. changelog_1093_li=MVStore\: larger stores (multiple GB) are now much faster.
changelog_1094_li=Add support for CREATE TABLE TEST (ID BIGSERIAL) for PostgreSQL compatibility. Patch from Jesse Long. changelog_1094_li=When using local temporary tables and not dropping them manually before closing the session, and then killing the process could result in a database that couldn't be opened (except when using the recover tool).
changelog_1095_li=Add new collation command SET BINARY_COLLATION UNSIGNED, helps with people testing BINARY columns in MySQL mode. changelog_1095_li=Support TRUNC(timestamp) for improved Oracle compatibility.
changelog_1096_li=Issue 453\: ABBA race conditions in TABLE LINK connection sharing. changelog_1096_li=Add support for CREATE TABLE TEST (ID BIGSERIAL) for PostgreSQL compatibility. Patch from Jesse Long.
changelog_1097_li=Issue 449\: Postgres Serial data type should not automatically be marked as primary key changelog_1097_li=Add new collation command SET BINARY_COLLATION UNSIGNED, helps with people testing BINARY columns in MySQL mode.
changelog_1098_li=Issue 406\: Support "select h2version()" changelog_1098_li=Issue 453\: ABBA race conditions in TABLE LINK connection sharing.
changelog_1099_li=Issue 389\: When there is a multi-column primary key, H2 does not seem to always pick the right index changelog_1099_li=Issue 449\: Postgres Serial data type should not automatically be marked as primary key
changelog_1100_li=Issue 305\: Implement SELECT ... FOR FETCH ONLY changelog_1100_li=Issue 406\: Support "select h2version()"
changelog_1101_li=Issue 274\: Sybase/MSSQLServer compatibility - Add GETDATE and CHARINDEX system functions changelog_1101_li=Issue 389\: When there is a multi-column primary key, H2 does not seem to always pick the right index
changelog_1102_li=Issue 274\: Sybase/MSSQLServer compatibility - swap parameters of CONVERT function. changelog_1102_li=Issue 305\: Implement SELECT ... FOR FETCH ONLY
changelog_1103_li=Issue 274\: Sybase/MSSQLServer compatibility - support index clause e.g. "select * from test (index table1_index)" changelog_1103_li=Issue 274\: Sybase/MSSQLServer compatibility - Add GETDATE and CHARINDEX system functions
changelog_1104_li=Fix bug in Optimizing SELECT * FROM A WHERE X\=1 OR X\=2 OR X\=3 into SELECT * FROM A WHERE X IN (1,2,3) changelog_1104_li=Issue 274\: Sybase/MSSQLServer compatibility - swap parameters of CONVERT function.
changelog_1105_li=Issue 442\: Groovy patch for SourceCompiler (function ALIAS) changelog_1105_li=Issue 274\: Sybase/MSSQLServer compatibility - support index clause e.g. "select * from test (index table1_index)"
changelog_1106_li=Issue 459\: Improve LOB documentation changelog_1106_li=Fix bug in Optimizing SELECT * FROM A WHERE X\=1 OR X\=2 OR X\=3 into SELECT * FROM A WHERE X IN (1,2,3)
changelog_1107_h2=Version 1.3.171 (2013-03-17) changelog_1107_li=Issue 442\: Groovy patch for SourceCompiler (function ALIAS)
changelog_1108_li=Security\: the TCP server did not correctly restrict access rights of clients in some cases. This was specially a problem when using the flag "tcpAllowOthers". changelog_1108_li=Issue 459\: Improve LOB documentation
changelog_1109_li=H2 Console\: the session timeout can now be configured using the system property "h2.consoleTimeout". changelog_1109_h2=Version 1.3.171 (2013-03-17)
changelog_1110_li=Issue 431\: Improved compatibility with MySQL\: support for "ENGINE\=InnoDB charset\=UTF8" when creating a table. changelog_1110_li=Security\: the TCP server did not correctly restrict access rights of clients in some cases. This was specially a problem when using the flag "tcpAllowOthers".
changelog_1111_li=Issue 249\: Improved compatibility with MySQL in the MySQL mode\: now the methods DatabaseMetaData methods stores*Case*Identifiers return the same as MySQL when using the MySQL mode. changelog_1111_li=H2 Console\: the session timeout can now be configured using the system property "h2.consoleTimeout".
changelog_1112_li=Issue 434\: H2 Console didn't work in the Chrome browser due to a wrong viewport argument. changelog_1112_li=Issue 431\: Improved compatibility with MySQL\: support for "ENGINE\=InnoDB charset\=UTF8" when creating a table.
changelog_1113_li=There was a possibility that the .lock.db file was not deleted when the database was closed, which could slow down opening the database. changelog_1113_li=Issue 249\: Improved compatibility with MySQL in the MySQL mode\: now the methods DatabaseMetaData methods stores*Case*Identifiers return the same as MySQL when using the MySQL mode.
changelog_1114_li=The SQL script generated by the "script" command contained inconsistent newlines on Windows. changelog_1114_li=Issue 434\: H2 Console didn't work in the Chrome browser due to a wrong viewport argument.
changelog_1115_li=When using trace level 4 (SLF4J) in the server mode, a directory "trace.db" and an empty file was created on the client side. This is no longer made. changelog_1115_li=There was a possibility that the .lock.db file was not deleted when the database was closed, which could slow down opening the database.
changelog_1116_li=Optimize IN(...) queries\: there was a bug in version 1.3.170 if the type of the left hand side didn't match the type of the right hand side. Fixed. changelog_1116_li=The SQL script generated by the "script" command contained inconsistent newlines on Windows.
changelog_1117_li=Optimize IN(...) queries\: there was a bug in version 1.3.170 for comparison of the type "X IN(NULL, NULL)". Fixed. changelog_1117_li=When using trace level 4 (SLF4J) in the server mode, a directory "trace.db" and an empty file was created on the client side. This is no longer made.
changelog_1118_li=Timestamps with timezone that were passed as a string were not always converted correctly. For example "2012-11-06T23\:00\:00.000Z" was converted to "2012-11-06" instead of to "2012-11-07" in the timezone CET. Thanks a lot to Steve Hruda for reporting the problem\! changelog_1118_li=Optimize IN(...) queries\: there was a bug in version 1.3.170 if the type of the left hand side didn't match the type of the right hand side. Fixed.
changelog_1119_li=New table engine "org.h2.mvstore.db.MVTableEngine" that internally uses the MVStore to persist data. To try it out, append ";DEFAULT_TABLE_ENGINE\=org.h2.mvstore.db.MVTableEngine" to the database URL. This is still very experimental, and many features are not supported yet. The data is stored in a file with the suffix ".mv.db". changelog_1119_li=Optimize IN(...) queries\: there was a bug in version 1.3.170 for comparison of the type "X IN(NULL, NULL)". Fixed.
changelog_1120_li=New connection setting "DEFAULT_TABLE_ENGINE" to use a specific table engine if none is set explicitly. This is to simplify testing the MVStore table engine. changelog_1120_li=Timestamps with timezone that were passed as a string were not always converted correctly. For example "2012-11-06T23\:00\:00.000Z" was converted to "2012-11-06" instead of to "2012-11-07" in the timezone CET. Thanks a lot to Steve Hruda for reporting the problem\!
changelog_1121_li=MVStore\: encrypted stores are now supported. Only standardized algorithms are used\: PBKDF2, SHA-256, XTS-AES, AES-128. changelog_1121_li=New table engine "org.h2.mvstore.db.MVTableEngine" that internally uses the MVStore to persist data. To try it out, append ";DEFAULT_TABLE_ENGINE\=org.h2.mvstore.db.MVTableEngine" to the database URL. This is still very experimental, and many features are not supported yet. The data is stored in a file with the suffix ".mv.db".
changelog_1122_li=MVStore\: improved API thanks to Simo Tripodi. changelog_1122_li=New connection setting "DEFAULT_TABLE_ENGINE" to use a specific table engine if none is set explicitly. This is to simplify testing the MVStore table engine.
changelog_1123_li=MVStore\: maps can now be renamed. changelog_1123_li=MVStore\: encrypted stores are now supported. Only standardized algorithms are used\: PBKDF2, SHA-256, XTS-AES, AES-128.
changelog_1124_li=MVStore\: store the file header also at the end of each chunk, which results in a further reduced number of write operations. changelog_1124_li=MVStore\: improved API thanks to Simo Tripodi.
changelog_1125_li=MVStore\: a map implementation that supports concurrent operations. changelog_1125_li=MVStore\: maps can now be renamed.
changelog_1126_li=MVStore\: unified exception handling; the version is included in the messages. changelog_1126_li=MVStore\: store the file header also at the end of each chunk, which results in a further reduced number of write operations.
changelog_1127_li=MVStore\: old data is now retained for 45 seconds by default. changelog_1127_li=MVStore\: a map implementation that supports concurrent operations.
changelog_1128_li=MVStore\: compress is now disabled by default, and can be enabled on request. changelog_1128_li=MVStore\: unified exception handling; the version is included in the messages.
changelog_1129_li=Support ALTER TABLE ADD ... AFTER. Patch from Andrew Gaul (argaul at gmail.com). Fixes issue 401. changelog_1129_li=MVStore\: old data is now retained for 45 seconds by default.
changelog_1130_li=Improved OSGi support. H2 now registers itself as a DataSourceFactory service. Fixes issue 365. changelog_1130_li=MVStore\: compress is now disabled by default, and can be enabled on request.
changelog_1131_li=Add a DISK_SPACE_USED system function. Fixes issue 270. changelog_1131_li=Support ALTER TABLE ADD ... AFTER. Patch from Andrew Gaul (argaul at gmail.com). Fixes issue 401.
changelog_1132_li=Fix a compile-time ambiguity when compiling with JDK7, thanks to a patch from Lukas Eder. changelog_1132_li=Improved OSGi support. H2 now registers itself as a DataSourceFactory service. Fixes issue 365.
changelog_1133_li=Supporting dropping an index for Lucene full-text indexes. changelog_1133_li=Add a DISK_SPACE_USED system function. Fixes issue 270.
changelog_1134_li=Optimized performance for SELECT ... ORDER BY X LIMIT Y OFFSET Z queries for in-memory databases using partial sort (by Sergi Vladykin). changelog_1134_li=Fix a compile-time ambiguity when compiling with JDK7, thanks to a patch from Lukas Eder.
changelog_1135_li=Experimental off-heap memory storage engine "nioMemFS\:" and "nioMemLZF\:", suggestion from Mark Addleman. changelog_1135_li=Supporting dropping an index for Lucene full-text indexes.
changelog_1136_li=Issue 438\: JdbcDatabaseMetaData.getSchemas() is no longer supported as of 1.3.169. changelog_1136_li=Optimized performance for SELECT ... ORDER BY X LIMIT Y OFFSET Z queries for in-memory databases using partial sort (by Sergi Vladykin).
changelog_1137_li=MySQL compatibility\: support for ALTER TABLE tableName MODIFY [COLUMN] columnName columnDef. Patch from Ville Koskela. changelog_1137_li=Experimental off-heap memory storage engine "nioMemFS\:" and "nioMemLZF\:", suggestion from Mark Addleman.
changelog_1138_li=Issue 404\: SHOW COLUMNS FROM tableName does not work with ALLOW_LITERALS\=NUMBERS. changelog_1138_li=Issue 438\: JdbcDatabaseMetaData.getSchemas() is no longer supported as of 1.3.169.
changelog_1139_li=Throw an explicit error to make it clear we don't support the TRIGGER combination of SELECT and FOR EACH ROW. changelog_1139_li=MySQL compatibility\: support for ALTER TABLE tableName MODIFY [COLUMN] columnName columnDef. Patch from Ville Koskela.
changelog_1140_li=Issue 439\: Utils.sortTopN does not handle single-element arrays. changelog_1140_li=Issue 404\: SHOW COLUMNS FROM tableName does not work with ALLOW_LITERALS\=NUMBERS.
changelog_1141_h2=Version 1.3.170 (2012-11-30) changelog_1141_li=Throw an explicit error to make it clear we don't support the TRIGGER combination of SELECT and FOR EACH ROW.
changelog_1142_li=Issue 407\: The TriggerAdapter didn't work with CLOB and BLOB columns. changelog_1142_li=Issue 439\: Utils.sortTopN does not handle single-element arrays.
changelog_1143_li=PostgreSQL compatibility\: support for data types BIGSERIAL and SERIAL as an alias for AUTO_INCREMENT. changelog_1143_h2=Version 1.3.170 (2012-11-30)
changelog_1144_li=Issue 417\: H2 Console\: the web session timeout didn't work, resulting in a memory leak. This was only a problem if the H2 Console was run for a long time and many sessions were opened. changelog_1144_li=Issue 407\: The TriggerAdapter didn't work with CLOB and BLOB columns.
changelog_1145_li=Issue 412\: Running the Server tool with just the option "-browser" will now log a warning. changelog_1145_li=PostgreSQL compatibility\: support for data types BIGSERIAL and SERIAL as an alias for AUTO_INCREMENT.
changelog_1146_li=Issue 411\: CloseWatcher registration was not concurrency-safe. changelog_1146_li=Issue 417\: H2 Console\: the web session timeout didn't work, resulting in a memory leak. This was only a problem if the H2 Console was run for a long time and many sessions were opened.
changelog_1147_li=MySQL compatibility\: support for CONCAT_WS. Thanks a lot to litailang for the patch\! changelog_1147_li=Issue 412\: Running the Server tool with just the option "-browser" will now log a warning.
changelog_1148_li=PostgreSQL compatibility\: support for EXTRACT(WEEK FROM dateColumn). Thanks to Prashant Bhat for the patch\! changelog_1148_li=Issue 411\: CloseWatcher registration was not concurrency-safe.
changelog_1149_li=Fix for a bug where we would sometimes use the wrong unique constraint to validate foreign key constraints. changelog_1149_li=MySQL compatibility\: support for CONCAT_WS. Thanks a lot to litailang for the patch\!
changelog_1150_li=Support BOM at the beginning of files for the RUNSCRIPT command changelog_1150_li=PostgreSQL compatibility\: support for EXTRACT(WEEK FROM dateColumn). Thanks to Prashant Bhat for the patch\!
changelog_1151_li=Fix in calling SET @X \= IDENTITY() where it would return NULL incorrectly changelog_1151_li=Fix for a bug where we would sometimes use the wrong unique constraint to validate foreign key constraints.
changelog_1152_li=Fix ABBA deadlock between adding a constraint and the H2-Log-Writer thread. changelog_1152_li=Support BOM at the beginning of files for the RUNSCRIPT command
changelog_1153_li=Optimize IN(...) queries where the values are constant and of the same type. changelog_1153_li=Fix in calling SET @X \= IDENTITY() where it would return NULL incorrectly
changelog_1154_li=Restore tool\: the parameter "quiet" was not used and is now removed. changelog_1154_li=Fix ABBA deadlock between adding a constraint and the H2-Log-Writer thread.
changelog_1155_li=Fix ConcurrentModificationException when creating tables and executing SHOW TABLES in parallel. Reported by Viktor Voytovych. changelog_1155_li=Optimize IN(...) queries where the values are constant and of the same type.
changelog_1156_li=Serialization is now pluggable using the system property "h2.javaObjectSerializer". Thanks to Sergi Vladykin for the patch\! changelog_1156_li=Restore tool\: the parameter "quiet" was not used and is now removed.
changelog_1157_h2=Version 1.3.169 (2012-09-09) changelog_1157_li=Fix ConcurrentModificationException when creating tables and executing SHOW TABLES in parallel. Reported by Viktor Voytovych.
changelog_1158_li=The default jar file is now compiled for Java 6. changelog_1158_li=Serialization is now pluggable using the system property "h2.javaObjectSerializer". Thanks to Sergi Vladykin for the patch\!
changelog_1159_li=The new jar file will probably not end up in the central Maven repository in the next few weeks because Sonatype has disabled automatic synchronization from SourceForge (which they call 'legacy sync' now). It will probably take some time until this is sorted out. The H2 jar files are deployed to http\://h2database.com/m2-repo/com/h2database/h2/maven-metadata.xml and http\://hsql.sourceforge.net/m2-repo/com/h2database/h2/maven-metadata.xml as usual. changelog_1159_h2=Version 1.3.169 (2012-09-09)
changelog_1160_li=A part of the documentation and the H2 Console has been changed to support the Apple retina display. changelog_1160_li=The default jar file is now compiled for Java 6.
changelog_1161_li=The CreateCluster tool could not be used if the source database contained a CLOB or BLOB. The root cause was that the TCP server did not synchronize on the session, which caused a problem when using the exclusive mode. changelog_1161_li=The new jar file will probably not end up in the central Maven repository in the next few weeks because Sonatype has disabled automatic synchronization from SourceForge (which they call 'legacy sync' now). It will probably take some time until this is sorted out. The H2 jar files are deployed to http\://h2database.com/m2-repo/com/h2database/h2/maven-metadata.xml and http\://hsql.sourceforge.net/m2-repo/com/h2database/h2/maven-metadata.xml as usual.
changelog_1162_li=Statement.getQueryTimeout()\: only the first call to this method will query the database. If the query timeout was changed in another way than calling setQueryTimeout, this method will always return the last value. This was changed because Hibernate calls getQueryTimeout() a lot. changelog_1162_li=A part of the documentation and the H2 Console has been changed to support the Apple retina display.
changelog_1163_li=Issue 416\: PreparedStatement.setNString throws AbstractMethodError. All implemented JDBC 4 methods that don't break compatibility with Java 5 are now included in the default jar file. changelog_1163_li=The CreateCluster tool could not be used if the source database contained a CLOB or BLOB. The root cause was that the TCP server did not synchronize on the session, which caused a problem when using the exclusive mode.
changelog_1164_li=Issue 414\: for some functions, the parameters were evaluated twice (for example "char(nextval(..))" ran "nextval(..)" twice). changelog_1164_li=Statement.getQueryTimeout()\: only the first call to this method will query the database. If the query timeout was changed in another way than calling setQueryTimeout, this method will always return the last value. This was changed because Hibernate calls getQueryTimeout() a lot.
changelog_1165_li=The ResultSetMetaData methods getSchemaName and getTableName could return null instead of "" (an empty string) as specified in the JDBC API. changelog_1165_li=Issue 416\: PreparedStatement.setNString throws AbstractMethodError. All implemented JDBC 4 methods that don't break compatibility with Java 5 are now included in the default jar file.
changelog_1166_li=Added compatibility for "SET NAMES" query in MySQL compatibility mode. changelog_1166_li=Issue 414\: for some functions, the parameters were evaluated twice (for example "char(nextval(..))" ran "nextval(..)" twice).
changelog_1167_h2=Version 1.3.168 (2012-07-13) changelog_1167_li=The ResultSetMetaData methods getSchemaName and getTableName could return null instead of "" (an empty string) as specified in the JDBC API.
changelog_1168_li=The message "Transaction log could not be truncated" was sometimes written to the .trace.db file even if there was no problem truncating the transaction log. changelog_1168_li=Added compatibility for "SET NAMES" query in MySQL compatibility mode.
changelog_1169_li=New system property "h2.serializeJavaObject" (default\: true) that allows to disable serializing Java objects, so that the objects compareTo and toString methods can be used. changelog_1169_h2=Version 1.3.168 (2012-07-13)
changelog_1170_li=Dylan has translated the H2 Console tool to Korean. Thanks a lot\! changelog_1170_li=The message "Transaction log could not be truncated" was sometimes written to the .trace.db file even if there was no problem truncating the transaction log.
changelog_1171_li=Executing the statement CREATE INDEX IF ALREADY EXISTS if the index already exists no longer fails for a read only database. changelog_1171_li=New system property "h2.serializeJavaObject" (default\: true) that allows to disable serializing Java objects, so that the objects compareTo and toString methods can be used.
changelog_1172_li=MVCC\: concurrently updating a row could result in the row to appear deleted in the second connection, if there are multiple unique indexes (or a primary key and at least one unique index). Thanks a lot to Teruo for the patch\! changelog_1172_li=Dylan has translated the H2 Console tool to Korean. Thanks a lot\!
changelog_1173_li=Fulltext search\: in-memory Lucene indexes are now supported. changelog_1173_li=Executing the statement CREATE INDEX IF ALREADY EXISTS if the index already exists no longer fails for a read only database.
changelog_1174_li=Fulltext search\: UUID primary keys are now supported. changelog_1174_li=MVCC\: concurrently updating a row could result in the row to appear deleted in the second connection, if there are multiple unique indexes (or a primary key and at least one unique index). Thanks a lot to Teruo for the patch\!
changelog_1175_li=Apache Tomcat 7.x will now longer log a warning when unloading the web application, if using a connection pool. changelog_1175_li=Fulltext search\: in-memory Lucene indexes are now supported.
changelog_1176_li=H2 Console\: support the Midori browser (for Debian / Raspberry Pi) changelog_1176_li=Fulltext search\: UUID primary keys are now supported.
changelog_1177_li=When opening a remote session, don't open a temporary file if the trace level is set to zero changelog_1177_li=Apache Tomcat 7.x will now longer log a warning when unloading the web application, if using a connection pool.
changelog_1178_li=Use HMAC for authenticating remote LOB id's, removing the need for maintaining a cache, and removing the limit on the number of LOBs per result set. changelog_1178_li=H2 Console\: support the Midori browser (for Debian / Raspberry Pi)
changelog_1179_li=H2 Console\: HTML and XML documents can now be edited in an updatable result set. There is (limited) support for editing multi-line documents. changelog_1179_li=When opening a remote session, don't open a temporary file if the trace level is set to zero
changelog_1180_h2=Version 1.3.167 (2012-05-23) changelog_1180_li=Use HMAC for authenticating remote LOB id's, removing the need for maintaining a cache, and removing the limit on the number of LOBs per result set.
changelog_1181_li=H2 Console\: when editing a row, an empty varchar column was replaced with a single space. changelog_1181_li=H2 Console\: HTML and XML documents can now be edited in an updatable result set. There is (limited) support for editing multi-line documents.
changelog_1182_li=Lukas Eder has updated the jOOQ documentation. changelog_1182_h2=Version 1.3.167 (2012-05-23)
changelog_1183_li=Some nested joins could not be executed, for example\: select * from (select * from (select * from a) a right join b b) c; changelog_1183_li=H2 Console\: when editing a row, an empty varchar column was replaced with a single space.
changelog_1184_li=MS SQL Server compatibility\: ISNULL is now an alias for IFNULL. changelog_1184_li=Lukas Eder has updated the jOOQ documentation.
changelog_1185_li=Terrence Huang has completed the translation of the H2 Console tool to Chinese. Thanks a lot\! changelog_1185_li=Some nested joins could not be executed, for example\: select * from (select * from (select * from a) a right join b b) c;
changelog_1186_li=Server mode\: the number of CLOB / BLOB values that were cached on the server is now the maximum of\: 5 times the SERVER_RESULT_SET_FETCH_SIZE (which is 100 by default), and SysProperties.SERVER_CACHED_OBJECTS. changelog_1186_li=MS SQL Server compatibility\: ISNULL is now an alias for IFNULL.
changelog_1187_li=In the trace file, the query execution time was incorrect in some cases, specially for the statement SET TRACE_LEVEL_FILE 2. changelog_1187_li=Terrence Huang has completed the translation of the H2 Console tool to Chinese. Thanks a lot\!
changelog_1188_li=The feature LOG_SIZE_LIMIT that was introduced in version 1.3.165 did not always work correctly (specially with regards to multithreading) and has been removed. The message "Transaction log could not be truncated" is still written to the .trace.db file if required. changelog_1188_li=Server mode\: the number of CLOB / BLOB values that were cached on the server is now the maximum of\: 5 times the SERVER_RESULT_SET_FETCH_SIZE (which is 100 by default), and SysProperties.SERVER_CACHED_OBJECTS.
changelog_1189_li=Then reading from a resource using the prefix "classpath\:", the ContextClassLoader is now used if the resource can't be read otherwise. changelog_1189_li=In the trace file, the query execution time was incorrect in some cases, specially for the statement SET TRACE_LEVEL_FILE 2.
changelog_1190_li=DatabaseEventListener now calls setProgress whenever a statement starts and ends. changelog_1190_li=The feature LOG_SIZE_LIMIT that was introduced in version 1.3.165 did not always work correctly (specially with regards to multithreading) and has been removed. The message "Transaction log could not be truncated" is still written to the .trace.db file if required.
changelog_1191_li=DatabaseEventListener now calls setProgress periodically while a statement is running. changelog_1191_li=Then reading from a resource using the prefix "classpath\:", the ContextClassLoader is now used if the resource can't be read otherwise.
changelog_1192_li=The table INFORMATION_SCHEMA.FUNCTION_ALIASES now includes a column TYPE_NAME. changelog_1192_li=DatabaseEventListener now calls setProgress whenever a statement starts and ends.
changelog_1193_li=Issue 378\: when using views, the wrong values were bound to a parameter in some cases. changelog_1193_li=DatabaseEventListener now calls setProgress periodically while a statement is running.
changelog_1194_li=Terrence Huang has translated the error messages to Chinese. Thanks a lot\! changelog_1194_li=The table INFORMATION_SCHEMA.FUNCTION_ALIASES now includes a column TYPE_NAME.
changelog_1195_li=TRUNC was added as an alias for TRUNCATE. changelog_1195_li=Issue 378\: when using views, the wrong values were bound to a parameter in some cases.
changelog_1196_li=Small optimisation for accessing result values by column name. changelog_1196_li=Terrence Huang has translated the error messages to Chinese. Thanks a lot\!
changelog_1197_li=Fix for bug in Statement.getMoreResults(int) changelog_1197_li=TRUNC was added as an alias for TRUNCATE.
changelog_1198_li=The SCRIPT statements now supports filtering by schema and table. Thanks a lot to Jacob Qvortrup for providing the patch\! changelog_1198_li=Small optimisation for accessing result values by column name.
changelog_1199_h2=Version 1.3.166 (2012-04-08) changelog_1199_li=Fix for bug in Statement.getMoreResults(int)
changelog_1200_li=Indexes on column that are larger than half the page size (wide indexes) could sometimes get corrupt, resulting in an ArrayIndexOutOfBoundsException in PageBtree.getRow or "Row not found" in PageBtreeLeaf. Also, such indexes used too much disk space. changelog_1200_li=The SCRIPT statements now supports filtering by schema and table. Thanks a lot to Jacob Qvortrup for providing the patch\!
changelog_1201_li=Server mode\: when retrieving more than 64 rows each containing a CLOB or BLOB, the error message "The object is already closed" was thrown.
changelog_1202_li=ConvertTraceFile\: the time in the trace file is now parsed as a long.
changelog_1203_li=Invalid connection settings are now detected.
changelog_1204_li=Issue 387\: WHERE condition getting pushed into sub-query with LIMIT.
changelog_1205_h2=Version 1.3.165 (2012-03-18)
changelog_1206_li=Better string representation for decimal values (for example 0.00000000 instead of 0E-26).
changelog_1207_li=Prepared statements could only be re-used if the same data types were used the second time they were executed.
changelog_1208_li=In error messages about referential constraint violation, the values are now included.
changelog_1209_li=SCRIPT and RUNSCRIPT\: the password can now be set using a prepared statement. Previously, it was required to be a literal in the SQL statement.
changelog_1210_li=MySQL compatibility\: SUBSTR with a negative start index now works like MySQL.
changelog_1211_li=When enabling autocommit, the transaction is now committed (as required by the JDBC API).
changelog_1212_li=The shell script <code>h2.sh</code> did not work with spaces in the path. It also works now with quoted spaces in the argument list. Thanks a lot to Shimizu Fumiyuki for the patch\!
changelog_1213_li=If the transaction log could not be truncated because of an uncommitted transaction, now "Transaction log could not be truncated" is written to the .trace.db file. Before, the database file was growing and it was hard to find out what the root cause was. To avoid the database file from growing, a new feature to automatically rollback the oldest transaction is available now. To enable it, append ;LOG_SIZE_LIMIT\=32 to the database URL (in that case, the oldest session is rolled back if the transaction log is 32 MB).
changelog_1214_li=ALTER TABLE ADD can now add more than one column at a time.
changelog_1215_li=Issue 380\: ALTER TABLE ADD FOREIGN KEY with an explicit index didn't verify the index can be used, which would lead to a NullPointerException later on.
changelog_1216_li=Issue 384\: the wrong kind of exception (NullPointerException) was thrown in a UNION query with an incorrect ORDER BY expression.
changelog_1217_li=Issue 362\: support LIMIT in UPDATE statements.
changelog_1218_li=Browser\: if no default browser is set, Google Chrome is now used if available. If not available, then Konqueror, Netscape, or Opera is used if available (as before).
changelog_1219_li=CSV tool\: new feature to disable writing the column header (option writeColumnHeader).
changelog_1220_li=CSV tool\: new feature to preserve the case sensitivity of column names (option caseSensitiveColumnNames).
changelog_1221_li=PostgreSQL compatibility\: LOG(x) is base 10 in the PostgreSQL mode.
cheatSheet_1000_h1=H2 Database Engine Cheat Sheet cheatSheet_1000_h1=H2 Database Engine Cheat Sheet
cheatSheet_1001_h2=Using H2 cheatSheet_1001_h2=Using H2
cheatSheet_1002_a=H2 cheatSheet_1002_a=H2
cheatSheet_1003_li=\ is <a href\="http\://code.google.com/p/h2database/source">open source</a>, <a href\="license.html">free to use and distribute</a>. cheatSheet_1003_li=\ is <a href\="http\://code.google.com/p/h2database/source">open source</a>, <a href\="license.html">free to use and distribute</a>.
cheatSheet_1004_a=Download cheatSheet_1004_a=Download
cheatSheet_1005_li=\: <a href\="http\://repo1.maven.org/maven2/com/h2database/h2/1.3.173/h2-1.3.173.jar" class\="link">jar</a>, <a href\="http\://www.h2database.com/h2-setup-2013-07-28.exe" class\="link">installer (Windows)</a>, <a href\="http\://www.h2database.com/h2-2013-07-28.zip" class\="link">zip</a>. cheatSheet_1005_li=\: <a href\="http\://repo1.maven.org/maven2/com/h2database/h2/1.3.174/h2-1.3.174.jar" class\="link">jar</a>, <a href\="http\://www.h2database.com/h2-setup-2013-10-19.exe" class\="link">installer (Windows)</a>, <a href\="http\://www.h2database.com/h2-2013-10-19.zip" class\="link">zip</a>.
cheatSheet_1006_li=To start the <a href\="quickstart.html\#h2_console">H2 Console tool</a>, double click the jar file, or run <code>java -jar h2*.jar</code>, <code>h2.bat</code>, or <code>h2.sh</code>. cheatSheet_1006_li=To start the <a href\="quickstart.html\#h2_console">H2 Console tool</a>, double click the jar file, or run <code>java -jar h2*.jar</code>, <code>h2.bat</code>, or <code>h2.sh</code>.
cheatSheet_1007_a=A new database is automatically created cheatSheet_1007_a=A new database is automatically created
cheatSheet_1008_a=by default cheatSheet_1008_a=by default
...@@ -893,10 +872,10 @@ cheatSheet_1047_p=\ Datasource class\: <code>org.h2.jdbcx.JdbcDataSource</code> ...@@ -893,10 +872,10 @@ cheatSheet_1047_p=\ Datasource class\: <code>org.h2.jdbcx.JdbcDataSource</code>
cheatSheet_1048_code=oracle.toplink.essentials.platform. cheatSheet_1048_code=oracle.toplink.essentials.platform.
cheatSheet_1049_code=database.H2Platform cheatSheet_1049_code=database.H2Platform
download_1000_h1=Downloads download_1000_h1=Downloads
download_1001_h3=Version 1.3.173 (2013-07-28) download_1001_h3=Version 1.3.174 (2013-10-19)
download_1002_a=Windows Installer download_1002_a=Windows Installer
download_1003_a=Platform-Independent Zip download_1003_a=Platform-Independent Zip
download_1004_h3=Version 1.3.172 (2013-05-25), Last Stable download_1004_h3=Version 1.3.173 (2013-07-28), Last Stable
download_1005_a=Windows Installer download_1005_a=Windows Installer
download_1006_a=Platform-Independent Zip download_1006_a=Platform-Independent Zip
download_1007_h3=Download Mirror and Older Versions download_1007_h3=Download Mirror and Older Versions
...@@ -2302,7 +2281,7 @@ mainWeb_1003_li=Embedded and server modes; in-memory databases ...@@ -2302,7 +2281,7 @@ mainWeb_1003_li=Embedded and server modes; in-memory databases
mainWeb_1004_li=Browser based Console application mainWeb_1004_li=Browser based Console application
mainWeb_1005_li=Small footprint\: around 1.5 MB jar file size mainWeb_1005_li=Small footprint\: around 1.5 MB jar file size
mainWeb_1006_h2=Download mainWeb_1006_h2=Download
mainWeb_1007_td=\ Version 1.3.173 (2013-07-28) mainWeb_1007_td=\ Version 1.3.174 (2013-10-19)
mainWeb_1008_a=Windows Installer (4 MB) mainWeb_1008_a=Windows Installer (4 MB)
mainWeb_1009_a=All Platforms (zip, 5 MB) mainWeb_1009_a=All Platforms (zip, 5 MB)
mainWeb_1010_a=All Downloads mainWeb_1010_a=All Downloads
...@@ -2503,7 +2482,7 @@ mvstore_1121_h2=Requirements ...@@ -2503,7 +2482,7 @@ mvstore_1121_h2=Requirements
mvstore_1122_p=\ The MVStore is included in the latest H2 jar file. mvstore_1122_p=\ The MVStore is included in the latest H2 jar file.
mvstore_1123_p=\ There are no special requirements to use it. The MVStore should run on any JVM as well as on Android. mvstore_1123_p=\ There are no special requirements to use it. The MVStore should run on any JVM as well as on Android.
mvstore_1124_p=\ To build just the MVStore (without the database engine), run\: mvstore_1124_p=\ To build just the MVStore (without the database engine), run\:
mvstore_1125_p=\ This will create the file <code>bin/h2mvstore-1.3.173.jar</code> (about 130 KB). mvstore_1125_p=\ This will create the file <code>bin/h2mvstore-1.3.174.jar</code> (about 130 KB).
performance_1000_h1=Performance performance_1000_h1=Performance
performance_1001_a=\ Performance Comparison performance_1001_a=\ Performance Comparison
performance_1002_a=\ PolePosition Benchmark performance_1002_a=\ PolePosition Benchmark
......
...@@ -17,22 +17,22 @@ public class Constants { ...@@ -17,22 +17,22 @@ public class Constants {
/** /**
* The build date is updated for each public release. * The build date is updated for each public release.
*/ */
public static final String BUILD_DATE = "2013-07-28"; public static final String BUILD_DATE = "2013-10-19";
/** /**
* The build date is updated for each public release. * The build date is updated for each public release.
*/ */
public static final String BUILD_DATE_STABLE = "2013-05-25"; public static final String BUILD_DATE_STABLE = "2013-07-28";
/** /**
* The build id is incremented for each public release. * The build id is incremented for each public release.
*/ */
public static final int BUILD_ID = 173; public static final int BUILD_ID = 174;
/** /**
* The build id of the last stable release. * The build id of the last stable release.
*/ */
public static final int BUILD_ID_STABLE = 172; public static final int BUILD_ID_STABLE = 173;
/** /**
* If H2 is compiled to be included in a product, this should be set to * If H2 is compiled to be included in a product, this should be set to
......
...@@ -169,7 +169,7 @@ public class MVStore { ...@@ -169,7 +169,7 @@ public class MVStore {
* is the unsaved version, the value is the map of chunks. The maps contains * is the unsaved version, the value is the map of chunks. The maps contains
* the number of freed entries per chunk. Access is synchronized. * the number of freed entries per chunk. Access is synchronized.
*/ */
private final ConcurrentHashMap<Long, HashMap<Integer, Chunk>> freedPageSpace = private final ConcurrentHashMap<Long, HashMap<Integer, Chunk>> freedPageSpace =
new ConcurrentHashMap<Long, HashMap<Integer, Chunk>>(); new ConcurrentHashMap<Long, HashMap<Integer, Chunk>>();
/** /**
......
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
CREATE TABLE VERSION(ID INT PRIMARY KEY, VERSION VARCHAR, CREATED VARCHAR); CREATE TABLE VERSION(ID INT PRIMARY KEY, VERSION VARCHAR, CREATED VARCHAR);
INSERT INTO VERSION VALUES INSERT INTO VERSION VALUES
(124, '1.3.174', '2013-10-19'),
(123, '1.3.173', '2013-07-28'), (123, '1.3.173', '2013-07-28'),
(122, '1.3.172', '2013-05-25'), (122, '1.3.172', '2013-05-25'),
(121, '1.3.171', '2013-03-17'), (121, '1.3.171', '2013-03-17'),
...@@ -18,8 +19,6 @@ INSERT INTO VERSION VALUES ...@@ -18,8 +19,6 @@ INSERT INTO VERSION VALUES
(115, '1.3.165', '2012-03-18'), (115, '1.3.165', '2012-03-18'),
(114, '1.3.164', '2012-01-03'), (114, '1.3.164', '2012-01-03'),
(113, '1.3.163', '2011-12-30'), (113, '1.3.163', '2011-12-30'),
(112, '1.3.162', '2011-11-26'),
(111, '1.3.161', '2011-10-28'),
; ;
CREATE TABLE CHANNEL(TITLE VARCHAR, LINK VARCHAR, DESC VARCHAR, CREATE TABLE CHANNEL(TITLE VARCHAR, LINK VARCHAR, DESC VARCHAR,
......
...@@ -52,7 +52,7 @@ public class TestConcurrent extends TestMVStore { ...@@ -52,7 +52,7 @@ public class TestConcurrent extends TestMVStore {
testConcurrentWrite(); testConcurrentWrite();
testConcurrentRead(); testConcurrentRead();
} }
private void testConcurrentStoreAndRemoveMap() throws InterruptedException { private void testConcurrentStoreAndRemoveMap() throws InterruptedException {
String fileName = getBaseDir() + "/testConcurrentStoreAndRemoveMap.h3"; String fileName = getBaseDir() + "/testConcurrentStoreAndRemoveMap.h3";
final MVStore s = openStore(fileName); final MVStore s = openStore(fileName);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论