提交 fcad7590 authored 作者: Thomas Mueller's avatar Thomas Mueller

Documentation / formatting

上级 bbb79bc6
......@@ -17,7 +17,8 @@ Change Log
<h1>Change Log</h1>
<h2>Next Version (unreleased)</h2>
<ul><li>Issue 579: Conditions on the "_rowid_" pseudo-column didn't use an index
<ul><li>Descending indexes on MVStore tables did not work properly.
</li><li>Issue 579: Conditions on the "_rowid_" pseudo-column didn't use an index
when using the MVStore.
</li><li>Fixed documentation that "offset" and "fetch" are also keywords since version 1.4.x.
</li><li>The Long.MIN_VALUE could not be parsed for auto-increment (identity) columns.
......
......@@ -410,7 +410,7 @@ Keywords / Reserved Words
There is a list of keywords that can't be used as identifiers (table names, column names and so on), unless they are quoted (surrounded with double quotes). The list is currently:
@advanced_1137_code
CROSS, CURRENT_DATE, CURRENT_TIME, CURRENT_TIMESTAMP, DISTINCT, EXCEPT, EXISTS, FALSE, FOR, FROM, FULL, GROUP, HAVING, INNER, INTERSECT, IS, JOIN, LIKE, LIMIT, MINUS, NATURAL, NOT, NULL, ON, ORDER, PRIMARY, ROWNUM, SELECT, SYSDATE, SYSTIME, SYSTIMESTAMP, TODAY, TRUE, UNION, UNIQUE, WHERE
CROSS, CURRENT_DATE, CURRENT_TIME, CURRENT_TIMESTAMP, DISTINCT, EXCEPT, EXISTS, FALSE, FETCH, FOR, FROM, FULL, GROUP, HAVING, INNER, INTERSECT, IS, JOIN, LIKE, LIMIT, MINUS, NATURAL, NOT, NULL, OFFSET, ON, ORDER, PRIMARY, ROWNUM, SELECT, SYSDATE, SYSTIME, SYSTIMESTAMP, TODAY, TRUE, UNION, UNIQUE, WHERE
@advanced_1138_p
Certain words of this list are keywords because they are functions that can be used without '()' for compatibility, for example <code>CURRENT_TIMESTAMP</code>.
......@@ -1853,849 +1853,858 @@ Change Log
Next Version (unreleased)
@changelog_1002_li
Issue 573: Add implementation for Methods "isWrapperFor()" and "unwrap()" in other JDBC classes.
Issue 579: Conditions on the "_rowid_" pseudo-column didn't use an index when using the MVStore.
@changelog_1003_li
Issue 572: MySQL compatibility for "order by" in update statements.
Fixed documentation that "offset" and "fetch" are also keywords since version 1.4.x.
@changelog_1004_li
The Long.MIN_VALUE could not be parsed for auto-increment (identity) columns.
@changelog_1005_li
Issue 573: Add implementation for Methods "isWrapperFor()" and "unwrap()" in other JDBC classes.
@changelog_1006_li
Issue 572: MySQL compatibility for "order by" in update statements.
@changelog_1007_li
The change in JDBC escape processing in version 1.4.181 affects both the parser (which is running on the server) and the JDBC API (which is running on the client). If you (or a tool you use) use the syntax "{t 'time}", or "{ts 'timestamp'}", or "{d 'data'}", then both the client and the server need to be upgraded to version 1.4.181 or later.
@changelog_1005_h2
@changelog_1008_h2
Version 1.4.181 Beta (2014-08-06)
@changelog_1006_li
@changelog_1009_li
Improved MySQL compatibility by supporting "use schema". Thanks a lot to Karl Pietrzak for the patch!
@changelog_1007_li
@changelog_1010_li
Writing to the trace file is now faster, specially with the debug level.
@changelog_1008_li
@changelog_1011_li
The database option "defrag_always=true" did not work with the MVStore.
@changelog_1009_li
@changelog_1012_li
The JDBC escape syntax {ts 'value'} did not interpret the value as a timestamp. The same for {d 'value'} (for date) and {t 'value'} (for time). Thanks to Lukas Eder for reporting the issue. The following problem was detected after version 1.4.181 was released: The change in JDBC escape processing affects both the parser (which is running on the server) and the JDBC API (which is running on the client). If you (or a tool you use) use the syntax {t 'time'}, or {ts 'timestamp'}, or {d 'date'}, then both the client and the server need to be upgraded to version 1.4.181 or later.
@changelog_1010_li
@changelog_1013_li
File system abstraction: support replacing existing files using move (currently not for Windows).
@changelog_1011_li
@changelog_1014_li
The statement "shutdown defrag" now compresses the database (with the MVStore). This command can greatly reduce the file size, and is relatively fast, but is not incremental.
@changelog_1012_li
@changelog_1015_li
The MVStore now automatically compacts the store in the background if there is no read or write activity, which should (after some time; sometimes about one minute) reduce the file size. This is still work in progress, feedback is welcome!
@changelog_1013_li
@changelog_1016_li
Change default value of PAGE_SIZE from 2048 to 4096 to more closely match most file systems block size (PageStore only; the MVStore already used 4096).
@changelog_1014_li
@changelog_1017_li
Auto-scale MAX_MEMORY_ROWS and CACHE_SIZE settings by the amount of available RAM. Gives a better out of box experience for people with more powerful machines.
@changelog_1015_li
@changelog_1018_li
Handle tabs like 4 spaces in web console, patch by Martin Grajcar.
@changelog_1016_li
@changelog_1019_li
Issue 573: Add implementation for Methods "isWrapperFor()" and "unwrap()" in JdbcConnection.java, patch by BigMichi1.
@changelog_1017_h2
@changelog_1020_h2
Version 1.4.180 Beta (2014-07-13)
@changelog_1018_li
@changelog_1021_li
MVStore: the store is now auto-compacted automatically up to some point, to avoid very large file sizes. This area is still work in progress.
@changelog_1019_li
@changelog_1022_li
Sequences of temporary tables (auto-increment or identity columns) were persisted unnecessarily in the database file, and were not removed when re-opening the database.
@changelog_1020_li
@changelog_1023_li
MVStore: an IndexOutOfBoundsException could sometimes occur MVMap.openVersion when concurrently accessing the store.
@changelog_1021_li
@changelog_1024_li
The LIRS cache now re-sizes the internal hash map if needed.
@changelog_1022_li
@changelog_1025_li
Optionally persist session history in the H2 console. (patch from Martin Grajcar)
@changelog_1023_li
@changelog_1026_li
Add client-info property to get the number of servers currently in the cluster and which servers that are available. (patch from Nikolaj Fogh)
@changelog_1024_li
@changelog_1027_li
Fix bug in changing encrypted DB password that kept the file handle open when the wrong password was supplied. (test case from Jens Hohmuth).
@changelog_1025_li
@changelog_1028_li
Issue 567: H2 hangs for a long time then (sometimes) recovers. Introduce a queue when doing table locking to prevent session starvation.
@changelog_1026_h2
@changelog_1029_h2
Version 1.4.179 Beta (2014-06-23)
@changelog_1027_li
@changelog_1030_li
The license was changed to MPL 2.0 (from 1.0) and EPL 1.0.
@changelog_1028_li
@changelog_1031_li
Issue 565: MVStore: concurrently adding LOB objects (with MULTI_THREADED option) resulted in a NullPointerException.
@changelog_1029_li
@changelog_1032_li
MVStore: reduced dependencies to other H2 classes.
@changelog_1030_li
@changelog_1033_li
There was a way to prevent a database from being re-opened, by creating a column constraint that references a table with a higher id, for example with "check" constraints that contains queries. This is now detected, and creating the table is prohibited. In future versions of H2, most likely creating references to other tables will no longer be supported because of such problems.
@changelog_1031_li
@changelog_1034_li
MVStore: descending indexes with "nulls first" did not work as expected (null was ordered last).
@changelog_1032_li
@changelog_1035_li
Large result sets now always create temporary tables instead of temporary files.
@changelog_1033_li
@changelog_1036_li
When using the PageStore, opening a database failed in some cases with a NullPointerException if temporary tables were used (explicitly, or implicitly when using large result sets).
@changelog_1034_li
@changelog_1037_li
If a database file in the PageStore file format exists, this file and this mode is now used, even if the database URL does not contain "MV_STORE=FALSE". If a MVStore file exists, it is used.
@changelog_1035_li
@changelog_1038_li
Databases created with version 1.3.175 and earlier that contained foreign keys in combination with multi-column indexes could not be opened in some cases. This was due to a bugfix in version 1.3.176: Referential integrity constraints sometimes used the wrong index.
@changelog_1036_li
@changelog_1039_li
MVStore: the ObjectDataType comparison method was incorrect if one key was Serializable and the other was of a common class.
@changelog_1037_li
@changelog_1040_li
Recursive queries with many result rows (more than the setting "max_memory_rows") did not work correctly.
@changelog_1038_li
@changelog_1041_li
The license has changed to MPL 2.0 + EPL 1.0.
@changelog_1039_li
@changelog_1042_li
MVStore: temporary tables from result sets could survive re-opening a database, which could result in a ClassCastException.
@changelog_1040_li
@changelog_1043_li
Issue 566: MVStore: unique indexes that were created later on did not work correctly if there were over 5000 rows in the table. Existing databases need to be re-created (at least the broken index need to be re-built).
@changelog_1041_li
@changelog_1044_li
MVStore: creating secondary indexes on large tables results in missing rows in the index.
@changelog_1042_li
@changelog_1045_li
Metadata: the password of linked tables is now only visible for admin users.
@changelog_1043_li
@changelog_1046_li
For Windows, database URLs of the form "jdbc:h2:/test" where considered relative and did not work unless the system property "h2.implicitRelativePath" was used.
@changelog_1044_li
@changelog_1047_li
Windows: using a base directory of "C:/" and similar did not work as expected.
@changelog_1045_li
@changelog_1048_li
Follow JDBC specification on Procedures MetaData, use P0 as return type of procedure.
@changelog_1046_li
@changelog_1049_li
Issue 531: IDENTITY ignored for added column.
@changelog_1047_li
@changelog_1050_li
FileSystem: improve exception throwing compatibility with JDK
@changelog_1048_li
@changelog_1051_li
Spatial Index: adjust costs so we do not use the spatial index if the query does not contain an intersects operator.
@changelog_1049_li
@changelog_1052_li
Fix multi-threaded deadlock when using a View that includes a TableFunction.
@changelog_1050_li
@changelog_1053_li
Fix bug in dividing very-small BigDecimal numbers.
@changelog_1051_h2
@changelog_1054_h2
Version 1.4.178 Beta (2014-05-02)
@changelog_1052_li
@changelog_1055_li
Issue 559: Make dependency on org.osgi.service.jdbc optional.
@changelog_1053_li
@changelog_1056_li
Improve error message when the user specifies an unsupported combination of database settings.
@changelog_1054_li
@changelog_1057_li
MVStore: in the multi-threaded mode, NullPointerException and other exceptions could occur.
@changelog_1055_li
@changelog_1058_li
MVStore: some database file could not be compacted due to a bug in the bookkeeping of the fill rate. Also, database file were compacted quite slowly. This has been improved; but more changes in this area are expected.
@changelog_1056_li
@changelog_1059_li
MVStore: support for volatile maps (that don't store changes).
@changelog_1057_li
@changelog_1060_li
MVStore mode: in-memory databases now also use the MVStore.
@changelog_1058_li
@changelog_1061_li
In server mode, appending ";autocommit=false" to the database URL was working, but the return value of Connection.getAutoCommit() was wrong.
@changelog_1059_li
@changelog_1062_li
Issue 561: OSGi: the import package declaration of org.h2 excluded version 1.4.
@changelog_1060_li
@changelog_1063_li
Issue 558: with the MVStore, a NullPointerException could occur when using LOBs at session commit (LobStorageMap.removeLob).
@changelog_1061_li
@changelog_1064_li
Remove the "h2.MAX_MEMORY_ROWS_DISTINCT" system property to reduce confusion. We already have the MAX_MEMORY_ROWS setting which does a very similar thing, and is better documented.
@changelog_1062_li
@changelog_1065_li
Issue 554: Web Console in an IFrame was not fully supported.
@changelog_1063_h2
@changelog_1066_h2
Version 1.4.177 Beta (2014-04-12)
@changelog_1064_li
@changelog_1067_li
By default, the MV_STORE option is enabled, so it is using the new MVStore storage. The MVCC setting is by default set to the same values as the MV_STORE setting, so it is also enabled by default. For testing, both settings can be disabled by appending ";MV_STORE=FALSE" and/or ";MVCC=FALSE" to the database URL.
@changelog_1065_li
@changelog_1068_li
The file locking method 'serialized' is no longer supported. This mode might return in a future version, however this is not clear right now. A new implementation and new tests would be needed.
@changelog_1066_li
@changelog_1069_li
Enable the new storage format for dates (system property "h2.storeLocalTime"). For the MVStore mode, this is always enabled, but with version 1.4 this is even enabled in the PageStore mode.
@changelog_1067_li
@changelog_1070_li
Implicit relative paths are disabled (system property "h2.implicitRelativePath"), so that the database URL jdbc:h2:test now needs to be written as jdbc:h2:./test.
@changelog_1068_li
"select ... fetch first 1 row only" is supported with the regular mode. This was disabled so far because "fetch" is now a keyword. See also Mode.supportOffsetFetch.
@changelog_1071_li
"select ... fetch first 1 row only" is supported with the regular mode. This was disabled so far because "fetch" and "offset" are now keywords. See also Mode.supportOffsetFetch.
@changelog_1069_li
@changelog_1072_li
Byte arrays are now sorted in unsigned mode (x'99' is larger than x'09'). (System property "h2.sortBinaryUnsigned", Mode.binaryUnsigned, setting "binary_collation").
@changelog_1070_li
@changelog_1073_li
Csv.getInstance will be removed in future versions of 1.4. Use the public constructor instead.
@changelog_1071_li
@changelog_1074_li
Remove support for the limited old-style outer join syntax using "(+)". Use "outer join" instead. System property "h2.oldStyleOuterJoin".
@changelog_1072_li
@changelog_1075_li
Support the data type "DATETIME2" as an alias for "DATETIME", for MS SQL Server compatibility.
@changelog_1073_li
@changelog_1076_li
Add Oracle-compatible TRANSLATE function, patch by Eric Chatellier.
@changelog_1074_h2
@changelog_1077_h2
Version 1.3.176 (2014-04-05)
@changelog_1075_li
@changelog_1078_li
The file locking method 'serialized' is no longer documented, as it will not be available in version 1.4.
@changelog_1076_li
@changelog_1079_li
The static method Csv.getInstance() was removed. Use the public constructor instead.
@changelog_1077_li
@changelog_1080_li
The default user name for the Script, RunScript, Shell, and CreateCluster tools are no longer "sa" but an empty string.
@changelog_1078_li
@changelog_1081_li
The stack trace of the exception "The object is already closed" is no longer logged by default.
@changelog_1079_li
@changelog_1082_li
If a value of a result set was itself a result set, the result could only be read once.
@changelog_1080_li
@changelog_1083_li
Column constraints are also visible in views (patch from Nicolas Fortin for H2GIS).
@changelog_1081_li
@changelog_1084_li
Granting a additional right to a role that already had a right for that table was not working.
@changelog_1082_li
@changelog_1085_li
Spatial index: a few bugs have been fixed (using spatial constraints in views, transferring geometry objects over TCP/IP, the returned geometry object is copied when needed).
@changelog_1083_li
@changelog_1086_li
Issue 551: the datatype documentation was incorrect (found by Bernd Eckenfels).
@changelog_1084_li
@changelog_1087_li
Issue 368: ON DUPLICATE KEY UPDATE did not work for multi-row inserts. Test case from Angus Macdonald.
@changelog_1085_li
@changelog_1088_li
OSGi: the package javax.tools is now imported (as an optional).
@changelog_1086_li
@changelog_1089_li
H2 Console: auto-complete is now disabled by default, but there is a hot-key (Ctrl+Space).
@changelog_1087_li
@changelog_1090_li
H2 Console: auto-complete did not work with multi-line statements.
@changelog_1088_li
@changelog_1091_li
CLOB and BLOB data was not immediately removed after a rollback.
@changelog_1089_li
@changelog_1092_li
There is a new Aggregate API that supports the internal H2 data types (GEOMETRY for example). Thanks a lot to Nicolas Fortin for the patch!
@changelog_1090_li
@changelog_1093_li
Referential integrity constraints sometimes used the wrong index, such that updating a row in the referenced table incorrectly failed with a constraint violation.
@changelog_1091_li
@changelog_1094_li
The Polish translation was completed and corrected by Wojtek Jurczyk. Thanks a lot!
@changelog_1092_li
@changelog_1095_li
Issue 545: Unnecessary duplicate code was removed.
@changelog_1093_li
@changelog_1096_li
The profiler tool can now process files with full thread dumps.
@changelog_1094_li
@changelog_1097_li
MVStore: the file format was changed slightly.
@changelog_1095_li
@changelog_1098_li
MVStore mode: the CLOB and BLOB storage was re-implemented and is now much faster than with the PageStore (which is still the default storage).
@changelog_1096_li
@changelog_1099_li
MVStore mode: creating indexes is now much faster (in many cases faster than with the default PageStore).
@changelog_1097_li
@changelog_1100_li
Various bugs in the MVStore storage and have been fixed, including a bug in the R-tree implementation. The database could get corrupt if there were transient IO exceptions while storing.
@changelog_1098_li
@changelog_1101_li
The method org.h2.expression.Function.getCost could throw a NullPointException.
@changelog_1099_li
@changelog_1102_li
Storing LOBs in separate files (outside of the main database file) is no longer supported for new databases.
@changelog_1100_li
@changelog_1103_li
Lucene 2 is no longer supported.
@changelog_1101_li
@changelog_1104_li
Fix bug in calculating default MIN and MAX values for SEQUENCE.
@changelog_1102_li
@changelog_1105_li
Fix bug in performing IN queries with multiple values when IGNORECASE=TRUE
@changelog_1103_li
@changelog_1106_li
Add entry-point to org.h2.tools.Shell so it can be called from inside an application. patch by Thomas Gillet.
@changelog_1104_li
@changelog_1107_li
Fix bug that prevented the PgServer from being stopped and started multiple times.
@changelog_1105_li
@changelog_1108_li
Support some more DDL syntax for MySQL, patch from Peter Jentsch.
@changelog_1106_li
@changelog_1109_li
Issue 548: TO_CHAR does not format MM and DD correctly when the month or day of the month is 1 digit, patch from "the.tucc"
@changelog_1107_li
@changelog_1110_li
Fix bug in varargs support in ALIAS's, patch from Nicolas Fortin
@changelog_1108_h2
@changelog_1111_h2
Version 1.3.175 (2014-01-18)
@changelog_1109_li
@changelog_1112_li
EXPLAIN was incorrect for queries with "ANY" or "SOME" conditions.
@changelog_1110_li
@changelog_1113_li
CallableStatement with "out" parameters: running the same statement twice could result in an exception ("parameter not set").
@changelog_1111_li
@changelog_1114_li
Union queries: duplicate rows could be returned if the sub-queries contained "order by".
@changelog_1112_li
@changelog_1115_li
The GEOMETRY data type now works for user defined functions that return a result set.
@changelog_1113_li
@changelog_1116_li
PostgreSQL compatibility: the PgServer was not working properly when the setting database_to_upper was set to false.
@changelog_1114_li
@changelog_1117_li
JdbcDataSource: the methods setUrl and getUrl where added as aliases for setURL and getURL. This should solve problems with the HikariCP (Hikari connection pool).
@changelog_1115_li
@changelog_1118_li
Issue 537: H2 Console: when loading the schema, incorrect JDBC calls where issued, which caused the exception "Column PRECISION not found".
@changelog_1116_li
@changelog_1119_li
Improved Geometry processing (issue 535).
@changelog_1117_li
@changelog_1120_li
The collation can now be set in the database URL, even if there are data tables, if the collection is the same as the current collation.
@changelog_1118_li
@changelog_1121_li
Improved Oracle compatibility for CASE WHEN and DECODE.
@changelog_1119_li
@changelog_1122_li
The statement "drop all objects" did not work if a table depends on a view via a constraint.
@changelog_1120_li
@changelog_1123_li
Subqueries or views with "order by" an alias expression could not be executed due to a regression introduced in version 1.3.174.
@changelog_1121_li
@changelog_1124_li
Issue 73: MySQL compatibility: support REPLACE, patch by Cemo Koc.
@changelog_1122_li
@changelog_1125_li
The spatial index now works in MVCC mode when using the MVStore storage.
@changelog_1123_li
@changelog_1126_li
MVStore: concurrency problems have been fixed. The API has been simplified.
@changelog_1124_li
@changelog_1127_li
Improve error message when dropping an index that belongs to a constraint, specify constraint in error message.
@changelog_1125_li
@changelog_1128_li
Issue 518: java.sql.Connection.commit() freezes after LOB modification with EXCLUSIVE connection
@changelog_1126_li
@changelog_1129_li
Issue 517: Create or replace view statement has no effect on the others already existing JDBC connection
@changelog_1127_li
@changelog_1130_li
Support 123L syntax as in Java; example: SELECT (2000000000L*2).
@changelog_1128_li
@changelog_1131_li
Issue 520: Add support for sequence max value, min value and cycle, patch by Daniel Gredler.
@changelog_1129_li
@changelog_1132_li
Issue 521: ScriptReader should implement Closeable
@changelog_1130_li
@changelog_1133_li
Issue 524: RunScript.execute does not close its Statement, patch from Gaul.
@changelog_1131_li
@changelog_1134_li
Add support for DB2 "WITH UR" clause, patch from litailang
@changelog_1132_li
@changelog_1135_li
Added support for ON DUPLICATE KEY UPDATE like MySQL with the values() function to update with the value that was to be inserted. Patch from Jean-Francois Noel.
@changelog_1133_li
@changelog_1136_li
Issue 522: Treat empty strings like NULL in Oracle compatibility mode, patch by Daniel Gredler.
@changelog_1134_li
@changelog_1137_li
Issue 527: Oracle compatibility mode: incorrect scale behavior, patch by Daniel Gredler.
@changelog_1135_li
@changelog_1138_li
Slightly reduce the memory cost of View metadata.
@changelog_1136_li
@changelog_1139_li
Extend support of "GRANT ALTER ANY SCHEMA TO &lt;user&gt;" to allow grantee ability to manipulate tables
@changelog_1137_li
@changelog_1140_li
Issue 532: Javadoc for ErrorCode.ROLES_AND_RIGHT_CANNOT_BE_MIXED looks wrong
@changelog_1138_li
@changelog_1141_li
Issue 528: Add Oracle-compatible TO_CHAR function, patch by Daniel Gredler.
@changelog_1139_li
@changelog_1142_li
Issue 534: CREATE ALIAS NOCACHE, Patch by Nicolas Fortin
@changelog_1140_li
@changelog_1143_li
Fix an issue with storing Unicode surrogate pairs in CLOB columns.
@changelog_1141_li
@changelog_1144_li
H2 console: add SHIFT+ENTER "run selected" functionality
@changelog_1142_li
@changelog_1145_li
Fix bug in DB2 syntax "select * from test with ur", patch from litailang
@changelog_1143_li
@changelog_1146_li
Fix bug in DROP ALL OBJECTS when dealing with inter-schema dependencies.
@changelog_1144_h2
@changelog_1147_h2
Version 1.3.174 (2013-10-19)
@changelog_1145_li
@changelog_1148_li
LIRS cache: bugfix for caches that only contain non-resident entries.
@changelog_1146_li
@changelog_1149_li
For in-memory databases, queries with a "group by" column that is also a hash index threw a RuntimeException.
@changelog_1147_li
@changelog_1150_li
Improved error message for some syntax errors.
@changelog_1148_li
@changelog_1151_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_1149_li
@changelog_1152_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_1150_li
@changelog_1153_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_1151_li
@changelog_1154_li
Concurrently creating function aliases in different databases could result in the exception "javac: file not found".
@changelog_1152_li
@changelog_1155_li
The function "regexp_replace" threw the wrong kind of exception if the replacement string was invalid.
@changelog_1153_li
@changelog_1156_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_1154_li
@changelog_1157_li
MVStore table engine: new setting "retention_time" to configure the time to retain old data. The default is 45 seconds.
@changelog_1155_li
@changelog_1158_li
The method TableEngine.createTable() now returns a Table object.
@changelog_1156_li
@changelog_1159_li
For read-only databases, for the trace level "debug", the trace info is written to the temp directory.
@changelog_1157_li
@changelog_1160_li
Closing the file lock will now wait until the background thread is stopped.
@changelog_1158_li
@changelog_1161_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_1159_li
@changelog_1162_li
Improved spatial index and data type.
@changelog_1160_li
@changelog_1163_li
Issue 467: OSGi Class Loader (ability to create reference to class in other ClassLoader, for example in another OSGi bundle).
@changelog_1161_li
@changelog_1164_li
Queries "group by" that contain a subquery with an aggregate function returned the wrong result in some cases.
@changelog_1162_li
@changelog_1165_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_1163_li
@changelog_1166_li
Bug: Changes to the database structure did not result in the Session query cache being invalidated.
@changelog_1164_li
@changelog_1167_li
New feature from Davide Cavestro - allow using custom Java object serialization engines on a per-DB basis.
@changelog_1165_li
@changelog_1168_li
When running the Recover tool on very large (&gt;6G) databases, some statistics were reported with negative numbers.
@changelog_1166_li
@changelog_1169_li
Add a CONTAINS_UNCOMMITTED column to the SESSIONS metadata table, to allow detecting when rogue sessions are creating large transactions.
@changelog_1167_li
@changelog_1170_li
Some small fixes to the GEOMETRY support, patches by Nicolas Fortin.
@changelog_1168_li
@changelog_1171_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_1169_li
@changelog_1172_li
Fix DROP ALL OBJECTS and DROP SCHEMA in the presence of tables with computed column dependencies.
@changelog_1170_li
@changelog_1173_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_1171_li
@changelog_1174_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_1172_li
@changelog_1175_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_1173_li
@changelog_1176_li
Fix an LOB deadlock between reading and updating LOB columns.
@changelog_1174_li
@changelog_1177_li
Support the JDBC DatabaseMetaData#getClientInfoProperties() method, in the sense of returning an empty result, in order to make WebSphere happy.
@changelog_1175_li
@changelog_1178_li
Make Server#openBrowser respect the $BROWSER environment variable. Add "chromium" to the list of browsers tried. Patch from Felix Kaiser.
@changelog_1176_li
@changelog_1179_li
Fix to org.h2.util.ScriptReader when handling unclosed block comments.
@changelog_1177_li
@changelog_1180_li
Make org.h2.util.ScriptReader throw a better exception when handling broken scripts which generate extremely large statements.
@changelog_1178_li
@changelog_1181_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_1179_li
@changelog_1182_li
Issue 510: Make org.h2.bnf public for consumption by external projects, patch by Nicolas Fortin
@changelog_1180_li
@changelog_1183_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_1181_li
@changelog_1184_li
Issue 506: RFE: Include Thread.getName() in case of a deadlock
@changelog_1182_li
@changelog_1185_li
Adding support for "GRANT ALTER ANY SCHEMA TO &lt;user&gt;", patch by John Yates
@changelog_1183_h2
@changelog_1186_h2
Version 1.3.173 (2013-07-28)
@changelog_1184_li
@changelog_1187_li
Support empty statements that just contains a comment.
@changelog_1185_li
@changelog_1188_li
Server mode: if there was an error while reading from a LOB, the session was closed in some cases.
@changelog_1186_li
@changelog_1189_li
Issue 463: Driver name and version are now the same in OsgiDataSourceFactory and JdbcDatabaseMetaData.
@changelog_1187_li
@changelog_1190_li
JaQu: The data type VARCHAR is now (again) used for Strings (no longer TEXT, except when explicitly set).
@changelog_1188_li
@changelog_1191_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_1189_li
@changelog_1192_li
New column "information_schema.tables.row_count_estimate".
@changelog_1190_li
@changelog_1193_li
Issue 468: trunc(timestamp) could return the wrong value (+12 hours), and trunc(number) throw a NullPointerException.
@changelog_1191_li
@changelog_1194_li
The expression trunc(number) threw a NullPointerException.
@changelog_1192_li
@changelog_1195_li
Fixed a deadlock when updating LOB's concurrently. See TestLob.testDeadlock2().
@changelog_1193_li
@changelog_1196_li
Fixed a deadlock related to very large temporary result sets.
@changelog_1194_li
@changelog_1197_li
Add "-list" command line option to Shell tool so that result-list-mode can be triggered when reading from a file.
@changelog_1195_li
@changelog_1198_li
Issue 474: H2 MySQL Compatibility code fails to ignore "COMMENT" in CREATE TABLE, patch from Aaron Azeckoski.
@changelog_1196_li
@changelog_1199_li
Issue 476: Broken link in jaqu.html
@changelog_1197_li
@changelog_1200_li
Fix potential UTF8 encoding issue in org.h2.store.FileStore, reported by Juerg Spiess.
@changelog_1198_li
@changelog_1201_li
Improve error message when check constraint is broken, test case from Gili (cowwoc).
@changelog_1199_li
@changelog_1202_li
Improve error message when we have a unique constraint violation, displays the offending key in the error message.
@changelog_1200_li
@changelog_1203_li
Issue 478: Support for "SHOW TRANSACTION ISOLATION LEVEL", patch from Andrew Franklin.
@changelog_1201_li
@changelog_1204_li
Issue 475: PgServer: add support for CancelRequest, patch from Andrew Franklin.
@changelog_1202_li
@changelog_1205_li
Issue 473: PgServer missing -key option, patch from Andrew Franklin.
@changelog_1203_li
@changelog_1206_li
Issue 471: CREATE VIEW does not check user rights, patch from Andrew Franklin.
@changelog_1204_li
@changelog_1207_li
Issue 477: PgServer binary transmission of query params is unimplemented, patch from Andrew Franklin.
@changelog_1205_li
@changelog_1208_li
Issue 479: Support for SUBSTRING without a FROM condition, patch from Andrew Franklin.
@changelog_1206_li
@changelog_1209_li
Issue 472: PgServer does not work with any recent Postgres JDBC driver, patch from Andrew Franklin.
@changelog_1207_li
@changelog_1210_li
Add syntax for passing additional parameters into custom TableEngine implementations.
@changelog_1208_li
@changelog_1211_li
Issue 480: Bugfix post issue 475, 477, patch from Andrew Franklin.
@changelog_1209_li
@changelog_1212_li
Issue 481: Further extensions to PgServer to support better support PG JDBC, patch from Andrew Franklin.
@changelog_1210_li
@changelog_1213_li
Add support for spatial datatype GEOMETRY.
@changelog_1211_li
@changelog_1214_li
Add support for in-memory spatial index.
@changelog_1212_li
@changelog_1215_li
change the PageStore#changeCount field from an int to a long, to cope with databases with very high transaction rates.
@changelog_1213_li
@changelog_1216_li
Fix a NullPointerException when attempting to add foreign key reference to a view.
@changelog_1214_li
@changelog_1217_li
Add sufficient ClientInfo support to our javax.sql.Connection implementation to make WebSphere happy.
@changelog_1215_li
@changelog_1218_li
Issue 482: class LobStorageBackend$LobInputStream does not override the method InputStream.available().
@changelog_1216_li
@changelog_1219_li
Fix corruption resulting from a mix of the "WRITE_DELAY=0" option and "SELECT DISTINCT" queries that don't fit in memory.
@changelog_1217_li
@changelog_1220_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_1218_li
@changelog_1221_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_1219_li
@changelog_1222_li
MySQL compatibility, support the "AUTO_INCREMENT=3" part of the CREATE TABLE statement.
@changelog_1220_li
@changelog_1223_li
Issue 486: MySQL compatibility, support the "DEFAULT CHARSET" part of the CREATE TABLE statement.
@changelog_1221_li
@changelog_1224_li
Issue 487: support the MySQL "SET foreign_key_checks = 0" command
@changelog_1222_li
@changelog_1225_li
Issue 490: support MySQL "USING BTREE" index declaration
@changelog_1223_li
@changelog_1226_li
Issue 485: Database get corrupted when column is renamed for which check constraint was defined inside create table statement.
@changelog_1224_li
@changelog_1227_li
Issue 499: support MySQL "UNIQUE KEY (ID) USING BTREE" constraint syntax
@changelog_1225_li
@changelog_1228_li
Issue 501: "CREATE TABLE .. WITH" not serialized, patch from nico.devel
@changelog_1226_li
@changelog_1229_li
Avoid problems with runtime-compiled ALIAS methods when people have set the JAVA_TOOL_OPTIONS environment variable.
@changelog_1227_h2
@changelog_1230_h2
Version 1.3.172 (2013-05-25)
@changelog_1228_li
@changelog_1231_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_1229_li
@changelog_1232_li
The auto-analyze feature now only reads 1000 rows per table instead of 10000.
@changelog_1230_li
@changelog_1233_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_1231_li
@changelog_1234_li
Issue 454: Use Charset for type-safety.
@changelog_1232_li
@changelog_1235_li
Queries with both LIMIT and OFFSET could throw an IllegalArgumentException.
@changelog_1233_li
@changelog_1236_li
MVStore: multiple issues were fixed: 460, 461, 462, 464, 466.
@changelog_1234_li
@changelog_1237_li
MVStore: larger stores (multiple GB) are now much faster.
@changelog_1235_li
@changelog_1238_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_1236_li
@changelog_1239_li
Support TRUNC(timestamp) for improved Oracle compatibility.
@changelog_1237_li
@changelog_1240_li
Add support for CREATE TABLE TEST (ID BIGSERIAL) for PostgreSQL compatibility. Patch from Jesse Long.
@changelog_1238_li
@changelog_1241_li
Add new collation command SET BINARY_COLLATION UNSIGNED, helps with people testing BINARY columns in MySQL mode.
@changelog_1239_li
@changelog_1242_li
Issue 453: ABBA race conditions in TABLE LINK connection sharing.
@changelog_1240_li
@changelog_1243_li
Issue 449: Postgres Serial data type should not automatically be marked as primary key
@changelog_1241_li
@changelog_1244_li
Issue 406: Support "select h2version()"
@changelog_1242_li
@changelog_1245_li
Issue 389: When there is a multi-column primary key, H2 does not seem to always pick the right index
@changelog_1243_li
@changelog_1246_li
Issue 305: Implement SELECT ... FOR FETCH ONLY
@changelog_1244_li
@changelog_1247_li
Issue 274: Sybase/MSSQLServer compatibility - Add GETDATE and CHARINDEX system functions
@changelog_1245_li
@changelog_1248_li
Issue 274: Sybase/MSSQLServer compatibility - swap parameters of CONVERT function.
@changelog_1246_li
@changelog_1249_li
Issue 274: Sybase/MSSQLServer compatibility - support index clause e.g. "select * from test (index table1_index)"
@changelog_1247_li
@changelog_1250_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_1248_li
@changelog_1251_li
Issue 442: Groovy patch for SourceCompiler (function ALIAS)
@changelog_1249_li
@changelog_1252_li
Issue 459: Improve LOB documentation
@changelog_1250_h2
@changelog_1253_h2
Version 1.3.171 (2013-03-17)
@changelog_1251_li
@changelog_1254_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_1252_li
@changelog_1255_li
H2 Console: the session timeout can now be configured using the system property "h2.consoleTimeout".
@changelog_1253_li
@changelog_1256_li
Issue 431: Improved compatibility with MySQL: support for "ENGINE=InnoDB charset=UTF8" when creating a table.
@changelog_1254_li
@changelog_1257_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_1255_li
@changelog_1258_li
Issue 434: H2 Console didn't work in the Chrome browser due to a wrong viewport argument.
@changelog_1256_li
@changelog_1259_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_1257_li
@changelog_1260_li
The SQL script generated by the "script" command contained inconsistent newlines on Windows.
@changelog_1258_li
@changelog_1261_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_1259_li
@changelog_1262_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_1260_li
@changelog_1263_li
Optimize IN(...) queries: there was a bug in version 1.3.170 for comparison of the type "X IN(NULL, NULL)". Fixed.
@changelog_1261_li
@changelog_1264_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_1262_li
@changelog_1265_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_1263_li
@changelog_1266_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_1264_li
@changelog_1267_li
MVStore: encrypted stores are now supported. Only standardized algorithms are used: PBKDF2, SHA-256, XTS-AES, AES-128.
@changelog_1265_li
@changelog_1268_li
MVStore: improved API thanks to Simo Tripodi.
@changelog_1266_li
@changelog_1269_li
MVStore: maps can now be renamed.
@changelog_1267_li
@changelog_1270_li
MVStore: store the file header also at the end of each chunk, which results in a further reduced number of write operations.
@changelog_1268_li
@changelog_1271_li
MVStore: a map implementation that supports concurrent operations.
@changelog_1269_li
@changelog_1272_li
MVStore: unified exception handling; the version is included in the messages.
@changelog_1270_li
@changelog_1273_li
MVStore: old data is now retained for 45 seconds by default.
@changelog_1271_li
@changelog_1274_li
MVStore: compress is now disabled by default, and can be enabled on request.
@changelog_1272_li
@changelog_1275_li
Support ALTER TABLE ADD ... AFTER. Patch from Andrew Gaul (argaul at gmail.com). Fixes issue 401.
@changelog_1273_li
@changelog_1276_li
Improved OSGi support. H2 now registers itself as a DataSourceFactory service. Fixes issue 365.
@changelog_1274_li
@changelog_1277_li
Add a DISK_SPACE_USED system function. Fixes issue 270.
@changelog_1275_li
@changelog_1278_li
Fix a compile-time ambiguity when compiling with JDK7, thanks to a patch from Lukas Eder.
@changelog_1276_li
@changelog_1279_li
Supporting dropping an index for Lucene full-text indexes.
@changelog_1277_li
@changelog_1280_li
Optimized performance for SELECT ... ORDER BY X LIMIT Y OFFSET Z queries for in-memory databases using partial sort (by Sergi Vladykin).
@changelog_1278_li
@changelog_1281_li
Experimental off-heap memory storage engine "nioMemFS:" and "nioMemLZF:", suggestion from Mark Addleman.
@changelog_1279_li
@changelog_1282_li
Issue 438: JdbcDatabaseMetaData.getSchemas() is no longer supported as of 1.3.169.
@changelog_1280_li
@changelog_1283_li
MySQL compatibility: support for ALTER TABLE tableName MODIFY [COLUMN] columnName columnDef. Patch from Ville Koskela.
@changelog_1281_li
@changelog_1284_li
Issue 404: SHOW COLUMNS FROM tableName does not work with ALLOW_LITERALS=NUMBERS.
@changelog_1282_li
@changelog_1285_li
Throw an explicit error to make it clear we don't support the TRIGGER combination of SELECT and FOR EACH ROW.
@changelog_1283_li
@changelog_1286_li
Issue 439: Utils.sortTopN does not handle single-element arrays.
@cheatSheet_1000_h1
......
......@@ -410,7 +410,7 @@ CreateClusterツールを使用�?�る
# There is a list of keywords that can't be used as identifiers (table names, column names and so on), unless they are quoted (surrounded with double quotes). The list is currently:
@advanced_1137_code
# CROSS, CURRENT_DATE, CURRENT_TIME, CURRENT_TIMESTAMP, DISTINCT, EXCEPT, EXISTS, FALSE, FOR, FROM, FULL, GROUP, HAVING, INNER, INTERSECT, IS, JOIN, LIKE, LIMIT, MINUS, NATURAL, NOT, NULL, ON, ORDER, PRIMARY, ROWNUM, SELECT, SYSDATE, SYSTIME, SYSTIMESTAMP, TODAY, TRUE, UNION, UNIQUE, WHERE
# CROSS, CURRENT_DATE, CURRENT_TIME, CURRENT_TIMESTAMP, DISTINCT, EXCEPT, EXISTS, FALSE, FETCH, FOR, FROM, FULL, GROUP, HAVING, INNER, INTERSECT, IS, JOIN, LIKE, LIMIT, MINUS, NATURAL, NOT, NULL, OFFSET, ON, ORDER, PRIMARY, ROWNUM, SELECT, SYSDATE, SYSTIME, SYSTIMESTAMP, TODAY, TRUE, UNION, UNIQUE, WHERE
@advanced_1138_p
# Certain words of this list are keywords because they are functions that can be used without '()' for compatibility, for example <code>CURRENT_TIMESTAMP</code>.
......@@ -1853,849 +1853,858 @@ Centralリ�?ジトリ�?�利用
#Next Version (unreleased)
@changelog_1002_li
#Issue 573: Add implementation for Methods "isWrapperFor()" and "unwrap()" in other JDBC classes.
#Issue 579: Conditions on the "_rowid_" pseudo-column didn't use an index when using the MVStore.
@changelog_1003_li
#Issue 572: MySQL compatibility for "order by" in update statements.
#Fixed documentation that "offset" and "fetch" are also keywords since version 1.4.x.
@changelog_1004_li
#The Long.MIN_VALUE could not be parsed for auto-increment (identity) columns.
@changelog_1005_li
#Issue 573: Add implementation for Methods "isWrapperFor()" and "unwrap()" in other JDBC classes.
@changelog_1006_li
#Issue 572: MySQL compatibility for "order by" in update statements.
@changelog_1007_li
#The change in JDBC escape processing in version 1.4.181 affects both the parser (which is running on the server) and the JDBC API (which is running on the client). If you (or a tool you use) use the syntax "{t 'time}", or "{ts 'timestamp'}", or "{d 'data'}", then both the client and the server need to be upgraded to version 1.4.181 or later.
@changelog_1005_h2
@changelog_1008_h2
#Version 1.4.181 Beta (2014-08-06)
@changelog_1006_li
@changelog_1009_li
#Improved MySQL compatibility by supporting "use schema". Thanks a lot to Karl Pietrzak for the patch!
@changelog_1007_li
@changelog_1010_li
#Writing to the trace file is now faster, specially with the debug level.
@changelog_1008_li
@changelog_1011_li
#The database option "defrag_always=true" did not work with the MVStore.
@changelog_1009_li
@changelog_1012_li
#The JDBC escape syntax {ts 'value'} did not interpret the value as a timestamp. The same for {d 'value'} (for date) and {t 'value'} (for time). Thanks to Lukas Eder for reporting the issue. The following problem was detected after version 1.4.181 was released: The change in JDBC escape processing affects both the parser (which is running on the server) and the JDBC API (which is running on the client). If you (or a tool you use) use the syntax {t 'time'}, or {ts 'timestamp'}, or {d 'date'}, then both the client and the server need to be upgraded to version 1.4.181 or later.
@changelog_1010_li
@changelog_1013_li
#File system abstraction: support replacing existing files using move (currently not for Windows).
@changelog_1011_li
@changelog_1014_li
#The statement "shutdown defrag" now compresses the database (with the MVStore). This command can greatly reduce the file size, and is relatively fast, but is not incremental.
@changelog_1012_li
@changelog_1015_li
#The MVStore now automatically compacts the store in the background if there is no read or write activity, which should (after some time; sometimes about one minute) reduce the file size. This is still work in progress, feedback is welcome!
@changelog_1013_li
@changelog_1016_li
#Change default value of PAGE_SIZE from 2048 to 4096 to more closely match most file systems block size (PageStore only; the MVStore already used 4096).
@changelog_1014_li
@changelog_1017_li
#Auto-scale MAX_MEMORY_ROWS and CACHE_SIZE settings by the amount of available RAM. Gives a better out of box experience for people with more powerful machines.
@changelog_1015_li
@changelog_1018_li
#Handle tabs like 4 spaces in web console, patch by Martin Grajcar.
@changelog_1016_li
@changelog_1019_li
#Issue 573: Add implementation for Methods "isWrapperFor()" and "unwrap()" in JdbcConnection.java, patch by BigMichi1.
@changelog_1017_h2
@changelog_1020_h2
#Version 1.4.180 Beta (2014-07-13)
@changelog_1018_li
@changelog_1021_li
#MVStore: the store is now auto-compacted automatically up to some point, to avoid very large file sizes. This area is still work in progress.
@changelog_1019_li
@changelog_1022_li
#Sequences of temporary tables (auto-increment or identity columns) were persisted unnecessarily in the database file, and were not removed when re-opening the database.
@changelog_1020_li
@changelog_1023_li
#MVStore: an IndexOutOfBoundsException could sometimes occur MVMap.openVersion when concurrently accessing the store.
@changelog_1021_li
@changelog_1024_li
#The LIRS cache now re-sizes the internal hash map if needed.
@changelog_1022_li
@changelog_1025_li
#Optionally persist session history in the H2 console. (patch from Martin Grajcar)
@changelog_1023_li
@changelog_1026_li
#Add client-info property to get the number of servers currently in the cluster and which servers that are available. (patch from Nikolaj Fogh)
@changelog_1024_li
@changelog_1027_li
#Fix bug in changing encrypted DB password that kept the file handle open when the wrong password was supplied. (test case from Jens Hohmuth).
@changelog_1025_li
@changelog_1028_li
#Issue 567: H2 hangs for a long time then (sometimes) recovers. Introduce a queue when doing table locking to prevent session starvation.
@changelog_1026_h2
@changelog_1029_h2
#Version 1.4.179 Beta (2014-06-23)
@changelog_1027_li
@changelog_1030_li
#The license was changed to MPL 2.0 (from 1.0) and EPL 1.0.
@changelog_1028_li
@changelog_1031_li
#Issue 565: MVStore: concurrently adding LOB objects (with MULTI_THREADED option) resulted in a NullPointerException.
@changelog_1029_li
@changelog_1032_li
#MVStore: reduced dependencies to other H2 classes.
@changelog_1030_li
@changelog_1033_li
#There was a way to prevent a database from being re-opened, by creating a column constraint that references a table with a higher id, for example with "check" constraints that contains queries. This is now detected, and creating the table is prohibited. In future versions of H2, most likely creating references to other tables will no longer be supported because of such problems.
@changelog_1031_li
@changelog_1034_li
#MVStore: descending indexes with "nulls first" did not work as expected (null was ordered last).
@changelog_1032_li
@changelog_1035_li
#Large result sets now always create temporary tables instead of temporary files.
@changelog_1033_li
@changelog_1036_li
#When using the PageStore, opening a database failed in some cases with a NullPointerException if temporary tables were used (explicitly, or implicitly when using large result sets).
@changelog_1034_li
@changelog_1037_li
#If a database file in the PageStore file format exists, this file and this mode is now used, even if the database URL does not contain "MV_STORE=FALSE". If a MVStore file exists, it is used.
@changelog_1035_li
@changelog_1038_li
#Databases created with version 1.3.175 and earlier that contained foreign keys in combination with multi-column indexes could not be opened in some cases. This was due to a bugfix in version 1.3.176: Referential integrity constraints sometimes used the wrong index.
@changelog_1036_li
@changelog_1039_li
#MVStore: the ObjectDataType comparison method was incorrect if one key was Serializable and the other was of a common class.
@changelog_1037_li
@changelog_1040_li
#Recursive queries with many result rows (more than the setting "max_memory_rows") did not work correctly.
@changelog_1038_li
@changelog_1041_li
#The license has changed to MPL 2.0 + EPL 1.0.
@changelog_1039_li
@changelog_1042_li
#MVStore: temporary tables from result sets could survive re-opening a database, which could result in a ClassCastException.
@changelog_1040_li
@changelog_1043_li
#Issue 566: MVStore: unique indexes that were created later on did not work correctly if there were over 5000 rows in the table. Existing databases need to be re-created (at least the broken index need to be re-built).
@changelog_1041_li
@changelog_1044_li
#MVStore: creating secondary indexes on large tables results in missing rows in the index.
@changelog_1042_li
@changelog_1045_li
#Metadata: the password of linked tables is now only visible for admin users.
@changelog_1043_li
@changelog_1046_li
#For Windows, database URLs of the form "jdbc:h2:/test" where considered relative and did not work unless the system property "h2.implicitRelativePath" was used.
@changelog_1044_li
@changelog_1047_li
#Windows: using a base directory of "C:/" and similar did not work as expected.
@changelog_1045_li
@changelog_1048_li
#Follow JDBC specification on Procedures MetaData, use P0 as return type of procedure.
@changelog_1046_li
@changelog_1049_li
#Issue 531: IDENTITY ignored for added column.
@changelog_1047_li
@changelog_1050_li
#FileSystem: improve exception throwing compatibility with JDK
@changelog_1048_li
@changelog_1051_li
#Spatial Index: adjust costs so we do not use the spatial index if the query does not contain an intersects operator.
@changelog_1049_li
@changelog_1052_li
#Fix multi-threaded deadlock when using a View that includes a TableFunction.
@changelog_1050_li
@changelog_1053_li
#Fix bug in dividing very-small BigDecimal numbers.
@changelog_1051_h2
@changelog_1054_h2
#Version 1.4.178 Beta (2014-05-02)
@changelog_1052_li
@changelog_1055_li
#Issue 559: Make dependency on org.osgi.service.jdbc optional.
@changelog_1053_li
@changelog_1056_li
#Improve error message when the user specifies an unsupported combination of database settings.
@changelog_1054_li
@changelog_1057_li
#MVStore: in the multi-threaded mode, NullPointerException and other exceptions could occur.
@changelog_1055_li
@changelog_1058_li
#MVStore: some database file could not be compacted due to a bug in the bookkeeping of the fill rate. Also, database file were compacted quite slowly. This has been improved; but more changes in this area are expected.
@changelog_1056_li
@changelog_1059_li
#MVStore: support for volatile maps (that don't store changes).
@changelog_1057_li
@changelog_1060_li
#MVStore mode: in-memory databases now also use the MVStore.
@changelog_1058_li
@changelog_1061_li
#In server mode, appending ";autocommit=false" to the database URL was working, but the return value of Connection.getAutoCommit() was wrong.
@changelog_1059_li
@changelog_1062_li
#Issue 561: OSGi: the import package declaration of org.h2 excluded version 1.4.
@changelog_1060_li
@changelog_1063_li
#Issue 558: with the MVStore, a NullPointerException could occur when using LOBs at session commit (LobStorageMap.removeLob).
@changelog_1061_li
@changelog_1064_li
#Remove the "h2.MAX_MEMORY_ROWS_DISTINCT" system property to reduce confusion. We already have the MAX_MEMORY_ROWS setting which does a very similar thing, and is better documented.
@changelog_1062_li
@changelog_1065_li
#Issue 554: Web Console in an IFrame was not fully supported.
@changelog_1063_h2
@changelog_1066_h2
#Version 1.4.177 Beta (2014-04-12)
@changelog_1064_li
@changelog_1067_li
#By default, the MV_STORE option is enabled, so it is using the new MVStore storage. The MVCC setting is by default set to the same values as the MV_STORE setting, so it is also enabled by default. For testing, both settings can be disabled by appending ";MV_STORE=FALSE" and/or ";MVCC=FALSE" to the database URL.
@changelog_1065_li
@changelog_1068_li
#The file locking method 'serialized' is no longer supported. This mode might return in a future version, however this is not clear right now. A new implementation and new tests would be needed.
@changelog_1066_li
@changelog_1069_li
#Enable the new storage format for dates (system property "h2.storeLocalTime"). For the MVStore mode, this is always enabled, but with version 1.4 this is even enabled in the PageStore mode.
@changelog_1067_li
@changelog_1070_li
#Implicit relative paths are disabled (system property "h2.implicitRelativePath"), so that the database URL jdbc:h2:test now needs to be written as jdbc:h2:./test.
@changelog_1068_li
#"select ... fetch first 1 row only" is supported with the regular mode. This was disabled so far because "fetch" is now a keyword. See also Mode.supportOffsetFetch.
@changelog_1071_li
#"select ... fetch first 1 row only" is supported with the regular mode. This was disabled so far because "fetch" and "offset" are now keywords. See also Mode.supportOffsetFetch.
@changelog_1069_li
@changelog_1072_li
#Byte arrays are now sorted in unsigned mode (x'99' is larger than x'09'). (System property "h2.sortBinaryUnsigned", Mode.binaryUnsigned, setting "binary_collation").
@changelog_1070_li
@changelog_1073_li
#Csv.getInstance will be removed in future versions of 1.4. Use the public constructor instead.
@changelog_1071_li
@changelog_1074_li
#Remove support for the limited old-style outer join syntax using "(+)". Use "outer join" instead. System property "h2.oldStyleOuterJoin".
@changelog_1072_li
@changelog_1075_li
#Support the data type "DATETIME2" as an alias for "DATETIME", for MS SQL Server compatibility.
@changelog_1073_li
@changelog_1076_li
#Add Oracle-compatible TRANSLATE function, patch by Eric Chatellier.
@changelog_1074_h2
@changelog_1077_h2
#Version 1.3.176 (2014-04-05)
@changelog_1075_li
@changelog_1078_li
#The file locking method 'serialized' is no longer documented, as it will not be available in version 1.4.
@changelog_1076_li
@changelog_1079_li
#The static method Csv.getInstance() was removed. Use the public constructor instead.
@changelog_1077_li
@changelog_1080_li
#The default user name for the Script, RunScript, Shell, and CreateCluster tools are no longer "sa" but an empty string.
@changelog_1078_li
@changelog_1081_li
#The stack trace of the exception "The object is already closed" is no longer logged by default.
@changelog_1079_li
@changelog_1082_li
#If a value of a result set was itself a result set, the result could only be read once.
@changelog_1080_li
@changelog_1083_li
#Column constraints are also visible in views (patch from Nicolas Fortin for H2GIS).
@changelog_1081_li
@changelog_1084_li
#Granting a additional right to a role that already had a right for that table was not working.
@changelog_1082_li
@changelog_1085_li
#Spatial index: a few bugs have been fixed (using spatial constraints in views, transferring geometry objects over TCP/IP, the returned geometry object is copied when needed).
@changelog_1083_li
@changelog_1086_li
#Issue 551: the datatype documentation was incorrect (found by Bernd Eckenfels).
@changelog_1084_li
@changelog_1087_li
#Issue 368: ON DUPLICATE KEY UPDATE did not work for multi-row inserts. Test case from Angus Macdonald.
@changelog_1085_li
@changelog_1088_li
#OSGi: the package javax.tools is now imported (as an optional).
@changelog_1086_li
@changelog_1089_li
#H2 Console: auto-complete is now disabled by default, but there is a hot-key (Ctrl+Space).
@changelog_1087_li
@changelog_1090_li
#H2 Console: auto-complete did not work with multi-line statements.
@changelog_1088_li
@changelog_1091_li
#CLOB and BLOB data was not immediately removed after a rollback.
@changelog_1089_li
@changelog_1092_li
#There is a new Aggregate API that supports the internal H2 data types (GEOMETRY for example). Thanks a lot to Nicolas Fortin for the patch!
@changelog_1090_li
@changelog_1093_li
#Referential integrity constraints sometimes used the wrong index, such that updating a row in the referenced table incorrectly failed with a constraint violation.
@changelog_1091_li
@changelog_1094_li
#The Polish translation was completed and corrected by Wojtek Jurczyk. Thanks a lot!
@changelog_1092_li
@changelog_1095_li
#Issue 545: Unnecessary duplicate code was removed.
@changelog_1093_li
@changelog_1096_li
#The profiler tool can now process files with full thread dumps.
@changelog_1094_li
@changelog_1097_li
#MVStore: the file format was changed slightly.
@changelog_1095_li
@changelog_1098_li
#MVStore mode: the CLOB and BLOB storage was re-implemented and is now much faster than with the PageStore (which is still the default storage).
@changelog_1096_li
@changelog_1099_li
#MVStore mode: creating indexes is now much faster (in many cases faster than with the default PageStore).
@changelog_1097_li
@changelog_1100_li
#Various bugs in the MVStore storage and have been fixed, including a bug in the R-tree implementation. The database could get corrupt if there were transient IO exceptions while storing.
@changelog_1098_li
@changelog_1101_li
#The method org.h2.expression.Function.getCost could throw a NullPointException.
@changelog_1099_li
@changelog_1102_li
#Storing LOBs in separate files (outside of the main database file) is no longer supported for new databases.
@changelog_1100_li
@changelog_1103_li
#Lucene 2 is no longer supported.
@changelog_1101_li
@changelog_1104_li
#Fix bug in calculating default MIN and MAX values for SEQUENCE.
@changelog_1102_li
@changelog_1105_li
#Fix bug in performing IN queries with multiple values when IGNORECASE=TRUE
@changelog_1103_li
@changelog_1106_li
#Add entry-point to org.h2.tools.Shell so it can be called from inside an application. patch by Thomas Gillet.
@changelog_1104_li
@changelog_1107_li
#Fix bug that prevented the PgServer from being stopped and started multiple times.
@changelog_1105_li
@changelog_1108_li
#Support some more DDL syntax for MySQL, patch from Peter Jentsch.
@changelog_1106_li
@changelog_1109_li
#Issue 548: TO_CHAR does not format MM and DD correctly when the month or day of the month is 1 digit, patch from "the.tucc"
@changelog_1107_li
@changelog_1110_li
#Fix bug in varargs support in ALIAS's, patch from Nicolas Fortin
@changelog_1108_h2
@changelog_1111_h2
#Version 1.3.175 (2014-01-18)
@changelog_1109_li
@changelog_1112_li
#EXPLAIN was incorrect for queries with "ANY" or "SOME" conditions.
@changelog_1110_li
@changelog_1113_li
#CallableStatement with "out" parameters: running the same statement twice could result in an exception ("parameter not set").
@changelog_1111_li
@changelog_1114_li
#Union queries: duplicate rows could be returned if the sub-queries contained "order by".
@changelog_1112_li
@changelog_1115_li
#The GEOMETRY data type now works for user defined functions that return a result set.
@changelog_1113_li
@changelog_1116_li
#PostgreSQL compatibility: the PgServer was not working properly when the setting database_to_upper was set to false.
@changelog_1114_li
@changelog_1117_li
#JdbcDataSource: the methods setUrl and getUrl where added as aliases for setURL and getURL. This should solve problems with the HikariCP (Hikari connection pool).
@changelog_1115_li
@changelog_1118_li
#Issue 537: H2 Console: when loading the schema, incorrect JDBC calls where issued, which caused the exception "Column PRECISION not found".
@changelog_1116_li
@changelog_1119_li
#Improved Geometry processing (issue 535).
@changelog_1117_li
@changelog_1120_li
#The collation can now be set in the database URL, even if there are data tables, if the collection is the same as the current collation.
@changelog_1118_li
@changelog_1121_li
#Improved Oracle compatibility for CASE WHEN and DECODE.
@changelog_1119_li
@changelog_1122_li
#The statement "drop all objects" did not work if a table depends on a view via a constraint.
@changelog_1120_li
@changelog_1123_li
#Subqueries or views with "order by" an alias expression could not be executed due to a regression introduced in version 1.3.174.
@changelog_1121_li
@changelog_1124_li
#Issue 73: MySQL compatibility: support REPLACE, patch by Cemo Koc.
@changelog_1122_li
@changelog_1125_li
#The spatial index now works in MVCC mode when using the MVStore storage.
@changelog_1123_li
@changelog_1126_li
#MVStore: concurrency problems have been fixed. The API has been simplified.
@changelog_1124_li
@changelog_1127_li
#Improve error message when dropping an index that belongs to a constraint, specify constraint in error message.
@changelog_1125_li
@changelog_1128_li
#Issue 518: java.sql.Connection.commit() freezes after LOB modification with EXCLUSIVE connection
@changelog_1126_li
@changelog_1129_li
#Issue 517: Create or replace view statement has no effect on the others already existing JDBC connection
@changelog_1127_li
@changelog_1130_li
#Support 123L syntax as in Java; example: SELECT (2000000000L*2).
@changelog_1128_li
@changelog_1131_li
#Issue 520: Add support for sequence max value, min value and cycle, patch by Daniel Gredler.
@changelog_1129_li
@changelog_1132_li
#Issue 521: ScriptReader should implement Closeable
@changelog_1130_li
@changelog_1133_li
#Issue 524: RunScript.execute does not close its Statement, patch from Gaul.
@changelog_1131_li
@changelog_1134_li
#Add support for DB2 "WITH UR" clause, patch from litailang
@changelog_1132_li
@changelog_1135_li
#Added support for ON DUPLICATE KEY UPDATE like MySQL with the values() function to update with the value that was to be inserted. Patch from Jean-Francois Noel.
@changelog_1133_li
@changelog_1136_li
#Issue 522: Treat empty strings like NULL in Oracle compatibility mode, patch by Daniel Gredler.
@changelog_1134_li
@changelog_1137_li
#Issue 527: Oracle compatibility mode: incorrect scale behavior, patch by Daniel Gredler.
@changelog_1135_li
@changelog_1138_li
#Slightly reduce the memory cost of View metadata.
@changelog_1136_li
@changelog_1139_li
#Extend support of "GRANT ALTER ANY SCHEMA TO &lt;user&gt;" to allow grantee ability to manipulate tables
@changelog_1137_li
@changelog_1140_li
#Issue 532: Javadoc for ErrorCode.ROLES_AND_RIGHT_CANNOT_BE_MIXED looks wrong
@changelog_1138_li
@changelog_1141_li
#Issue 528: Add Oracle-compatible TO_CHAR function, patch by Daniel Gredler.
@changelog_1139_li
@changelog_1142_li
#Issue 534: CREATE ALIAS NOCACHE, Patch by Nicolas Fortin
@changelog_1140_li
@changelog_1143_li
#Fix an issue with storing Unicode surrogate pairs in CLOB columns.
@changelog_1141_li
@changelog_1144_li
#H2 console: add SHIFT+ENTER "run selected" functionality
@changelog_1142_li
@changelog_1145_li
#Fix bug in DB2 syntax "select * from test with ur", patch from litailang
@changelog_1143_li
@changelog_1146_li
#Fix bug in DROP ALL OBJECTS when dealing with inter-schema dependencies.
@changelog_1144_h2
@changelog_1147_h2
#Version 1.3.174 (2013-10-19)
@changelog_1145_li
@changelog_1148_li
#LIRS cache: bugfix for caches that only contain non-resident entries.
@changelog_1146_li
@changelog_1149_li
#For in-memory databases, queries with a "group by" column that is also a hash index threw a RuntimeException.
@changelog_1147_li
@changelog_1150_li
#Improved error message for some syntax errors.
@changelog_1148_li
@changelog_1151_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_1149_li
@changelog_1152_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_1150_li
@changelog_1153_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_1151_li
@changelog_1154_li
#Concurrently creating function aliases in different databases could result in the exception "javac: file not found".
@changelog_1152_li
@changelog_1155_li
#The function "regexp_replace" threw the wrong kind of exception if the replacement string was invalid.
@changelog_1153_li
@changelog_1156_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_1154_li
@changelog_1157_li
#MVStore table engine: new setting "retention_time" to configure the time to retain old data. The default is 45 seconds.
@changelog_1155_li
@changelog_1158_li
#The method TableEngine.createTable() now returns a Table object.
@changelog_1156_li
@changelog_1159_li
#For read-only databases, for the trace level "debug", the trace info is written to the temp directory.
@changelog_1157_li
@changelog_1160_li
#Closing the file lock will now wait until the background thread is stopped.
@changelog_1158_li
@changelog_1161_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_1159_li
@changelog_1162_li
#Improved spatial index and data type.
@changelog_1160_li
@changelog_1163_li
#Issue 467: OSGi Class Loader (ability to create reference to class in other ClassLoader, for example in another OSGi bundle).
@changelog_1161_li
@changelog_1164_li
#Queries "group by" that contain a subquery with an aggregate function returned the wrong result in some cases.
@changelog_1162_li
@changelog_1165_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_1163_li
@changelog_1166_li
#Bug: Changes to the database structure did not result in the Session query cache being invalidated.
@changelog_1164_li
@changelog_1167_li
#New feature from Davide Cavestro - allow using custom Java object serialization engines on a per-DB basis.
@changelog_1165_li
@changelog_1168_li
#When running the Recover tool on very large (&gt;6G) databases, some statistics were reported with negative numbers.
@changelog_1166_li
@changelog_1169_li
#Add a CONTAINS_UNCOMMITTED column to the SESSIONS metadata table, to allow detecting when rogue sessions are creating large transactions.
@changelog_1167_li
@changelog_1170_li
#Some small fixes to the GEOMETRY support, patches by Nicolas Fortin.
@changelog_1168_li
@changelog_1171_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_1169_li
@changelog_1172_li
#Fix DROP ALL OBJECTS and DROP SCHEMA in the presence of tables with computed column dependencies.
@changelog_1170_li
@changelog_1173_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_1171_li
@changelog_1174_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_1172_li
@changelog_1175_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_1173_li
@changelog_1176_li
#Fix an LOB deadlock between reading and updating LOB columns.
@changelog_1174_li
@changelog_1177_li
#Support the JDBC DatabaseMetaData#getClientInfoProperties() method, in the sense of returning an empty result, in order to make WebSphere happy.
@changelog_1175_li
@changelog_1178_li
#Make Server#openBrowser respect the $BROWSER environment variable. Add "chromium" to the list of browsers tried. Patch from Felix Kaiser.
@changelog_1176_li
@changelog_1179_li
#Fix to org.h2.util.ScriptReader when handling unclosed block comments.
@changelog_1177_li
@changelog_1180_li
#Make org.h2.util.ScriptReader throw a better exception when handling broken scripts which generate extremely large statements.
@changelog_1178_li
@changelog_1181_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_1179_li
@changelog_1182_li
#Issue 510: Make org.h2.bnf public for consumption by external projects, patch by Nicolas Fortin
@changelog_1180_li
@changelog_1183_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_1181_li
@changelog_1184_li
#Issue 506: RFE: Include Thread.getName() in case of a deadlock
@changelog_1182_li
@changelog_1185_li
#Adding support for "GRANT ALTER ANY SCHEMA TO &lt;user&gt;", patch by John Yates
@changelog_1183_h2
@changelog_1186_h2
#Version 1.3.173 (2013-07-28)
@changelog_1184_li
@changelog_1187_li
#Support empty statements that just contains a comment.
@changelog_1185_li
@changelog_1188_li
#Server mode: if there was an error while reading from a LOB, the session was closed in some cases.
@changelog_1186_li
@changelog_1189_li
#Issue 463: Driver name and version are now the same in OsgiDataSourceFactory and JdbcDatabaseMetaData.
@changelog_1187_li
@changelog_1190_li
#JaQu: The data type VARCHAR is now (again) used for Strings (no longer TEXT, except when explicitly set).
@changelog_1188_li
@changelog_1191_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_1189_li
@changelog_1192_li
#New column "information_schema.tables.row_count_estimate".
@changelog_1190_li
@changelog_1193_li
#Issue 468: trunc(timestamp) could return the wrong value (+12 hours), and trunc(number) throw a NullPointerException.
@changelog_1191_li
@changelog_1194_li
#The expression trunc(number) threw a NullPointerException.
@changelog_1192_li
@changelog_1195_li
#Fixed a deadlock when updating LOB's concurrently. See TestLob.testDeadlock2().
@changelog_1193_li
@changelog_1196_li
#Fixed a deadlock related to very large temporary result sets.
@changelog_1194_li
@changelog_1197_li
#Add "-list" command line option to Shell tool so that result-list-mode can be triggered when reading from a file.
@changelog_1195_li
@changelog_1198_li
#Issue 474: H2 MySQL Compatibility code fails to ignore "COMMENT" in CREATE TABLE, patch from Aaron Azeckoski.
@changelog_1196_li
@changelog_1199_li
#Issue 476: Broken link in jaqu.html
@changelog_1197_li
@changelog_1200_li
#Fix potential UTF8 encoding issue in org.h2.store.FileStore, reported by Juerg Spiess.
@changelog_1198_li
@changelog_1201_li
#Improve error message when check constraint is broken, test case from Gili (cowwoc).
@changelog_1199_li
@changelog_1202_li
#Improve error message when we have a unique constraint violation, displays the offending key in the error message.
@changelog_1200_li
@changelog_1203_li
#Issue 478: Support for "SHOW TRANSACTION ISOLATION LEVEL", patch from Andrew Franklin.
@changelog_1201_li
@changelog_1204_li
#Issue 475: PgServer: add support for CancelRequest, patch from Andrew Franklin.
@changelog_1202_li
@changelog_1205_li
#Issue 473: PgServer missing -key option, patch from Andrew Franklin.
@changelog_1203_li
@changelog_1206_li
#Issue 471: CREATE VIEW does not check user rights, patch from Andrew Franklin.
@changelog_1204_li
@changelog_1207_li
#Issue 477: PgServer binary transmission of query params is unimplemented, patch from Andrew Franklin.
@changelog_1205_li
@changelog_1208_li
#Issue 479: Support for SUBSTRING without a FROM condition, patch from Andrew Franklin.
@changelog_1206_li
@changelog_1209_li
#Issue 472: PgServer does not work with any recent Postgres JDBC driver, patch from Andrew Franklin.
@changelog_1207_li
@changelog_1210_li
#Add syntax for passing additional parameters into custom TableEngine implementations.
@changelog_1208_li
@changelog_1211_li
#Issue 480: Bugfix post issue 475, 477, patch from Andrew Franklin.
@changelog_1209_li
@changelog_1212_li
#Issue 481: Further extensions to PgServer to support better support PG JDBC, patch from Andrew Franklin.
@changelog_1210_li
@changelog_1213_li
#Add support for spatial datatype GEOMETRY.
@changelog_1211_li
@changelog_1214_li
#Add support for in-memory spatial index.
@changelog_1212_li
@changelog_1215_li
#change the PageStore#changeCount field from an int to a long, to cope with databases with very high transaction rates.
@changelog_1213_li
@changelog_1216_li
#Fix a NullPointerException when attempting to add foreign key reference to a view.
@changelog_1214_li
@changelog_1217_li
#Add sufficient ClientInfo support to our javax.sql.Connection implementation to make WebSphere happy.
@changelog_1215_li
@changelog_1218_li
#Issue 482: class LobStorageBackend$LobInputStream does not override the method InputStream.available().
@changelog_1216_li
@changelog_1219_li
#Fix corruption resulting from a mix of the "WRITE_DELAY=0" option and "SELECT DISTINCT" queries that don't fit in memory.
@changelog_1217_li
@changelog_1220_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_1218_li
@changelog_1221_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_1219_li
@changelog_1222_li
#MySQL compatibility, support the "AUTO_INCREMENT=3" part of the CREATE TABLE statement.
@changelog_1220_li
@changelog_1223_li
#Issue 486: MySQL compatibility, support the "DEFAULT CHARSET" part of the CREATE TABLE statement.
@changelog_1221_li
@changelog_1224_li
#Issue 487: support the MySQL "SET foreign_key_checks = 0" command
@changelog_1222_li
@changelog_1225_li
#Issue 490: support MySQL "USING BTREE" index declaration
@changelog_1223_li
@changelog_1226_li
#Issue 485: Database get corrupted when column is renamed for which check constraint was defined inside create table statement.
@changelog_1224_li
@changelog_1227_li
#Issue 499: support MySQL "UNIQUE KEY (ID) USING BTREE" constraint syntax
@changelog_1225_li
@changelog_1228_li
#Issue 501: "CREATE TABLE .. WITH" not serialized, patch from nico.devel
@changelog_1226_li
@changelog_1229_li
#Avoid problems with runtime-compiled ALIAS methods when people have set the JAVA_TOOL_OPTIONS environment variable.
@changelog_1227_h2
@changelog_1230_h2
#Version 1.3.172 (2013-05-25)
@changelog_1228_li
@changelog_1231_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_1229_li
@changelog_1232_li
#The auto-analyze feature now only reads 1000 rows per table instead of 10000.
@changelog_1230_li
@changelog_1233_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_1231_li
@changelog_1234_li
#Issue 454: Use Charset for type-safety.
@changelog_1232_li
@changelog_1235_li
#Queries with both LIMIT and OFFSET could throw an IllegalArgumentException.
@changelog_1233_li
@changelog_1236_li
#MVStore: multiple issues were fixed: 460, 461, 462, 464, 466.
@changelog_1234_li
@changelog_1237_li
#MVStore: larger stores (multiple GB) are now much faster.
@changelog_1235_li
@changelog_1238_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_1236_li
@changelog_1239_li
#Support TRUNC(timestamp) for improved Oracle compatibility.
@changelog_1237_li
@changelog_1240_li
#Add support for CREATE TABLE TEST (ID BIGSERIAL) for PostgreSQL compatibility. Patch from Jesse Long.
@changelog_1238_li
@changelog_1241_li
#Add new collation command SET BINARY_COLLATION UNSIGNED, helps with people testing BINARY columns in MySQL mode.
@changelog_1239_li
@changelog_1242_li
#Issue 453: ABBA race conditions in TABLE LINK connection sharing.
@changelog_1240_li
@changelog_1243_li
#Issue 449: Postgres Serial data type should not automatically be marked as primary key
@changelog_1241_li
@changelog_1244_li
#Issue 406: Support "select h2version()"
@changelog_1242_li
@changelog_1245_li
#Issue 389: When there is a multi-column primary key, H2 does not seem to always pick the right index
@changelog_1243_li
@changelog_1246_li
#Issue 305: Implement SELECT ... FOR FETCH ONLY
@changelog_1244_li
@changelog_1247_li
#Issue 274: Sybase/MSSQLServer compatibility - Add GETDATE and CHARINDEX system functions
@changelog_1245_li
@changelog_1248_li
#Issue 274: Sybase/MSSQLServer compatibility - swap parameters of CONVERT function.
@changelog_1246_li
@changelog_1249_li
#Issue 274: Sybase/MSSQLServer compatibility - support index clause e.g. "select * from test (index table1_index)"
@changelog_1247_li
@changelog_1250_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_1248_li
@changelog_1251_li
#Issue 442: Groovy patch for SourceCompiler (function ALIAS)
@changelog_1249_li
@changelog_1252_li
#Issue 459: Improve LOB documentation
@changelog_1250_h2
@changelog_1253_h2
#Version 1.3.171 (2013-03-17)
@changelog_1251_li
@changelog_1254_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_1252_li
@changelog_1255_li
#H2 Console: the session timeout can now be configured using the system property "h2.consoleTimeout".
@changelog_1253_li
@changelog_1256_li
#Issue 431: Improved compatibility with MySQL: support for "ENGINE=InnoDB charset=UTF8" when creating a table.
@changelog_1254_li
@changelog_1257_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_1255_li
@changelog_1258_li
#Issue 434: H2 Console didn't work in the Chrome browser due to a wrong viewport argument.
@changelog_1256_li
@changelog_1259_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_1257_li
@changelog_1260_li
#The SQL script generated by the "script" command contained inconsistent newlines on Windows.
@changelog_1258_li
@changelog_1261_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_1259_li
@changelog_1262_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_1260_li
@changelog_1263_li
#Optimize IN(...) queries: there was a bug in version 1.3.170 for comparison of the type "X IN(NULL, NULL)". Fixed.
@changelog_1261_li
@changelog_1264_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_1262_li
@changelog_1265_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_1263_li
@changelog_1266_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_1264_li
@changelog_1267_li
#MVStore: encrypted stores are now supported. Only standardized algorithms are used: PBKDF2, SHA-256, XTS-AES, AES-128.
@changelog_1265_li
@changelog_1268_li
#MVStore: improved API thanks to Simo Tripodi.
@changelog_1266_li
@changelog_1269_li
#MVStore: maps can now be renamed.
@changelog_1267_li
@changelog_1270_li
#MVStore: store the file header also at the end of each chunk, which results in a further reduced number of write operations.
@changelog_1268_li
@changelog_1271_li
#MVStore: a map implementation that supports concurrent operations.
@changelog_1269_li
@changelog_1272_li
#MVStore: unified exception handling; the version is included in the messages.
@changelog_1270_li
@changelog_1273_li
#MVStore: old data is now retained for 45 seconds by default.
@changelog_1271_li
@changelog_1274_li
#MVStore: compress is now disabled by default, and can be enabled on request.
@changelog_1272_li
@changelog_1275_li
#Support ALTER TABLE ADD ... AFTER. Patch from Andrew Gaul (argaul at gmail.com). Fixes issue 401.
@changelog_1273_li
@changelog_1276_li
#Improved OSGi support. H2 now registers itself as a DataSourceFactory service. Fixes issue 365.
@changelog_1274_li
@changelog_1277_li
#Add a DISK_SPACE_USED system function. Fixes issue 270.
@changelog_1275_li
@changelog_1278_li
#Fix a compile-time ambiguity when compiling with JDK7, thanks to a patch from Lukas Eder.
@changelog_1276_li
@changelog_1279_li
#Supporting dropping an index for Lucene full-text indexes.
@changelog_1277_li
@changelog_1280_li
#Optimized performance for SELECT ... ORDER BY X LIMIT Y OFFSET Z queries for in-memory databases using partial sort (by Sergi Vladykin).
@changelog_1278_li
@changelog_1281_li
#Experimental off-heap memory storage engine "nioMemFS:" and "nioMemLZF:", suggestion from Mark Addleman.
@changelog_1279_li
@changelog_1282_li
#Issue 438: JdbcDatabaseMetaData.getSchemas() is no longer supported as of 1.3.169.
@changelog_1280_li
@changelog_1283_li
#MySQL compatibility: support for ALTER TABLE tableName MODIFY [COLUMN] columnName columnDef. Patch from Ville Koskela.
@changelog_1281_li
@changelog_1284_li
#Issue 404: SHOW COLUMNS FROM tableName does not work with ALLOW_LITERALS=NUMBERS.
@changelog_1282_li
@changelog_1285_li
#Throw an explicit error to make it clear we don't support the TRIGGER combination of SELECT and FOR EACH ROW.
@changelog_1283_li
@changelog_1286_li
#Issue 439: Utils.sortTopN does not handle single-element arrays.
@cheatSheet_1000_h1
......
......@@ -135,7 +135,7 @@ advanced_1133_h3=Transaction Commit when Autocommit is On
advanced_1134_p=\ At this time, this database engine commits a transaction (if autocommit is switched on) just before returning the result. For a query, this means the transaction is committed even before the application scans through the result set, and before the result set is closed. Other database engines may commit the transaction in this case when the result set is closed.
advanced_1135_h3=Keywords / Reserved Words
advanced_1136_p=\ There is a list of keywords that can't be used as identifiers (table names, column names and so on), unless they are quoted (surrounded with double quotes). The list is currently\:
advanced_1137_code=\ CROSS, CURRENT_DATE, CURRENT_TIME, CURRENT_TIMESTAMP, DISTINCT, EXCEPT, EXISTS, FALSE, FOR, FROM, FULL, GROUP, HAVING, INNER, INTERSECT, IS, JOIN, LIKE, LIMIT, MINUS, NATURAL, NOT, NULL, ON, ORDER, PRIMARY, ROWNUM, SELECT, SYSDATE, SYSTIME, SYSTIMESTAMP, TODAY, TRUE, UNION, UNIQUE, WHERE
advanced_1137_code=\ CROSS, CURRENT_DATE, CURRENT_TIME, CURRENT_TIMESTAMP, DISTINCT, EXCEPT, EXISTS, FALSE, FETCH, FOR, FROM, FULL, GROUP, HAVING, INNER, INTERSECT, IS, JOIN, LIKE, LIMIT, MINUS, NATURAL, NOT, NULL, OFFSET, ON, ORDER, PRIMARY, ROWNUM, SELECT, SYSDATE, SYSTIME, SYSTIMESTAMP, TODAY, TRUE, UNION, UNIQUE, WHERE
advanced_1138_p=\ Certain words of this list are keywords because they are functions that can be used without '()' for compatibility, for example <code>CURRENT_TIMESTAMP</code>.
advanced_1139_h2=Standards Compliance
advanced_1140_p=\ This database tries to be as much standard compliant as possible. For the SQL language, ANSI/ISO is the main standard. There are several versions that refer to the release date\: SQL-92, SQL\:1999, and SQL\:2003. Unfortunately, the standard documentation is not freely available. Another problem is that important features are not standardized. Whenever this is the case, this database tries to be compatible to other databases.
......@@ -616,288 +616,291 @@ 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.
changelog_1000_h1=Change Log
changelog_1001_h2=Next Version (unreleased)
changelog_1002_li=Issue 573\: Add implementation for Methods "isWrapperFor()" and "unwrap()" in other JDBC classes.
changelog_1003_li=Issue 572\: MySQL compatibility for "order by" in update statements.
changelog_1004_li=The change in JDBC escape processing in version 1.4.181 affects both the parser (which is running on the server) and the JDBC API (which is running on the client). If you (or a tool you use) use the syntax "{t 'time}", or "{ts 'timestamp'}", or "{d 'data'}", then both the client and the server need to be upgraded to version 1.4.181 or later.
changelog_1005_h2=Version 1.4.181 Beta (2014-08-06)
changelog_1006_li=Improved MySQL compatibility by supporting "use schema". Thanks a lot to Karl Pietrzak for the patch\!
changelog_1007_li=Writing to the trace file is now faster, specially with the debug level.
changelog_1008_li=The database option "defrag_always\=true" did not work with the MVStore.
changelog_1009_li=The JDBC escape syntax {ts 'value'} did not interpret the value as a timestamp. The same for {d 'value'} (for date) and {t 'value'} (for time). Thanks to Lukas Eder for reporting the issue. The following problem was detected after version 1.4.181 was released\: The change in JDBC escape processing affects both the parser (which is running on the server) and the JDBC API (which is running on the client). If you (or a tool you use) use the syntax {t 'time'}, or {ts 'timestamp'}, or {d 'date'}, then both the client and the server need to be upgraded to version 1.4.181 or later.
changelog_1010_li=File system abstraction\: support replacing existing files using move (currently not for Windows).
changelog_1011_li=The statement "shutdown defrag" now compresses the database (with the MVStore). This command can greatly reduce the file size, and is relatively fast, but is not incremental.
changelog_1012_li=The MVStore now automatically compacts the store in the background if there is no read or write activity, which should (after some time; sometimes about one minute) reduce the file size. This is still work in progress, feedback is welcome\!
changelog_1013_li=Change default value of PAGE_SIZE from 2048 to 4096 to more closely match most file systems block size (PageStore only; the MVStore already used 4096).
changelog_1014_li=Auto-scale MAX_MEMORY_ROWS and CACHE_SIZE settings by the amount of available RAM. Gives a better out of box experience for people with more powerful machines.
changelog_1015_li=Handle tabs like 4 spaces in web console, patch by Martin Grajcar.
changelog_1016_li=Issue 573\: Add implementation for Methods "isWrapperFor()" and "unwrap()" in JdbcConnection.java, patch by BigMichi1.
changelog_1017_h2=Version 1.4.180 Beta (2014-07-13)
changelog_1018_li=MVStore\: the store is now auto-compacted automatically up to some point, to avoid very large file sizes. This area is still work in progress.
changelog_1019_li=Sequences of temporary tables (auto-increment or identity columns) were persisted unnecessarily in the database file, and were not removed when re-opening the database.
changelog_1020_li=MVStore\: an IndexOutOfBoundsException could sometimes occur MVMap.openVersion when concurrently accessing the store.
changelog_1021_li=The LIRS cache now re-sizes the internal hash map if needed.
changelog_1022_li=Optionally persist session history in the H2 console. (patch from Martin Grajcar)
changelog_1023_li=Add client-info property to get the number of servers currently in the cluster and which servers that are available. (patch from Nikolaj Fogh)
changelog_1024_li=Fix bug in changing encrypted DB password that kept the file handle open when the wrong password was supplied. (test case from Jens Hohmuth).
changelog_1025_li=Issue 567\: H2 hangs for a long time then (sometimes) recovers. Introduce a queue when doing table locking to prevent session starvation.
changelog_1026_h2=Version 1.4.179 Beta (2014-06-23)
changelog_1027_li=The license was changed to MPL 2.0 (from 1.0) and EPL 1.0.
changelog_1028_li=Issue 565\: MVStore\: concurrently adding LOB objects (with MULTI_THREADED option) resulted in a NullPointerException.
changelog_1029_li=MVStore\: reduced dependencies to other H2 classes.
changelog_1030_li=There was a way to prevent a database from being re-opened, by creating a column constraint that references a table with a higher id, for example with "check" constraints that contains queries. This is now detected, and creating the table is prohibited. In future versions of H2, most likely creating references to other tables will no longer be supported because of such problems.
changelog_1031_li=MVStore\: descending indexes with "nulls first" did not work as expected (null was ordered last).
changelog_1032_li=Large result sets now always create temporary tables instead of temporary files.
changelog_1033_li=When using the PageStore, opening a database failed in some cases with a NullPointerException if temporary tables were used (explicitly, or implicitly when using large result sets).
changelog_1034_li=If a database file in the PageStore file format exists, this file and this mode is now used, even if the database URL does not contain "MV_STORE\=FALSE". If a MVStore file exists, it is used.
changelog_1035_li=Databases created with version 1.3.175 and earlier that contained foreign keys in combination with multi-column indexes could not be opened in some cases. This was due to a bugfix in version 1.3.176\: Referential integrity constraints sometimes used the wrong index.
changelog_1036_li=MVStore\: the ObjectDataType comparison method was incorrect if one key was Serializable and the other was of a common class.
changelog_1037_li=Recursive queries with many result rows (more than the setting "max_memory_rows") did not work correctly.
changelog_1038_li=The license has changed to MPL 2.0 + EPL 1.0.
changelog_1039_li=MVStore\: temporary tables from result sets could survive re-opening a database, which could result in a ClassCastException.
changelog_1040_li=Issue 566\: MVStore\: unique indexes that were created later on did not work correctly if there were over 5000 rows in the table. Existing databases need to be re-created (at least the broken index need to be re-built).
changelog_1041_li=MVStore\: creating secondary indexes on large tables results in missing rows in the index.
changelog_1042_li=Metadata\: the password of linked tables is now only visible for admin users.
changelog_1043_li=For Windows, database URLs of the form "jdbc\:h2\:/test" where considered relative and did not work unless the system property "h2.implicitRelativePath" was used.
changelog_1044_li=Windows\: using a base directory of "C\:/" and similar did not work as expected.
changelog_1045_li=Follow JDBC specification on Procedures MetaData, use P0 as return type of procedure.
changelog_1046_li=Issue 531\: IDENTITY ignored for added column.
changelog_1047_li=FileSystem\: improve exception throwing compatibility with JDK
changelog_1048_li=Spatial Index\: adjust costs so we do not use the spatial index if the query does not contain an intersects operator.
changelog_1049_li=Fix multi-threaded deadlock when using a View that includes a TableFunction.
changelog_1050_li=Fix bug in dividing very-small BigDecimal numbers.
changelog_1051_h2=Version 1.4.178 Beta (2014-05-02)
changelog_1052_li=Issue 559\: Make dependency on org.osgi.service.jdbc optional.
changelog_1053_li=Improve error message when the user specifies an unsupported combination of database settings.
changelog_1054_li=MVStore\: in the multi-threaded mode, NullPointerException and other exceptions could occur.
changelog_1055_li=MVStore\: some database file could not be compacted due to a bug in the bookkeeping of the fill rate. Also, database file were compacted quite slowly. This has been improved; but more changes in this area are expected.
changelog_1056_li=MVStore\: support for volatile maps (that don't store changes).
changelog_1057_li=MVStore mode\: in-memory databases now also use the MVStore.
changelog_1058_li=In server mode, appending ";autocommit\=false" to the database URL was working, but the return value of Connection.getAutoCommit() was wrong.
changelog_1059_li=Issue 561\: OSGi\: the import package declaration of org.h2 excluded version 1.4.
changelog_1060_li=Issue 558\: with the MVStore, a NullPointerException could occur when using LOBs at session commit (LobStorageMap.removeLob).
changelog_1061_li=Remove the "h2.MAX_MEMORY_ROWS_DISTINCT" system property to reduce confusion. We already have the MAX_MEMORY_ROWS setting which does a very similar thing, and is better documented.
changelog_1062_li=Issue 554\: Web Console in an IFrame was not fully supported.
changelog_1063_h2=Version 1.4.177 Beta (2014-04-12)
changelog_1064_li=By default, the MV_STORE option is enabled, so it is using the new MVStore storage. The MVCC setting is by default set to the same values as the MV_STORE setting, so it is also enabled by default. For testing, both settings can be disabled by appending ";MV_STORE\=FALSE" and/or ";MVCC\=FALSE" to the database URL.
changelog_1065_li=The file locking method 'serialized' is no longer supported. This mode might return in a future version, however this is not clear right now. A new implementation and new tests would be needed.
changelog_1066_li=Enable the new storage format for dates (system property "h2.storeLocalTime"). For the MVStore mode, this is always enabled, but with version 1.4 this is even enabled in the PageStore mode.
changelog_1067_li=Implicit relative paths are disabled (system property "h2.implicitRelativePath"), so that the database URL jdbc\:h2\:test now needs to be written as jdbc\:h2\:./test.
changelog_1068_li="select ... fetch first 1 row only" is supported with the regular mode. This was disabled so far because "fetch" is now a keyword. See also Mode.supportOffsetFetch.
changelog_1069_li=Byte arrays are now sorted in unsigned mode (x'99' is larger than x'09'). (System property "h2.sortBinaryUnsigned", Mode.binaryUnsigned, setting "binary_collation").
changelog_1070_li=Csv.getInstance will be removed in future versions of 1.4. Use the public constructor instead.
changelog_1071_li=Remove support for the limited old-style outer join syntax using "(+)". Use "outer join" instead. System property "h2.oldStyleOuterJoin".
changelog_1072_li=Support the data type "DATETIME2" as an alias for "DATETIME", for MS SQL Server compatibility.
changelog_1073_li=Add Oracle-compatible TRANSLATE function, patch by Eric Chatellier.
changelog_1074_h2=Version 1.3.176 (2014-04-05)
changelog_1075_li=The file locking method 'serialized' is no longer documented, as it will not be available in version 1.4.
changelog_1076_li=The static method Csv.getInstance() was removed. Use the public constructor instead.
changelog_1077_li=The default user name for the Script, RunScript, Shell, and CreateCluster tools are no longer "sa" but an empty string.
changelog_1078_li=The stack trace of the exception "The object is already closed" is no longer logged by default.
changelog_1079_li=If a value of a result set was itself a result set, the result could only be read once.
changelog_1080_li=Column constraints are also visible in views (patch from Nicolas Fortin for H2GIS).
changelog_1081_li=Granting a additional right to a role that already had a right for that table was not working.
changelog_1082_li=Spatial index\: a few bugs have been fixed (using spatial constraints in views, transferring geometry objects over TCP/IP, the returned geometry object is copied when needed).
changelog_1083_li=Issue 551\: the datatype documentation was incorrect (found by Bernd Eckenfels).
changelog_1084_li=Issue 368\: ON DUPLICATE KEY UPDATE did not work for multi-row inserts. Test case from Angus Macdonald.
changelog_1085_li=OSGi\: the package javax.tools is now imported (as an optional).
changelog_1086_li=H2 Console\: auto-complete is now disabled by default, but there is a hot-key (Ctrl+Space).
changelog_1087_li=H2 Console\: auto-complete did not work with multi-line statements.
changelog_1088_li=CLOB and BLOB data was not immediately removed after a rollback.
changelog_1089_li=There is a new Aggregate API that supports the internal H2 data types (GEOMETRY for example). Thanks a lot to Nicolas Fortin for the patch\!
changelog_1090_li=Referential integrity constraints sometimes used the wrong index, such that updating a row in the referenced table incorrectly failed with a constraint violation.
changelog_1091_li=The Polish translation was completed and corrected by Wojtek Jurczyk. Thanks a lot\!
changelog_1092_li=Issue 545\: Unnecessary duplicate code was removed.
changelog_1093_li=The profiler tool can now process files with full thread dumps.
changelog_1094_li=MVStore\: the file format was changed slightly.
changelog_1095_li=MVStore mode\: the CLOB and BLOB storage was re-implemented and is now much faster than with the PageStore (which is still the default storage).
changelog_1096_li=MVStore mode\: creating indexes is now much faster (in many cases faster than with the default PageStore).
changelog_1097_li=Various bugs in the MVStore storage and have been fixed, including a bug in the R-tree implementation. The database could get corrupt if there were transient IO exceptions while storing.
changelog_1098_li=The method org.h2.expression.Function.getCost could throw a NullPointException.
changelog_1099_li=Storing LOBs in separate files (outside of the main database file) is no longer supported for new databases.
changelog_1100_li=Lucene 2 is no longer supported.
changelog_1101_li=Fix bug in calculating default MIN and MAX values for SEQUENCE.
changelog_1102_li=Fix bug in performing IN queries with multiple values when IGNORECASE\=TRUE
changelog_1103_li=Add entry-point to org.h2.tools.Shell so it can be called from inside an application. patch by Thomas Gillet.
changelog_1104_li=Fix bug that prevented the PgServer from being stopped and started multiple times.
changelog_1105_li=Support some more DDL syntax for MySQL, patch from Peter Jentsch.
changelog_1106_li=Issue 548\: TO_CHAR does not format MM and DD correctly when the month or day of the month is 1 digit, patch from "the.tucc"
changelog_1107_li=Fix bug in varargs support in ALIAS's, patch from Nicolas Fortin
changelog_1108_h2=Version 1.3.175 (2014-01-18)
changelog_1109_li=EXPLAIN was incorrect for queries with "ANY" or "SOME" conditions.
changelog_1110_li=CallableStatement with "out" parameters\: running the same statement twice could result in an exception ("parameter not set").
changelog_1111_li=Union queries\: duplicate rows could be returned if the sub-queries contained "order by".
changelog_1112_li=The GEOMETRY data type now works for user defined functions that return a result set.
changelog_1113_li=PostgreSQL compatibility\: the PgServer was not working properly when the setting database_to_upper was set to false.
changelog_1114_li=JdbcDataSource\: the methods setUrl and getUrl where added as aliases for setURL and getURL. This should solve problems with the HikariCP (Hikari connection pool).
changelog_1115_li=Issue 537\: H2 Console\: when loading the schema, incorrect JDBC calls where issued, which caused the exception "Column PRECISION not found".
changelog_1116_li=Improved Geometry processing (issue 535).
changelog_1117_li=The collation can now be set in the database URL, even if there are data tables, if the collection is the same as the current collation.
changelog_1118_li=Improved Oracle compatibility for CASE WHEN and DECODE.
changelog_1119_li=The statement "drop all objects" did not work if a table depends on a view via a constraint.
changelog_1120_li=Subqueries or views with "order by" an alias expression could not be executed due to a regression introduced in version 1.3.174.
changelog_1121_li=Issue 73\: MySQL compatibility\: support REPLACE, patch by Cemo Koc.
changelog_1122_li=The spatial index now works in MVCC mode when using the MVStore storage.
changelog_1123_li=MVStore\: concurrency problems have been fixed. The API has been simplified.
changelog_1124_li=Improve error message when dropping an index that belongs to a constraint, specify constraint in error message.
changelog_1125_li=Issue 518\: java.sql.Connection.commit() freezes after LOB modification with EXCLUSIVE connection
changelog_1126_li=Issue 517\: Create or replace view statement has no effect on the others already existing JDBC connection
changelog_1127_li=Support 123L syntax as in Java; example\: SELECT (2000000000L*2).
changelog_1128_li=Issue 520\: Add support for sequence max value, min value and cycle, patch by Daniel Gredler.
changelog_1129_li=Issue 521\: ScriptReader should implement Closeable
changelog_1130_li=Issue 524\: RunScript.execute does not close its Statement, patch from Gaul.
changelog_1131_li=Add support for DB2 "WITH UR" clause, patch from litailang
changelog_1132_li=Added support for ON DUPLICATE KEY UPDATE like MySQL with the values() function to update with the value that was to be inserted. Patch from Jean-Francois Noel.
changelog_1133_li=Issue 522\: Treat empty strings like NULL in Oracle compatibility mode, patch by Daniel Gredler.
changelog_1134_li=Issue 527\: Oracle compatibility mode\: incorrect scale behavior, patch by Daniel Gredler.
changelog_1135_li=Slightly reduce the memory cost of View metadata.
changelog_1136_li=Extend support of "GRANT ALTER ANY SCHEMA TO &lt;user&gt;" to allow grantee ability to manipulate tables
changelog_1137_li=Issue 532\: Javadoc for ErrorCode.ROLES_AND_RIGHT_CANNOT_BE_MIXED looks wrong
changelog_1138_li=Issue 528\: Add Oracle-compatible TO_CHAR function, patch by Daniel Gredler.
changelog_1139_li=Issue 534\: CREATE ALIAS NOCACHE, Patch by Nicolas Fortin
changelog_1140_li=Fix an issue with storing Unicode surrogate pairs in CLOB columns.
changelog_1141_li=H2 console\: add SHIFT+ENTER "run selected" functionality
changelog_1142_li=Fix bug in DB2 syntax "select * from test with ur", patch from litailang
changelog_1143_li=Fix bug in DROP ALL OBJECTS when dealing with inter-schema dependencies.
changelog_1144_h2=Version 1.3.174 (2013-10-19)
changelog_1145_li=LIRS cache\: bugfix for caches that only contain non-resident entries.
changelog_1146_li=For in-memory databases, queries with a "group by" column that is also a hash index threw a RuntimeException.
changelog_1147_li=Improved error message for some syntax errors.
changelog_1148_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_1149_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_1150_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_1151_li=Concurrently creating function aliases in different databases could result in the exception "javac\: file not found".
changelog_1152_li=The function "regexp_replace" threw the wrong kind of exception if the replacement string was invalid.
changelog_1153_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_1154_li=MVStore table engine\: new setting "retention_time" to configure the time to retain old data. The default is 45 seconds.
changelog_1155_li=The method TableEngine.createTable() now returns a Table object.
changelog_1156_li=For read-only databases, for the trace level "debug", the trace info is written to the temp directory.
changelog_1157_li=Closing the file lock will now wait until the background thread is stopped.
changelog_1158_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_1159_li=Improved spatial index and data type.
changelog_1160_li=Issue 467\: OSGi Class Loader (ability to create reference to class in other ClassLoader, for example in another OSGi bundle).
changelog_1161_li=Queries "group by" that contain a subquery with an aggregate function returned the wrong result in some cases.
changelog_1162_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_1163_li=Bug\: Changes to the database structure did not result in the Session query cache being invalidated.
changelog_1164_li=New feature from Davide Cavestro - allow using custom Java object serialization engines on a per-DB basis.
changelog_1165_li=When running the Recover tool on very large (&gt;6G) databases, some statistics were reported with negative numbers.
changelog_1166_li=Add a CONTAINS_UNCOMMITTED column to the SESSIONS metadata table, to allow detecting when rogue sessions are creating large transactions.
changelog_1167_li=Some small fixes to the GEOMETRY support, patches by Nicolas Fortin.
changelog_1168_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_1169_li=Fix DROP ALL OBJECTS and DROP SCHEMA in the presence of tables with computed column dependencies.
changelog_1170_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_1171_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_1172_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_1173_li=Fix an LOB deadlock between reading and updating LOB columns.
changelog_1174_li=Support the JDBC DatabaseMetaData\#getClientInfoProperties() method, in the sense of returning an empty result, in order to make WebSphere happy.
changelog_1175_li=Make Server\#openBrowser respect the $BROWSER environment variable. Add "chromium" to the list of browsers tried. Patch from Felix Kaiser.
changelog_1176_li=Fix to org.h2.util.ScriptReader when handling unclosed block comments.
changelog_1177_li=Make org.h2.util.ScriptReader throw a better exception when handling broken scripts which generate extremely large statements.
changelog_1178_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_1179_li=Issue 510\: Make org.h2.bnf public for consumption by external projects, patch by Nicolas Fortin
changelog_1180_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_1181_li=Issue 506\: RFE\: Include Thread.getName() in case of a deadlock
changelog_1182_li=Adding support for "GRANT ALTER ANY SCHEMA TO &lt;user&gt;", patch by John Yates
changelog_1183_h2=Version 1.3.173 (2013-07-28)
changelog_1184_li=Support empty statements that just contains a comment.
changelog_1185_li=Server mode\: if there was an error while reading from a LOB, the session was closed in some cases.
changelog_1186_li=Issue 463\: Driver name and version are now the same in OsgiDataSourceFactory and JdbcDatabaseMetaData.
changelog_1187_li=JaQu\: The data type VARCHAR is now (again) used for Strings (no longer TEXT, except when explicitly set).
changelog_1188_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_1189_li=New column "information_schema.tables.row_count_estimate".
changelog_1190_li=Issue 468\: trunc(timestamp) could return the wrong value (+12 hours), and trunc(number) throw a NullPointerException.
changelog_1191_li=The expression trunc(number) threw a NullPointerException.
changelog_1192_li=Fixed a deadlock when updating LOB's concurrently. See TestLob.testDeadlock2().
changelog_1193_li=Fixed a deadlock related to very large temporary result sets.
changelog_1194_li=Add "-list" command line option to Shell tool so that result-list-mode can be triggered when reading from a file.
changelog_1195_li=Issue 474\: H2 MySQL Compatibility code fails to ignore "COMMENT" in CREATE TABLE, patch from Aaron Azeckoski.
changelog_1196_li=Issue 476\: Broken link in jaqu.html
changelog_1197_li=Fix potential UTF8 encoding issue in org.h2.store.FileStore, reported by Juerg Spiess.
changelog_1198_li=Improve error message when check constraint is broken, test case from Gili (cowwoc).
changelog_1199_li=Improve error message when we have a unique constraint violation, displays the offending key in the error message.
changelog_1200_li=Issue 478\: Support for "SHOW TRANSACTION ISOLATION LEVEL", patch from Andrew Franklin.
changelog_1201_li=Issue 475\: PgServer\: add support for CancelRequest, patch from Andrew Franklin.
changelog_1202_li=Issue 473\: PgServer missing -key option, patch from Andrew Franklin.
changelog_1203_li=Issue 471\: CREATE VIEW does not check user rights, patch from Andrew Franklin.
changelog_1204_li=Issue 477\: PgServer binary transmission of query params is unimplemented, patch from Andrew Franklin.
changelog_1205_li=Issue 479\: Support for SUBSTRING without a FROM condition, patch from Andrew Franklin.
changelog_1206_li=Issue 472\: PgServer does not work with any recent Postgres JDBC driver, patch from Andrew Franklin.
changelog_1207_li=Add syntax for passing additional parameters into custom TableEngine implementations.
changelog_1208_li=Issue 480\: Bugfix post issue 475, 477, patch from Andrew Franklin.
changelog_1209_li=Issue 481\: Further extensions to PgServer to support better support PG JDBC, patch from Andrew Franklin.
changelog_1210_li=Add support for spatial datatype GEOMETRY.
changelog_1211_li=Add support for in-memory spatial index.
changelog_1212_li=change the PageStore\#changeCount field from an int to a long, to cope with databases with very high transaction rates.
changelog_1213_li=Fix a NullPointerException when attempting to add foreign key reference to a view.
changelog_1214_li=Add sufficient ClientInfo support to our javax.sql.Connection implementation to make WebSphere happy.
changelog_1215_li=Issue 482\: class LobStorageBackend$LobInputStream does not override the method InputStream.available().
changelog_1216_li=Fix corruption resulting from a mix of the "WRITE_DELAY\=0" option and "SELECT DISTINCT" queries that don't fit in memory.
changelog_1217_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_1218_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_1219_li=MySQL compatibility, support the "AUTO_INCREMENT\=3" part of the CREATE TABLE statement.
changelog_1220_li=Issue 486\: MySQL compatibility, support the "DEFAULT CHARSET" part of the CREATE TABLE statement.
changelog_1221_li=Issue 487\: support the MySQL "SET foreign_key_checks \= 0" command
changelog_1222_li=Issue 490\: support MySQL "USING BTREE" index declaration
changelog_1223_li=Issue 485\: Database get corrupted when column is renamed for which check constraint was defined inside create table statement.
changelog_1224_li=Issue 499\: support MySQL "UNIQUE KEY (ID) USING BTREE" constraint syntax
changelog_1225_li=Issue 501\: "CREATE TABLE .. WITH" not serialized, patch from nico.devel
changelog_1226_li=Avoid problems with runtime-compiled ALIAS methods when people have set the JAVA_TOOL_OPTIONS environment variable.
changelog_1227_h2=Version 1.3.172 (2013-05-25)
changelog_1228_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_1229_li=The auto-analyze feature now only reads 1000 rows per table instead of 10000.
changelog_1230_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_1231_li=Issue 454\: Use Charset for type-safety.
changelog_1232_li=Queries with both LIMIT and OFFSET could throw an IllegalArgumentException.
changelog_1233_li=MVStore\: multiple issues were fixed\: 460, 461, 462, 464, 466.
changelog_1234_li=MVStore\: larger stores (multiple GB) are now much faster.
changelog_1235_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_1236_li=Support TRUNC(timestamp) for improved Oracle compatibility.
changelog_1237_li=Add support for CREATE TABLE TEST (ID BIGSERIAL) for PostgreSQL compatibility. Patch from Jesse Long.
changelog_1238_li=Add new collation command SET BINARY_COLLATION UNSIGNED, helps with people testing BINARY columns in MySQL mode.
changelog_1239_li=Issue 453\: ABBA race conditions in TABLE LINK connection sharing.
changelog_1240_li=Issue 449\: Postgres Serial data type should not automatically be marked as primary key
changelog_1241_li=Issue 406\: Support "select h2version()"
changelog_1242_li=Issue 389\: When there is a multi-column primary key, H2 does not seem to always pick the right index
changelog_1243_li=Issue 305\: Implement SELECT ... FOR FETCH ONLY
changelog_1244_li=Issue 274\: Sybase/MSSQLServer compatibility - Add GETDATE and CHARINDEX system functions
changelog_1245_li=Issue 274\: Sybase/MSSQLServer compatibility - swap parameters of CONVERT function.
changelog_1246_li=Issue 274\: Sybase/MSSQLServer compatibility - support index clause e.g. "select * from test (index table1_index)"
changelog_1247_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_1248_li=Issue 442\: Groovy patch for SourceCompiler (function ALIAS)
changelog_1249_li=Issue 459\: Improve LOB documentation
changelog_1250_h2=Version 1.3.171 (2013-03-17)
changelog_1251_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_1252_li=H2 Console\: the session timeout can now be configured using the system property "h2.consoleTimeout".
changelog_1253_li=Issue 431\: Improved compatibility with MySQL\: support for "ENGINE\=InnoDB charset\=UTF8" when creating a table.
changelog_1254_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_1255_li=Issue 434\: H2 Console didn't work in the Chrome browser due to a wrong viewport argument.
changelog_1256_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_1257_li=The SQL script generated by the "script" command contained inconsistent newlines on Windows.
changelog_1258_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_1259_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_1260_li=Optimize IN(...) queries\: there was a bug in version 1.3.170 for comparison of the type "X IN(NULL, NULL)". Fixed.
changelog_1261_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_1262_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_1263_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_1264_li=MVStore\: encrypted stores are now supported. Only standardized algorithms are used\: PBKDF2, SHA-256, XTS-AES, AES-128.
changelog_1265_li=MVStore\: improved API thanks to Simo Tripodi.
changelog_1266_li=MVStore\: maps can now be renamed.
changelog_1267_li=MVStore\: store the file header also at the end of each chunk, which results in a further reduced number of write operations.
changelog_1268_li=MVStore\: a map implementation that supports concurrent operations.
changelog_1269_li=MVStore\: unified exception handling; the version is included in the messages.
changelog_1270_li=MVStore\: old data is now retained for 45 seconds by default.
changelog_1271_li=MVStore\: compress is now disabled by default, and can be enabled on request.
changelog_1272_li=Support ALTER TABLE ADD ... AFTER. Patch from Andrew Gaul (argaul at gmail.com). Fixes issue 401.
changelog_1273_li=Improved OSGi support. H2 now registers itself as a DataSourceFactory service. Fixes issue 365.
changelog_1274_li=Add a DISK_SPACE_USED system function. Fixes issue 270.
changelog_1275_li=Fix a compile-time ambiguity when compiling with JDK7, thanks to a patch from Lukas Eder.
changelog_1276_li=Supporting dropping an index for Lucene full-text indexes.
changelog_1277_li=Optimized performance for SELECT ... ORDER BY X LIMIT Y OFFSET Z queries for in-memory databases using partial sort (by Sergi Vladykin).
changelog_1278_li=Experimental off-heap memory storage engine "nioMemFS\:" and "nioMemLZF\:", suggestion from Mark Addleman.
changelog_1279_li=Issue 438\: JdbcDatabaseMetaData.getSchemas() is no longer supported as of 1.3.169.
changelog_1280_li=MySQL compatibility\: support for ALTER TABLE tableName MODIFY [COLUMN] columnName columnDef. Patch from Ville Koskela.
changelog_1281_li=Issue 404\: SHOW COLUMNS FROM tableName does not work with ALLOW_LITERALS\=NUMBERS.
changelog_1282_li=Throw an explicit error to make it clear we don't support the TRIGGER combination of SELECT and FOR EACH ROW.
changelog_1283_li=Issue 439\: Utils.sortTopN does not handle single-element arrays.
changelog_1002_li=Issue 579\: Conditions on the "_rowid_" pseudo-column didn't use an index when using the MVStore.
changelog_1003_li=Fixed documentation that "offset" and "fetch" are also keywords since version 1.4.x.
changelog_1004_li=The Long.MIN_VALUE could not be parsed for auto-increment (identity) columns.
changelog_1005_li=Issue 573\: Add implementation for Methods "isWrapperFor()" and "unwrap()" in other JDBC classes.
changelog_1006_li=Issue 572\: MySQL compatibility for "order by" in update statements.
changelog_1007_li=The change in JDBC escape processing in version 1.4.181 affects both the parser (which is running on the server) and the JDBC API (which is running on the client). If you (or a tool you use) use the syntax "{t 'time}", or "{ts 'timestamp'}", or "{d 'data'}", then both the client and the server need to be upgraded to version 1.4.181 or later.
changelog_1008_h2=Version 1.4.181 Beta (2014-08-06)
changelog_1009_li=Improved MySQL compatibility by supporting "use schema". Thanks a lot to Karl Pietrzak for the patch\!
changelog_1010_li=Writing to the trace file is now faster, specially with the debug level.
changelog_1011_li=The database option "defrag_always\=true" did not work with the MVStore.
changelog_1012_li=The JDBC escape syntax {ts 'value'} did not interpret the value as a timestamp. The same for {d 'value'} (for date) and {t 'value'} (for time). Thanks to Lukas Eder for reporting the issue. The following problem was detected after version 1.4.181 was released\: The change in JDBC escape processing affects both the parser (which is running on the server) and the JDBC API (which is running on the client). If you (or a tool you use) use the syntax {t 'time'}, or {ts 'timestamp'}, or {d 'date'}, then both the client and the server need to be upgraded to version 1.4.181 or later.
changelog_1013_li=File system abstraction\: support replacing existing files using move (currently not for Windows).
changelog_1014_li=The statement "shutdown defrag" now compresses the database (with the MVStore). This command can greatly reduce the file size, and is relatively fast, but is not incremental.
changelog_1015_li=The MVStore now automatically compacts the store in the background if there is no read or write activity, which should (after some time; sometimes about one minute) reduce the file size. This is still work in progress, feedback is welcome\!
changelog_1016_li=Change default value of PAGE_SIZE from 2048 to 4096 to more closely match most file systems block size (PageStore only; the MVStore already used 4096).
changelog_1017_li=Auto-scale MAX_MEMORY_ROWS and CACHE_SIZE settings by the amount of available RAM. Gives a better out of box experience for people with more powerful machines.
changelog_1018_li=Handle tabs like 4 spaces in web console, patch by Martin Grajcar.
changelog_1019_li=Issue 573\: Add implementation for Methods "isWrapperFor()" and "unwrap()" in JdbcConnection.java, patch by BigMichi1.
changelog_1020_h2=Version 1.4.180 Beta (2014-07-13)
changelog_1021_li=MVStore\: the store is now auto-compacted automatically up to some point, to avoid very large file sizes. This area is still work in progress.
changelog_1022_li=Sequences of temporary tables (auto-increment or identity columns) were persisted unnecessarily in the database file, and were not removed when re-opening the database.
changelog_1023_li=MVStore\: an IndexOutOfBoundsException could sometimes occur MVMap.openVersion when concurrently accessing the store.
changelog_1024_li=The LIRS cache now re-sizes the internal hash map if needed.
changelog_1025_li=Optionally persist session history in the H2 console. (patch from Martin Grajcar)
changelog_1026_li=Add client-info property to get the number of servers currently in the cluster and which servers that are available. (patch from Nikolaj Fogh)
changelog_1027_li=Fix bug in changing encrypted DB password that kept the file handle open when the wrong password was supplied. (test case from Jens Hohmuth).
changelog_1028_li=Issue 567\: H2 hangs for a long time then (sometimes) recovers. Introduce a queue when doing table locking to prevent session starvation.
changelog_1029_h2=Version 1.4.179 Beta (2014-06-23)
changelog_1030_li=The license was changed to MPL 2.0 (from 1.0) and EPL 1.0.
changelog_1031_li=Issue 565\: MVStore\: concurrently adding LOB objects (with MULTI_THREADED option) resulted in a NullPointerException.
changelog_1032_li=MVStore\: reduced dependencies to other H2 classes.
changelog_1033_li=There was a way to prevent a database from being re-opened, by creating a column constraint that references a table with a higher id, for example with "check" constraints that contains queries. This is now detected, and creating the table is prohibited. In future versions of H2, most likely creating references to other tables will no longer be supported because of such problems.
changelog_1034_li=MVStore\: descending indexes with "nulls first" did not work as expected (null was ordered last).
changelog_1035_li=Large result sets now always create temporary tables instead of temporary files.
changelog_1036_li=When using the PageStore, opening a database failed in some cases with a NullPointerException if temporary tables were used (explicitly, or implicitly when using large result sets).
changelog_1037_li=If a database file in the PageStore file format exists, this file and this mode is now used, even if the database URL does not contain "MV_STORE\=FALSE". If a MVStore file exists, it is used.
changelog_1038_li=Databases created with version 1.3.175 and earlier that contained foreign keys in combination with multi-column indexes could not be opened in some cases. This was due to a bugfix in version 1.3.176\: Referential integrity constraints sometimes used the wrong index.
changelog_1039_li=MVStore\: the ObjectDataType comparison method was incorrect if one key was Serializable and the other was of a common class.
changelog_1040_li=Recursive queries with many result rows (more than the setting "max_memory_rows") did not work correctly.
changelog_1041_li=The license has changed to MPL 2.0 + EPL 1.0.
changelog_1042_li=MVStore\: temporary tables from result sets could survive re-opening a database, which could result in a ClassCastException.
changelog_1043_li=Issue 566\: MVStore\: unique indexes that were created later on did not work correctly if there were over 5000 rows in the table. Existing databases need to be re-created (at least the broken index need to be re-built).
changelog_1044_li=MVStore\: creating secondary indexes on large tables results in missing rows in the index.
changelog_1045_li=Metadata\: the password of linked tables is now only visible for admin users.
changelog_1046_li=For Windows, database URLs of the form "jdbc\:h2\:/test" where considered relative and did not work unless the system property "h2.implicitRelativePath" was used.
changelog_1047_li=Windows\: using a base directory of "C\:/" and similar did not work as expected.
changelog_1048_li=Follow JDBC specification on Procedures MetaData, use P0 as return type of procedure.
changelog_1049_li=Issue 531\: IDENTITY ignored for added column.
changelog_1050_li=FileSystem\: improve exception throwing compatibility with JDK
changelog_1051_li=Spatial Index\: adjust costs so we do not use the spatial index if the query does not contain an intersects operator.
changelog_1052_li=Fix multi-threaded deadlock when using a View that includes a TableFunction.
changelog_1053_li=Fix bug in dividing very-small BigDecimal numbers.
changelog_1054_h2=Version 1.4.178 Beta (2014-05-02)
changelog_1055_li=Issue 559\: Make dependency on org.osgi.service.jdbc optional.
changelog_1056_li=Improve error message when the user specifies an unsupported combination of database settings.
changelog_1057_li=MVStore\: in the multi-threaded mode, NullPointerException and other exceptions could occur.
changelog_1058_li=MVStore\: some database file could not be compacted due to a bug in the bookkeeping of the fill rate. Also, database file were compacted quite slowly. This has been improved; but more changes in this area are expected.
changelog_1059_li=MVStore\: support for volatile maps (that don't store changes).
changelog_1060_li=MVStore mode\: in-memory databases now also use the MVStore.
changelog_1061_li=In server mode, appending ";autocommit\=false" to the database URL was working, but the return value of Connection.getAutoCommit() was wrong.
changelog_1062_li=Issue 561\: OSGi\: the import package declaration of org.h2 excluded version 1.4.
changelog_1063_li=Issue 558\: with the MVStore, a NullPointerException could occur when using LOBs at session commit (LobStorageMap.removeLob).
changelog_1064_li=Remove the "h2.MAX_MEMORY_ROWS_DISTINCT" system property to reduce confusion. We already have the MAX_MEMORY_ROWS setting which does a very similar thing, and is better documented.
changelog_1065_li=Issue 554\: Web Console in an IFrame was not fully supported.
changelog_1066_h2=Version 1.4.177 Beta (2014-04-12)
changelog_1067_li=By default, the MV_STORE option is enabled, so it is using the new MVStore storage. The MVCC setting is by default set to the same values as the MV_STORE setting, so it is also enabled by default. For testing, both settings can be disabled by appending ";MV_STORE\=FALSE" and/or ";MVCC\=FALSE" to the database URL.
changelog_1068_li=The file locking method 'serialized' is no longer supported. This mode might return in a future version, however this is not clear right now. A new implementation and new tests would be needed.
changelog_1069_li=Enable the new storage format for dates (system property "h2.storeLocalTime"). For the MVStore mode, this is always enabled, but with version 1.4 this is even enabled in the PageStore mode.
changelog_1070_li=Implicit relative paths are disabled (system property "h2.implicitRelativePath"), so that the database URL jdbc\:h2\:test now needs to be written as jdbc\:h2\:./test.
changelog_1071_li="select ... fetch first 1 row only" is supported with the regular mode. This was disabled so far because "fetch" and "offset" are now keywords. See also Mode.supportOffsetFetch.
changelog_1072_li=Byte arrays are now sorted in unsigned mode (x'99' is larger than x'09'). (System property "h2.sortBinaryUnsigned", Mode.binaryUnsigned, setting "binary_collation").
changelog_1073_li=Csv.getInstance will be removed in future versions of 1.4. Use the public constructor instead.
changelog_1074_li=Remove support for the limited old-style outer join syntax using "(+)". Use "outer join" instead. System property "h2.oldStyleOuterJoin".
changelog_1075_li=Support the data type "DATETIME2" as an alias for "DATETIME", for MS SQL Server compatibility.
changelog_1076_li=Add Oracle-compatible TRANSLATE function, patch by Eric Chatellier.
changelog_1077_h2=Version 1.3.176 (2014-04-05)
changelog_1078_li=The file locking method 'serialized' is no longer documented, as it will not be available in version 1.4.
changelog_1079_li=The static method Csv.getInstance() was removed. Use the public constructor instead.
changelog_1080_li=The default user name for the Script, RunScript, Shell, and CreateCluster tools are no longer "sa" but an empty string.
changelog_1081_li=The stack trace of the exception "The object is already closed" is no longer logged by default.
changelog_1082_li=If a value of a result set was itself a result set, the result could only be read once.
changelog_1083_li=Column constraints are also visible in views (patch from Nicolas Fortin for H2GIS).
changelog_1084_li=Granting a additional right to a role that already had a right for that table was not working.
changelog_1085_li=Spatial index\: a few bugs have been fixed (using spatial constraints in views, transferring geometry objects over TCP/IP, the returned geometry object is copied when needed).
changelog_1086_li=Issue 551\: the datatype documentation was incorrect (found by Bernd Eckenfels).
changelog_1087_li=Issue 368\: ON DUPLICATE KEY UPDATE did not work for multi-row inserts. Test case from Angus Macdonald.
changelog_1088_li=OSGi\: the package javax.tools is now imported (as an optional).
changelog_1089_li=H2 Console\: auto-complete is now disabled by default, but there is a hot-key (Ctrl+Space).
changelog_1090_li=H2 Console\: auto-complete did not work with multi-line statements.
changelog_1091_li=CLOB and BLOB data was not immediately removed after a rollback.
changelog_1092_li=There is a new Aggregate API that supports the internal H2 data types (GEOMETRY for example). Thanks a lot to Nicolas Fortin for the patch\!
changelog_1093_li=Referential integrity constraints sometimes used the wrong index, such that updating a row in the referenced table incorrectly failed with a constraint violation.
changelog_1094_li=The Polish translation was completed and corrected by Wojtek Jurczyk. Thanks a lot\!
changelog_1095_li=Issue 545\: Unnecessary duplicate code was removed.
changelog_1096_li=The profiler tool can now process files with full thread dumps.
changelog_1097_li=MVStore\: the file format was changed slightly.
changelog_1098_li=MVStore mode\: the CLOB and BLOB storage was re-implemented and is now much faster than with the PageStore (which is still the default storage).
changelog_1099_li=MVStore mode\: creating indexes is now much faster (in many cases faster than with the default PageStore).
changelog_1100_li=Various bugs in the MVStore storage and have been fixed, including a bug in the R-tree implementation. The database could get corrupt if there were transient IO exceptions while storing.
changelog_1101_li=The method org.h2.expression.Function.getCost could throw a NullPointException.
changelog_1102_li=Storing LOBs in separate files (outside of the main database file) is no longer supported for new databases.
changelog_1103_li=Lucene 2 is no longer supported.
changelog_1104_li=Fix bug in calculating default MIN and MAX values for SEQUENCE.
changelog_1105_li=Fix bug in performing IN queries with multiple values when IGNORECASE\=TRUE
changelog_1106_li=Add entry-point to org.h2.tools.Shell so it can be called from inside an application. patch by Thomas Gillet.
changelog_1107_li=Fix bug that prevented the PgServer from being stopped and started multiple times.
changelog_1108_li=Support some more DDL syntax for MySQL, patch from Peter Jentsch.
changelog_1109_li=Issue 548\: TO_CHAR does not format MM and DD correctly when the month or day of the month is 1 digit, patch from "the.tucc"
changelog_1110_li=Fix bug in varargs support in ALIAS's, patch from Nicolas Fortin
changelog_1111_h2=Version 1.3.175 (2014-01-18)
changelog_1112_li=EXPLAIN was incorrect for queries with "ANY" or "SOME" conditions.
changelog_1113_li=CallableStatement with "out" parameters\: running the same statement twice could result in an exception ("parameter not set").
changelog_1114_li=Union queries\: duplicate rows could be returned if the sub-queries contained "order by".
changelog_1115_li=The GEOMETRY data type now works for user defined functions that return a result set.
changelog_1116_li=PostgreSQL compatibility\: the PgServer was not working properly when the setting database_to_upper was set to false.
changelog_1117_li=JdbcDataSource\: the methods setUrl and getUrl where added as aliases for setURL and getURL. This should solve problems with the HikariCP (Hikari connection pool).
changelog_1118_li=Issue 537\: H2 Console\: when loading the schema, incorrect JDBC calls where issued, which caused the exception "Column PRECISION not found".
changelog_1119_li=Improved Geometry processing (issue 535).
changelog_1120_li=The collation can now be set in the database URL, even if there are data tables, if the collection is the same as the current collation.
changelog_1121_li=Improved Oracle compatibility for CASE WHEN and DECODE.
changelog_1122_li=The statement "drop all objects" did not work if a table depends on a view via a constraint.
changelog_1123_li=Subqueries or views with "order by" an alias expression could not be executed due to a regression introduced in version 1.3.174.
changelog_1124_li=Issue 73\: MySQL compatibility\: support REPLACE, patch by Cemo Koc.
changelog_1125_li=The spatial index now works in MVCC mode when using the MVStore storage.
changelog_1126_li=MVStore\: concurrency problems have been fixed. The API has been simplified.
changelog_1127_li=Improve error message when dropping an index that belongs to a constraint, specify constraint in error message.
changelog_1128_li=Issue 518\: java.sql.Connection.commit() freezes after LOB modification with EXCLUSIVE connection
changelog_1129_li=Issue 517\: Create or replace view statement has no effect on the others already existing JDBC connection
changelog_1130_li=Support 123L syntax as in Java; example\: SELECT (2000000000L*2).
changelog_1131_li=Issue 520\: Add support for sequence max value, min value and cycle, patch by Daniel Gredler.
changelog_1132_li=Issue 521\: ScriptReader should implement Closeable
changelog_1133_li=Issue 524\: RunScript.execute does not close its Statement, patch from Gaul.
changelog_1134_li=Add support for DB2 "WITH UR" clause, patch from litailang
changelog_1135_li=Added support for ON DUPLICATE KEY UPDATE like MySQL with the values() function to update with the value that was to be inserted. Patch from Jean-Francois Noel.
changelog_1136_li=Issue 522\: Treat empty strings like NULL in Oracle compatibility mode, patch by Daniel Gredler.
changelog_1137_li=Issue 527\: Oracle compatibility mode\: incorrect scale behavior, patch by Daniel Gredler.
changelog_1138_li=Slightly reduce the memory cost of View metadata.
changelog_1139_li=Extend support of "GRANT ALTER ANY SCHEMA TO &lt;user&gt;" to allow grantee ability to manipulate tables
changelog_1140_li=Issue 532\: Javadoc for ErrorCode.ROLES_AND_RIGHT_CANNOT_BE_MIXED looks wrong
changelog_1141_li=Issue 528\: Add Oracle-compatible TO_CHAR function, patch by Daniel Gredler.
changelog_1142_li=Issue 534\: CREATE ALIAS NOCACHE, Patch by Nicolas Fortin
changelog_1143_li=Fix an issue with storing Unicode surrogate pairs in CLOB columns.
changelog_1144_li=H2 console\: add SHIFT+ENTER "run selected" functionality
changelog_1145_li=Fix bug in DB2 syntax "select * from test with ur", patch from litailang
changelog_1146_li=Fix bug in DROP ALL OBJECTS when dealing with inter-schema dependencies.
changelog_1147_h2=Version 1.3.174 (2013-10-19)
changelog_1148_li=LIRS cache\: bugfix for caches that only contain non-resident entries.
changelog_1149_li=For in-memory databases, queries with a "group by" column that is also a hash index threw a RuntimeException.
changelog_1150_li=Improved error message for some syntax errors.
changelog_1151_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_1152_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_1153_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_1154_li=Concurrently creating function aliases in different databases could result in the exception "javac\: file not found".
changelog_1155_li=The function "regexp_replace" threw the wrong kind of exception if the replacement string was invalid.
changelog_1156_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_1157_li=MVStore table engine\: new setting "retention_time" to configure the time to retain old data. The default is 45 seconds.
changelog_1158_li=The method TableEngine.createTable() now returns a Table object.
changelog_1159_li=For read-only databases, for the trace level "debug", the trace info is written to the temp directory.
changelog_1160_li=Closing the file lock will now wait until the background thread is stopped.
changelog_1161_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_1162_li=Improved spatial index and data type.
changelog_1163_li=Issue 467\: OSGi Class Loader (ability to create reference to class in other ClassLoader, for example in another OSGi bundle).
changelog_1164_li=Queries "group by" that contain a subquery with an aggregate function returned the wrong result in some cases.
changelog_1165_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_1166_li=Bug\: Changes to the database structure did not result in the Session query cache being invalidated.
changelog_1167_li=New feature from Davide Cavestro - allow using custom Java object serialization engines on a per-DB basis.
changelog_1168_li=When running the Recover tool on very large (&gt;6G) databases, some statistics were reported with negative numbers.
changelog_1169_li=Add a CONTAINS_UNCOMMITTED column to the SESSIONS metadata table, to allow detecting when rogue sessions are creating large transactions.
changelog_1170_li=Some small fixes to the GEOMETRY support, patches by Nicolas Fortin.
changelog_1171_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_1172_li=Fix DROP ALL OBJECTS and DROP SCHEMA in the presence of tables with computed column dependencies.
changelog_1173_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_1174_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_1175_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_1176_li=Fix an LOB deadlock between reading and updating LOB columns.
changelog_1177_li=Support the JDBC DatabaseMetaData\#getClientInfoProperties() method, in the sense of returning an empty result, in order to make WebSphere happy.
changelog_1178_li=Make Server\#openBrowser respect the $BROWSER environment variable. Add "chromium" to the list of browsers tried. Patch from Felix Kaiser.
changelog_1179_li=Fix to org.h2.util.ScriptReader when handling unclosed block comments.
changelog_1180_li=Make org.h2.util.ScriptReader throw a better exception when handling broken scripts which generate extremely large statements.
changelog_1181_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_1182_li=Issue 510\: Make org.h2.bnf public for consumption by external projects, patch by Nicolas Fortin
changelog_1183_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_1184_li=Issue 506\: RFE\: Include Thread.getName() in case of a deadlock
changelog_1185_li=Adding support for "GRANT ALTER ANY SCHEMA TO &lt;user&gt;", patch by John Yates
changelog_1186_h2=Version 1.3.173 (2013-07-28)
changelog_1187_li=Support empty statements that just contains a comment.
changelog_1188_li=Server mode\: if there was an error while reading from a LOB, the session was closed in some cases.
changelog_1189_li=Issue 463\: Driver name and version are now the same in OsgiDataSourceFactory and JdbcDatabaseMetaData.
changelog_1190_li=JaQu\: The data type VARCHAR is now (again) used for Strings (no longer TEXT, except when explicitly set).
changelog_1191_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_1192_li=New column "information_schema.tables.row_count_estimate".
changelog_1193_li=Issue 468\: trunc(timestamp) could return the wrong value (+12 hours), and trunc(number) throw a NullPointerException.
changelog_1194_li=The expression trunc(number) threw a NullPointerException.
changelog_1195_li=Fixed a deadlock when updating LOB's concurrently. See TestLob.testDeadlock2().
changelog_1196_li=Fixed a deadlock related to very large temporary result sets.
changelog_1197_li=Add "-list" command line option to Shell tool so that result-list-mode can be triggered when reading from a file.
changelog_1198_li=Issue 474\: H2 MySQL Compatibility code fails to ignore "COMMENT" in CREATE TABLE, patch from Aaron Azeckoski.
changelog_1199_li=Issue 476\: Broken link in jaqu.html
changelog_1200_li=Fix potential UTF8 encoding issue in org.h2.store.FileStore, reported by Juerg Spiess.
changelog_1201_li=Improve error message when check constraint is broken, test case from Gili (cowwoc).
changelog_1202_li=Improve error message when we have a unique constraint violation, displays the offending key in the error message.
changelog_1203_li=Issue 478\: Support for "SHOW TRANSACTION ISOLATION LEVEL", patch from Andrew Franklin.
changelog_1204_li=Issue 475\: PgServer\: add support for CancelRequest, patch from Andrew Franklin.
changelog_1205_li=Issue 473\: PgServer missing -key option, patch from Andrew Franklin.
changelog_1206_li=Issue 471\: CREATE VIEW does not check user rights, patch from Andrew Franklin.
changelog_1207_li=Issue 477\: PgServer binary transmission of query params is unimplemented, patch from Andrew Franklin.
changelog_1208_li=Issue 479\: Support for SUBSTRING without a FROM condition, patch from Andrew Franklin.
changelog_1209_li=Issue 472\: PgServer does not work with any recent Postgres JDBC driver, patch from Andrew Franklin.
changelog_1210_li=Add syntax for passing additional parameters into custom TableEngine implementations.
changelog_1211_li=Issue 480\: Bugfix post issue 475, 477, patch from Andrew Franklin.
changelog_1212_li=Issue 481\: Further extensions to PgServer to support better support PG JDBC, patch from Andrew Franklin.
changelog_1213_li=Add support for spatial datatype GEOMETRY.
changelog_1214_li=Add support for in-memory spatial index.
changelog_1215_li=change the PageStore\#changeCount field from an int to a long, to cope with databases with very high transaction rates.
changelog_1216_li=Fix a NullPointerException when attempting to add foreign key reference to a view.
changelog_1217_li=Add sufficient ClientInfo support to our javax.sql.Connection implementation to make WebSphere happy.
changelog_1218_li=Issue 482\: class LobStorageBackend$LobInputStream does not override the method InputStream.available().
changelog_1219_li=Fix corruption resulting from a mix of the "WRITE_DELAY\=0" option and "SELECT DISTINCT" queries that don't fit in memory.
changelog_1220_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_1221_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_1222_li=MySQL compatibility, support the "AUTO_INCREMENT\=3" part of the CREATE TABLE statement.
changelog_1223_li=Issue 486\: MySQL compatibility, support the "DEFAULT CHARSET" part of the CREATE TABLE statement.
changelog_1224_li=Issue 487\: support the MySQL "SET foreign_key_checks \= 0" command
changelog_1225_li=Issue 490\: support MySQL "USING BTREE" index declaration
changelog_1226_li=Issue 485\: Database get corrupted when column is renamed for which check constraint was defined inside create table statement.
changelog_1227_li=Issue 499\: support MySQL "UNIQUE KEY (ID) USING BTREE" constraint syntax
changelog_1228_li=Issue 501\: "CREATE TABLE .. WITH" not serialized, patch from nico.devel
changelog_1229_li=Avoid problems with runtime-compiled ALIAS methods when people have set the JAVA_TOOL_OPTIONS environment variable.
changelog_1230_h2=Version 1.3.172 (2013-05-25)
changelog_1231_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_1232_li=The auto-analyze feature now only reads 1000 rows per table instead of 10000.
changelog_1233_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_1234_li=Issue 454\: Use Charset for type-safety.
changelog_1235_li=Queries with both LIMIT and OFFSET could throw an IllegalArgumentException.
changelog_1236_li=MVStore\: multiple issues were fixed\: 460, 461, 462, 464, 466.
changelog_1237_li=MVStore\: larger stores (multiple GB) are now much faster.
changelog_1238_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_1239_li=Support TRUNC(timestamp) for improved Oracle compatibility.
changelog_1240_li=Add support for CREATE TABLE TEST (ID BIGSERIAL) for PostgreSQL compatibility. Patch from Jesse Long.
changelog_1241_li=Add new collation command SET BINARY_COLLATION UNSIGNED, helps with people testing BINARY columns in MySQL mode.
changelog_1242_li=Issue 453\: ABBA race conditions in TABLE LINK connection sharing.
changelog_1243_li=Issue 449\: Postgres Serial data type should not automatically be marked as primary key
changelog_1244_li=Issue 406\: Support "select h2version()"
changelog_1245_li=Issue 389\: When there is a multi-column primary key, H2 does not seem to always pick the right index
changelog_1246_li=Issue 305\: Implement SELECT ... FOR FETCH ONLY
changelog_1247_li=Issue 274\: Sybase/MSSQLServer compatibility - Add GETDATE and CHARINDEX system functions
changelog_1248_li=Issue 274\: Sybase/MSSQLServer compatibility - swap parameters of CONVERT function.
changelog_1249_li=Issue 274\: Sybase/MSSQLServer compatibility - support index clause e.g. "select * from test (index table1_index)"
changelog_1250_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_1251_li=Issue 442\: Groovy patch for SourceCompiler (function ALIAS)
changelog_1252_li=Issue 459\: Improve LOB documentation
changelog_1253_h2=Version 1.3.171 (2013-03-17)
changelog_1254_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_1255_li=H2 Console\: the session timeout can now be configured using the system property "h2.consoleTimeout".
changelog_1256_li=Issue 431\: Improved compatibility with MySQL\: support for "ENGINE\=InnoDB charset\=UTF8" when creating a table.
changelog_1257_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_1258_li=Issue 434\: H2 Console didn't work in the Chrome browser due to a wrong viewport argument.
changelog_1259_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_1260_li=The SQL script generated by the "script" command contained inconsistent newlines on Windows.
changelog_1261_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_1262_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_1263_li=Optimize IN(...) queries\: there was a bug in version 1.3.170 for comparison of the type "X IN(NULL, NULL)". Fixed.
changelog_1264_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_1265_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_1266_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_1267_li=MVStore\: encrypted stores are now supported. Only standardized algorithms are used\: PBKDF2, SHA-256, XTS-AES, AES-128.
changelog_1268_li=MVStore\: improved API thanks to Simo Tripodi.
changelog_1269_li=MVStore\: maps can now be renamed.
changelog_1270_li=MVStore\: store the file header also at the end of each chunk, which results in a further reduced number of write operations.
changelog_1271_li=MVStore\: a map implementation that supports concurrent operations.
changelog_1272_li=MVStore\: unified exception handling; the version is included in the messages.
changelog_1273_li=MVStore\: old data is now retained for 45 seconds by default.
changelog_1274_li=MVStore\: compress is now disabled by default, and can be enabled on request.
changelog_1275_li=Support ALTER TABLE ADD ... AFTER. Patch from Andrew Gaul (argaul at gmail.com). Fixes issue 401.
changelog_1276_li=Improved OSGi support. H2 now registers itself as a DataSourceFactory service. Fixes issue 365.
changelog_1277_li=Add a DISK_SPACE_USED system function. Fixes issue 270.
changelog_1278_li=Fix a compile-time ambiguity when compiling with JDK7, thanks to a patch from Lukas Eder.
changelog_1279_li=Supporting dropping an index for Lucene full-text indexes.
changelog_1280_li=Optimized performance for SELECT ... ORDER BY X LIMIT Y OFFSET Z queries for in-memory databases using partial sort (by Sergi Vladykin).
changelog_1281_li=Experimental off-heap memory storage engine "nioMemFS\:" and "nioMemLZF\:", suggestion from Mark Addleman.
changelog_1282_li=Issue 438\: JdbcDatabaseMetaData.getSchemas() is no longer supported as of 1.3.169.
changelog_1283_li=MySQL compatibility\: support for ALTER TABLE tableName MODIFY [COLUMN] columnName columnDef. Patch from Ville Koskela.
changelog_1284_li=Issue 404\: SHOW COLUMNS FROM tableName does not work with ALLOW_LITERALS\=NUMBERS.
changelog_1285_li=Throw an explicit error to make it clear we don't support the TRIGGER combination of SELECT and FOR EACH ROW.
changelog_1286_li=Issue 439\: Utils.sortTopN does not handle single-element arrays.
cheatSheet_1000_h1=H2 Database Engine Cheat Sheet
cheatSheet_1001_h2=Using H2
cheatSheet_1002_a=H2
......
......@@ -179,7 +179,7 @@ public class Driver implements java.sql.Driver {
}
/**
* INTERNAL
* INTERNAL
* Sets, on a per-thread basis, the default-connection for
* user-defined functions.
*/
......
......@@ -22,7 +22,7 @@ Inserts a new row / new rows into a table."
UPDATE tableName [ [ AS ] newTableAlias ] SET
{ { columnName = { DEFAULT | expression } } [,...] } |
{ ( columnName [,...] ) = ( select ) }
[ WHERE expression ] [ LIMIT expression ] [ ORDER BY order [,...] ]
[ WHERE expression ] [ ORDER BY order [,...] ] [ LIMIT expression ]
","
Updates data in a table."
"Commands (DML)","DELETE","
......
......@@ -774,7 +774,7 @@ public class Csv implements SimpleRowSource {
}
/**
* Set the line separator.
* Set the line separator used for writing.
*
* @param lineSeparator the line separator
*/
......@@ -783,7 +783,7 @@ public class Csv implements SimpleRowSource {
}
/**
* Get the current line separator.
* Get the line separator used for writing.
*
* @return the line separator
*/
......
......@@ -79,13 +79,13 @@ public class TestOptimizations extends TestBase {
testConvertOrToIn();
deleteDb("optimizations");
}
private void testFastRowIdCondition() throws Exception {
Connection conn = getConnection("optimizations");
Statement stat = conn.createStatement();
stat.executeUpdate("create table many(id int) " +
stat.executeUpdate("create table many(id int) " +
"as select x from system_range(1, 10000)");
ResultSet rs = stat.executeQuery("explain analyze select * from many " +
ResultSet rs = stat.executeQuery("explain analyze select * from many " +
"where _rowid_ = 400");
rs.next();
assertContains(rs.getString(1), "/* scanCount: 2 */");
......
......@@ -35,7 +35,7 @@ public class TestPerfectHash extends TestBase {
test.test();
test.measure();
}
private static void largeFile() throws IOException {
String fileName = System.getProperty("user.home") + "/temp/enwiki-20140811-all-titles.txt";
RandomAccessFile f = new RandomAccessFile(fileName, "r");
......@@ -47,7 +47,7 @@ public class TestPerfectHash extends TestBase {
public int hashCode(Text o, int index, int seed) {
return o.hashCode(index, seed);
}
};
HashSet<Text> set = new HashSet<Text>();
Text t = new Text(data, 0);
......@@ -86,18 +86,18 @@ public class TestPerfectHash extends TestBase {
s = testMinimalWithString(size);
time = System.currentTimeMillis() - time;
System.out.println((double) s / size +
" bits/key (minimal; String keys) in " +
" bits/key (minimal; String keys) in " +
time + " ms");
time = System.currentTimeMillis();
s = test(size, true);
time = System.currentTimeMillis() - time;
System.out.println((double) s / size + " bits/key (minimal old) in " +
System.out.println((double) s / size + " bits/key (minimal old) in " +
time + " ms");
time = System.currentTimeMillis();
s = test(size, false);
time = System.currentTimeMillis() - time;
System.out.println((double) s / size + " bits/key (not minimal) in " +
System.out.println((double) s / size + " bits/key (not minimal) in " +
time + " ms");
}
......@@ -119,7 +119,7 @@ public class TestPerfectHash extends TestBase {
test(i, false);
}
}
private void testBrokenHashFunction() {
int size = 10000;
Random r = new Random(10000);
......@@ -138,7 +138,7 @@ public class TestPerfectHash extends TestBase {
}
return StringHash.getFastHash(o, index, seed);
}
};
byte[] desc = MinimalPerfectHash.generate(set, badHash);
testMinimal(desc, set, badHash);
......@@ -190,7 +190,7 @@ public class TestPerfectHash extends TestBase {
assertEquals(size - 1, max);
return desc.length * 8;
}
private int testMinimalWithString(int size) {
Random r = new Random(size);
HashSet<String> set = new HashSet<String>(size);
......@@ -218,30 +218,30 @@ public class TestPerfectHash extends TestBase {
}
return max;
}
/**
* A text.
*/
static class Text {
/**
* The byte data (may be shared, so must not be modified).
*/
final byte[] data;
/**
* The start location.
*/
final int start;
Text(byte[] data, int start) {
this.data = data;
this.start = start;
}
/**
* The hash code (using a universal hash function).
*
*
* @param index the hash function index
* @param seed the random seed
* @return the hash code
......@@ -257,7 +257,7 @@ public class TestPerfectHash extends TestBase {
break;
}
x = 31 + x * 0x9f3b;
result ^= x * (1 + c);
result ^= x * (1 + c);
}
return result;
}
......@@ -272,12 +272,12 @@ public class TestPerfectHash extends TestBase {
}
return end;
}
@Override
public int hashCode() {
return hashCode(0, 0);
}
@Override
public boolean equals(Object other) {
if (other == this) {
......@@ -299,7 +299,7 @@ public class TestPerfectHash extends TestBase {
}
return true;
}
@Override
public String toString() {
return new String(data, start, getEnd() - start);
......
......@@ -762,8 +762,6 @@ exploit noise ongoing disclaimers shrinks remedy party desirable timely construe
deque synchronizers affero kevent nikolaj hohmuth grajcar jens fogh hostnames
operate resized jni yjp ownable starvation reaper biased introduce epoll hangs
compaction aggressive powerful traversing pietrzak michi karl rewriting consequences
linearly patching perfect hole sip enwiki
flooding uniformly recursions happening
linearly patching perfect hole sip enwiki flooding uniformly recursions happening
......@@ -66,7 +66,7 @@ import java.util.zip.Inflater;
* theory, by patching the hash function description. With a small change,
* non-minimal perfect hash functions can be calculated (for example 1.22 bits
* per key at a fill rate of 81%).
*
*
* @param <K> the key type
*/
public class MinimalPerfectHash<K> {
......@@ -99,7 +99,7 @@ public class MinimalPerfectHash<K> {
* The minimum output value for a small bucket of a given size.
*/
private static final int[] SIZE_OFFSETS = new int[MAX_OFFSETS.length + 1];
/**
* A secure random generator.
*/
......@@ -113,7 +113,7 @@ public class MinimalPerfectHash<K> {
}
SIZE_OFFSETS[SIZE_OFFSETS.length - 1] = last;
}
/**
* The universal hash function.
*/
......@@ -124,7 +124,7 @@ public class MinimalPerfectHash<K> {
* key.
*/
private final byte[] data;
/**
* The random seed.
*/
......@@ -141,7 +141,7 @@ public class MinimalPerfectHash<K> {
* speed up calculating the hash of a key.
*/
private final int[] rootPos;
/**
* The hash function level at the root of the tree. Typically 0, except if
* the hash function at that level didn't split the entries as expected
......@@ -158,9 +158,9 @@ public class MinimalPerfectHash<K> {
public MinimalPerfectHash(byte[] desc, UniversalHash<K> hash) {
this.hash = hash;
byte[] b = data = expand(desc);
seed = ((b[0] & 255) << 24) |
((b[1] & 255) << 16) |
((b[2] & 255) << 8) |
seed = ((b[0] & 255) << 24) |
((b[1] & 255) << 16) |
((b[2] & 255) << 8) |
(b[3] & 255);
if (b[4] == SPLIT_MANY) {
rootLevel = b[b.length - 1] & 255;
......@@ -182,7 +182,7 @@ public class MinimalPerfectHash<K> {
rootPos = null;
}
}
/**
* Calculate the hash value for the given key.
*
......@@ -196,7 +196,7 @@ public class MinimalPerfectHash<K> {
/**
* Get the hash value for the given key, starting at a certain position and
* level.
*
*
* @param pos the start position
* @param x the key
* @param isRoot whether this is the root of the tree
......@@ -234,10 +234,10 @@ public class MinimalPerfectHash<K> {
}
return s + get(pos, x, false, level + 1);
}
/**
* Get the position of the next sibling.
*
*
* @param pos the position of this branch
* @return the position of the next sibling
*/
......@@ -259,10 +259,10 @@ public class MinimalPerfectHash<K> {
}
return pos;
}
/**
* The sum of the sizes between the start and end position.
*
*
* @param start the start position
* @param end the end position (excluding)
* @return the sizes
......@@ -331,7 +331,7 @@ public class MinimalPerfectHash<K> {
* @param seed the random seed
* @param out the output stream
*/
static <K> void generate(ArrayList<K> list, UniversalHash<K> hash,
static <K> void generate(ArrayList<K> list, UniversalHash<K> hash,
int level, int seed, ByteArrayOutputStream out) {
int size = list.size();
if (size <= 1) {
......@@ -339,7 +339,7 @@ public class MinimalPerfectHash<K> {
return;
}
if (level > 32) {
throw new IllegalStateException("Too many recursions; " +
throw new IllegalStateException("Too many recursions; " +
" incorrect universal hash function?");
}
if (size <= MAX_SIZE) {
......@@ -381,7 +381,7 @@ public class MinimalPerfectHash<K> {
K x = list.get(i);
ArrayList<K> l = lists.get(hash(x, hash, level, seed, 0, split));
l.add(x);
if (isRoot && split >= SPLIT_MANY &&
if (isRoot && split >= SPLIT_MANY &&
l.size() > 36 * DIVIDE * 10) {
// a bad hash function or attack was detected
level++;
......@@ -491,7 +491,7 @@ public class MinimalPerfectHash<K> {
x = (x >>> 16) ^ x;
return Math.abs(x % size);
}
private static <K> int hash(int x, int level, int offset, int size) {
x += level + offset * 16;
x = ((x >>> 16) ^ x) * 0x45d9f3b;
......@@ -586,7 +586,7 @@ public class MinimalPerfectHash<K> {
}
return out.toByteArray();
}
/**
* An interface that can calculate multiple hash values for an object. The
* returned hash value of two distinct objects may be the same for a given
......@@ -594,14 +594,14 @@ public class MinimalPerfectHash<K> {
* those objects, the returned value must eventually be different.
* <p>
* The returned value does not need to be uniformly distributed.
*
*
* @param <T> the type
*/
public interface UniversalHash<T> {
/**
* Calculate the hash of the given object.
*
*
* @param o the object
* @param index the hash function index (index 0 is used first, so the
* method should be very fast with index 0; index 1 and so on
......@@ -610,9 +610,9 @@ public class MinimalPerfectHash<K> {
* @return the hash value
*/
int hashCode(T o, int index, int seed);
}
/**
* A sample hash implementation for long keys.
*/
......@@ -633,7 +633,7 @@ public class MinimalPerfectHash<K> {
int shift = (index & 1) * 32;
return (int) (o.longValue() >>> shift);
}
}
/**
......@@ -661,7 +661,7 @@ public class MinimalPerfectHash<K> {
/**
* A cryptographically weak hash function. It is supposed to be fast.
*
*
* @param o the string
* @param index the hash function index
* @param seed the seed
......@@ -672,15 +672,15 @@ public class MinimalPerfectHash<K> {
int result = seed + o.length();
for (int i = 0; i < o.length(); i++) {
x = 31 + x * 0x9f3b;
result ^= x * (1 + o.charAt(i));
}
result ^= x * (1 + o.charAt(i));
}
return result;
}
/**
* A cryptographically relatively secure hash function. It is supposed
* to protected against hash-flooding denial-of-service attacks.
*
*
* @param o the string
* @param k0 key 0
* @param k1 key 1
......@@ -690,11 +690,11 @@ public class MinimalPerfectHash<K> {
byte[] b = o.getBytes(UTF8);
return getSipHash24(b, 0, b.length, k0, k1);
}
/**
* A cryptographically relatively secure hash function. It is supposed
* to protected against hash-flooding denial-of-service attacks.
*
*
* @param b the data
* @param start the start position
* @param end the end position plus one
......@@ -746,7 +746,7 @@ public class MinimalPerfectHash<K> {
}
return (int) (v0 ^ v1 ^ v2 ^ v3);
}
}
}
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论