提交 2906f485 authored 作者: Thomas Mueller's avatar Thomas Mueller

--no commit message

--no commit message
上级 f37b24e5
...@@ -17,7 +17,9 @@ Change Log ...@@ -17,7 +17,9 @@ Change Log
<h2>Next Version (unreleased)</h2> <h2>Next Version (unreleased)</h2>
<ul> <ul>
<li>Sometimes an exception 'File ID mismatch' or 'try to add a record twice' <li>H2 is now dual-licensed under the Eclipse Public License (EPL) and the
old 'H2 License' (which is basically MPL).
</li><li>Sometimes an exception 'File ID mismatch' or 'try to add a record twice'
occured after large records (8 KB or larger) are updated or deleted. occured after large records (8 KB or larger) are updated or deleted.
See also http://code.google.com/p/h2database/issues/detail?id=22 See also http://code.google.com/p/h2database/issues/detail?id=22
</li><li>H2 Console: The tools can now be translated </li><li>H2 Console: The tools can now be translated
......
...@@ -1001,852 +1001,855 @@ Change Log ...@@ -1001,852 +1001,855 @@ Change Log
Next Version (unreleased) Next Version (unreleased)
@changelog_1002_li @changelog_1002_li
Sometimes an exception 'File ID mismatch' or 'try to add a record twice' occured after large records (8 KB or larger) are updated or deleted. See also http://code.google.com/p/h2database/issues/detail?id=22 H2 is now dual-licensed under the Eclipse Public License (EPL) and the old 'H2 License' (which is basically MPL).
@changelog_1003_li @changelog_1003_li
H2 Console: The tools can now be translated (it didn't work in the last release). Sometimes an exception 'File ID mismatch' or 'try to add a record twice' occured after large records (8 KB or larger) are updated or deleted. See also http://code.google.com/p/h2database/issues/detail?id=22
@changelog_1004_li @changelog_1004_li
New traditional Chinese translation. Thanks a lot to Derek Chao! H2 Console: The tools can now be translated (it didn't work in the last release).
@changelog_1005_li @changelog_1005_li
New traditional Chinese translation. Thanks a lot to Derek Chao!
@changelog_1006_li
Indexes were not used when enabling the optimization for IN(SELECT...) (system property h2.optimizeInJoin) Indexes were not used when enabling the optimization for IN(SELECT...) (system property h2.optimizeInJoin)
@changelog_1006_h2 @changelog_1007_h2
Version 1.0.70 (2008-04-20) Version 1.0.70 (2008-04-20)
@changelog_1007_li @changelog_1008_li
The plan is to dual-license H2. The additional license is EPL (Eclipse Public License). The current license (MPL, Mozilla Public License) will stay. Current users are not affected because they can keep MPL. EPL is very similar to MPL, the only bigger difference is related to patents (EPL is a bit more business friendly in this regard). See also http://opensource.org/licenses/eclipse-1.0.php, http://www.eclipse.org/legal/eplfaq.php (FAQ), http://blogs.zdnet.com/Burnette/?p=131 The plan is to dual-license H2. The additional license is EPL (Eclipse Public License). The current license (MPL, Mozilla Public License) will stay. Current users are not affected because they can keep MPL. EPL is very similar to MPL, the only bigger difference is related to patents (EPL is a bit more business friendly in this regard). See also http://opensource.org/licenses/eclipse-1.0.php, http://www.eclipse.org/legal/eplfaq.php (FAQ), http://blogs.zdnet.com/Burnette/?p=131
@changelog_1008_li @changelog_1009_li
Multi version concurrency (MVCC): when a row was updated, and the updated column was not indexed, this update was visible sometimes for other sessions even if it was not committed. Multi version concurrency (MVCC): when a row was updated, and the updated column was not indexed, this update was visible sometimes for other sessions even if it was not committed.
@changelog_1009_li @changelog_1010_li
Calling SHUTDOWN on one connection and starting a query on another connection concurrently could result in a Java level deadlock. Calling SHUTDOWN on one connection and starting a query on another connection concurrently could result in a Java level deadlock.
@changelog_1010_li @changelog_1011_li
New system property h2.enableAnonymousSSL (default: true) to enable anonymous SSL connections. New system property h2.enableAnonymousSSL (default: true) to enable anonymous SSL connections.
@changelog_1011_li @changelog_1012_li
The precision if SUBSTR is now calculated if possible. The precision if SUBSTR is now calculated if possible.
@changelog_1012_li @changelog_1013_li
The autocomplete in the H2 Console has been improved a bit. The autocomplete in the H2 Console has been improved a bit.
@changelog_1013_li @changelog_1014_li
The tools in the H2 Console are now translatable. The tools in the H2 Console are now translatable.
@changelog_1014_li @changelog_1015_li
The servlet and lucene jar files are now automatically downloaded when building. The servlet and lucene jar files are now automatically downloaded when building.
@changelog_1015_li @changelog_1016_li
The code switch tool has been replaced by a simpler tool called SwitchSource that just uses find and replace. The code switch tool has been replaced by a simpler tool called SwitchSource that just uses find and replace.
@changelog_1016_li @changelog_1017_li
Started to write a Ant replacement ('JAnt') that uses pure Java build definitions. Advantages: ability to debug the build, extensible, flexible, no XML, a bit faster. Future plan: support creating custom h2 distributions (for embedded use). Maybe create a new project 'Jant' or 'Javen' if other people are interested. Started to write a Ant replacement ('JAnt') that uses pure Java build definitions. Advantages: ability to debug the build, extensible, flexible, no XML, a bit faster. Future plan: support creating custom h2 distributions (for embedded use). Maybe create a new project 'Jant' or 'Javen' if other people are interested.
@changelog_1017_li @changelog_1018_li
The jar file is now about 10% smaller because the variable debugging info is no longer included. The source file and line number debugging info is still included. If required, the jar file size of the full version can be further reduced to about 720 KB using 'build jarSmall' or even more by removing unneeded components. The jar file is now about 10% smaller because the variable debugging info is no longer included. The source file and line number debugging info is still included. If required, the jar file size of the full version can be further reduced to about 720 KB using 'build jarSmall' or even more by removing unneeded components.
@changelog_1018_li @changelog_1019_li
Added shell scripts run.sh and build.sh. chmod +x is required, but otherwise it should work. Feedback or improvements are welcome! Added shell scripts run.sh and build.sh. chmod +x is required, but otherwise it should work. Feedback or improvements are welcome!
@changelog_1019_li @changelog_1020_li
Databases in zip files: large queries are now supported. Temp files are created in the temp directory if required. The documentation how to create the zip file has been corrected. Databases in zip files: large queries are now supported. Temp files are created in the temp directory if required. The documentation how to create the zip file has been corrected.
@changelog_1020_li @changelog_1021_li
Invalid inline views threw confusing SQL exceptions. Invalid inline views threw confusing SQL exceptions.
@changelog_1021_li @changelog_1022_li
The Japanese translation of the error messages and the H2 Console has been improved. Thanks a lot to Masahiro IKEMOTO. The Japanese translation of the error messages and the H2 Console has been improved. Thanks a lot to Masahiro IKEMOTO.
@changelog_1022_li @changelog_1023_li
Optimization for MIN() and MAX() when using MVCC. Optimization for MIN() and MAX() when using MVCC.
@changelog_1023_li @changelog_1024_li
To protect against remote brute force password attacks, the delay after each unsuccessful login now gets double as long. New system properties h2.delayWrongPasswordMin and h2.delayWrongPasswordMax. To protect against remote brute force password attacks, the delay after each unsuccessful login now gets double as long. New system properties h2.delayWrongPasswordMin and h2.delayWrongPasswordMax.
@changelog_1024_li @changelog_1025_li
After setting the query timeout and then resetting it, the next query would still timeout. Fixed. After setting the query timeout and then resetting it, the next query would still timeout. Fixed.
@changelog_1025_li @changelog_1026_li
Adding a IDENTITY column to a table with data threw a lock timeout. Adding a IDENTITY column to a table with data threw a lock timeout.
@changelog_1026_li @changelog_1027_li
OutOfMemoryError could occur when using EXISTS or IN(SELECT ..). OutOfMemoryError could occur when using EXISTS or IN(SELECT ..).
@changelog_1027_li @changelog_1028_li
The built-in connection pool is not called JdbcConnectionPool. The API and documentation has been changed. The built-in connection pool is not called JdbcConnectionPool. The API and documentation has been changed.
@changelog_1028_li @changelog_1029_li
The ConvertTraceFile tool now generates SQL statement statistics at the end of the SQL script file (similar to the profiling data generated when using java -Xrunhprof). The ConvertTraceFile tool now generates SQL statement statistics at the end of the SQL script file (similar to the profiling data generated when using java -Xrunhprof).
@changelog_1029_li @changelog_1030_li
Nested joins are now supported (A JOIN B JOIN C ON .. ON ..) Nested joins are now supported (A JOIN B JOIN C ON .. ON ..)
@changelog_1030_h2 @changelog_1031_h2
Version 1.0.69 (2008-03-29) Version 1.0.69 (2008-03-29)
@changelog_1031_li @changelog_1032_li
Most command line tools can now be called from within the H2 Console. Most command line tools can now be called from within the H2 Console.
@changelog_1032_li @changelog_1033_li
A new Shell tools is now included (org.h2.tools.Shell) to query a database from the command line. A new Shell tools is now included (org.h2.tools.Shell) to query a database from the command line.
@changelog_1033_li @changelog_1034_li
The command line options in the tools have changed: instead of '-log true' now '-trace' is used. Also, '-ifExists', '-tcpSSL' and '-tcpAllowOthers' and so on have changed: now the 'true' is no longer needed. The old behavior is still supported. The command line options in the tools have changed: instead of '-log true' now '-trace' is used. Also, '-ifExists', '-tcpSSL' and '-tcpAllowOthers' and so on have changed: now the 'true' is no longer needed. The old behavior is still supported.
@changelog_1034_li @changelog_1035_li
New system property h2.sortNullsHigh to invert the default sorting behavior for NULL. The default didn't change. New system property h2.sortNullsHigh to invert the default sorting behavior for NULL. The default didn't change.
@changelog_1035_li @changelog_1036_li
Performance was very slow when using LOG=2 and deleting or updating all rows of a table in a loop. Fixed. Performance was very slow when using LOG=2 and deleting or updating all rows of a table in a loop. Fixed.
@changelog_1036_li @changelog_1037_li
ALTER TABLE or CREATE TABLE now support parameters for the password field. ALTER TABLE or CREATE TABLE now support parameters for the password field.
@changelog_1037_li @changelog_1038_li
The linear hash has been removed. It was always slower than the b-tree index, and there were some bugs that would be hard to fix. The linear hash has been removed. It was always slower than the b-tree index, and there were some bugs that would be hard to fix.
@changelog_1038_li @changelog_1039_li
TRACE_LEVEL_ settings are no longer persistent. This was a problem when database initialization code caused a lot of trace output. TRACE_LEVEL_ settings are no longer persistent. This was a problem when database initialization code caused a lot of trace output.
@changelog_1039_li @changelog_1040_li
Fulltext search (native implementation): The words table is no longer an in-memory table because this caused memory problems in some cases. Fulltext search (native implementation): The words table is no longer an in-memory table because this caused memory problems in some cases.
@changelog_1040_li @changelog_1041_li
It was possible to create a role with the name as an existing user (but not vice versa). This is not allowed any more. It was possible to create a role with the name as an existing user (but not vice versa). This is not allowed any more.
@changelog_1041_li @changelog_1042_li
The recovery tool didn't work correctly for tables without rows. The recovery tool didn't work correctly for tables without rows.
@changelog_1042_li @changelog_1043_li
For years below 1, the YEAR method didn't return the correct value, and the conversion from date and timestamp to varchar was incorrect. For years below 1, the YEAR method didn't return the correct value, and the conversion from date and timestamp to varchar was incorrect.
@changelog_1043_li @changelog_1044_li
CSVWRITE caused a NullPointerException when not specifying a nullString. CSVWRITE caused a NullPointerException when not specifying a nullString.
@changelog_1044_li @changelog_1045_li
When a log file switch occured just after a truncate table or drop table statement, the database could not be started normally (RECOVER=1 was required). Fixed. When a log file switch occured just after a truncate table or drop table statement, the database could not be started normally (RECOVER=1 was required). Fixed.
@changelog_1045_li @changelog_1046_li
When a log file switch occured in the middle of a sequence flush (sequences are only flushed every 32 values by default), the sequence value was lost. Fixed. When a log file switch occured in the middle of a sequence flush (sequences are only flushed every 32 values by default), the sequence value was lost. Fixed.
@changelog_1046_li @changelog_1047_li
Altering a sequence didn't unlock the system table when autocommit switched off. Altering a sequence didn't unlock the system table when autocommit switched off.
@changelog_1047_h2 @changelog_1048_h2
Version 1.0.68 (2008-03-18) Version 1.0.68 (2008-03-18)
@changelog_1048_li @changelog_1049_li
Very large SELECT DISTINCT and UNION EXCEPT queries are now supported, however this feature is disabled by default. To enable it, set the system property h2.maxMemoryRowsDistinct to a lower value, for example 10000. Very large SELECT DISTINCT and UNION EXCEPT queries are now supported, however this feature is disabled by default. To enable it, set the system property h2.maxMemoryRowsDistinct to a lower value, for example 10000.
@changelog_1049_li @changelog_1050_li
A error is now thrown when trying to call a method inside a trigger that implicitly commits the current transaction, if an object is locked. A error is now thrown when trying to call a method inside a trigger that implicitly commits the current transaction, if an object is locked.
@changelog_1050_li @changelog_1051_li
Unused LOB files were deleted much too late. Now they are deleted if no longer referenced in memory. Unused LOB files were deleted much too late. Now they are deleted if no longer referenced in memory.
@changelog_1051_li @changelog_1052_li
ALTER SEQUENCE and ALTER TABLE ALTER COLUMN RESTART can now be used inside a transaction. ALTER SEQUENCE and ALTER TABLE ALTER COLUMN RESTART can now be used inside a transaction.
@changelog_1052_li @changelog_1053_li
New system property h2.aliasColumnName. When enabled, aliased columns (as in SELECT ID AS I FROM TEST) return the real table and column name in ResultSetMetaData.getTableName() and getColumnName(). This is disabled by default for compatibility with other databases (HSQLDB, Apache Derby, PostgreSQL, some version of MySQL). In version 1.1 this setting will be enabled. New system property h2.aliasColumnName. When enabled, aliased columns (as in SELECT ID AS I FROM TEST) return the real table and column name in ResultSetMetaData.getTableName() and getColumnName(). This is disabled by default for compatibility with other databases (HSQLDB, Apache Derby, PostgreSQL, some version of MySQL). In version 1.1 this setting will be enabled.
@changelog_1053_li @changelog_1054_li
When using encrypted databases, and using the wrong file password, the log file was renamed if the database was not already open. Fixed. When using encrypted databases, and using the wrong file password, the log file was renamed if the database was not already open. Fixed.
@changelog_1054_li @changelog_1055_li
Improved performance when using lob files in directories (however this is still disabled by default) Improved performance when using lob files in directories (however this is still disabled by default)
@changelog_1055_li @changelog_1056_li
H2 Console: autocomplete didn't work with very large scripts. Fixed. H2 Console: autocomplete didn't work with very large scripts. Fixed.
@changelog_1056_li @changelog_1057_li
Fulltext search: new method SEARCH_DATA that returns the column names and primary keys as arrays. Fulltext search: new method SEARCH_DATA that returns the column names and primary keys as arrays.
@changelog_1057_li @changelog_1058_li
New experimental optimization for GROUP BY queries if an index can be used that matches the group by columns. To enable this optimization, set the system property h2.optimizeGroupSorted to true. New experimental optimization for GROUP BY queries if an index can be used that matches the group by columns. To enable this optimization, set the system property h2.optimizeGroupSorted to true.
@changelog_1058_li @changelog_1059_li
When using multi-version concurrency (MVCC=TRUE), duplicate rows could appear in the result set when running queries with uncommitted changes in the same session. When using multi-version concurrency (MVCC=TRUE), duplicate rows could appear in the result set when running queries with uncommitted changes in the same session.
@changelog_1059_li @changelog_1060_li
H2 Console: remote connections were very slow because getHostName/getRemoteHost was used. Fixed (now using getHostAddress/getRemoteAddr. H2 Console: remote connections were very slow because getHostName/getRemoteHost was used. Fixed (now using getHostAddress/getRemoteAddr.
@changelog_1060_li @changelog_1061_li
H2 Console: on Linux, Firefox, Konqueror, or Opera (in this order) are now started if available. This has been tested on Ubuntu. H2 Console: on Linux, Firefox, Konqueror, or Opera (in this order) are now started if available. This has been tested on Ubuntu.
@changelog_1061_li @changelog_1062_li
H2 Console: the start window works better with IKVM H2 Console: the start window works better with IKVM
@changelog_1062_li @changelog_1063_li
H2 Console: improved compatibility with Safari (Safari requires keep-alive) H2 Console: improved compatibility with Safari (Safari requires keep-alive)
@changelog_1063_li @changelog_1064_li
Random: the process didn't stop if generating the random seed using the standard way (SecureRandom.generateSeed) was very slow. Now using a daemon thread to avoid this problem. Random: the process didn't stop if generating the random seed using the standard way (SecureRandom.generateSeed) was very slow. Now using a daemon thread to avoid this problem.
@changelog_1064_li @changelog_1065_li
SELECT UNION with a different number of ORDER BY columns did throw an ArrayIndexOutOfBoundsException. SELECT UNION with a different number of ORDER BY columns did throw an ArrayIndexOutOfBoundsException.
@changelog_1065_li @changelog_1066_li
When using a view, the column precision was changed to the default scale for some data types. When using a view, the column precision was changed to the default scale for some data types.
@changelog_1066_li @changelog_1067_li
CSVWRITE now supports a 'null string' that is used for parsing and writing NULL. CSVWRITE now supports a 'null string' that is used for parsing and writing NULL.
@changelog_1067_li @changelog_1068_li
Some long running queries could not be cancelled. Some long running queries could not be cancelled.
@changelog_1068_li @changelog_1069_li
Queries with many outer join tables were very slow. Fixed. Queries with many outer join tables were very slow. Fixed.
@changelog_1069_li @changelog_1070_li
The performance of text comparison has been improved when using locale sensitive string comparison (SET COLLATOR). Now CollationKey is used with a LRU cache. The default cache size is 10000, and can be changed using the system property h2.collatorCacheSize. Use 0 to disable the cache. The performance of text comparison has been improved when using locale sensitive string comparison (SET COLLATOR). Now CollationKey is used with a LRU cache. The default cache size is 10000, and can be changed using the system property h2.collatorCacheSize. Use 0 to disable the cache.
@changelog_1070_li @changelog_1071_li
UPDATE SET column=DEFAULT is now supported. UPDATE SET column=DEFAULT is now supported.
@changelog_1071_h2 @changelog_1072_h2
Version 1.0.67 (2008-02-22) Version 1.0.67 (2008-02-22)
@changelog_1072_li @changelog_1073_li
New function FILE_READ to read a file or from an URL. Both binary and text data is supported. New function FILE_READ to read a file or from an URL. Both binary and text data is supported.
@changelog_1073_li @changelog_1074_li
CREATE TABLE AS SELECT now supports specifying the column list and data types. CREATE TABLE AS SELECT now supports specifying the column list and data types.
@changelog_1074_li @changelog_1075_li
Connecting to a TCP server and at shutting it down at the same time could cause a Java level deadlock. Connecting to a TCP server and at shutting it down at the same time could cause a Java level deadlock.
@changelog_1075_li @changelog_1076_li
A user now has all rights on his own local temporary tables. A user now has all rights on his own local temporary tables.
@changelog_1076_li @changelog_1077_li
The CSV tool now supports a custom lineSeparator. The CSV tool now supports a custom lineSeparator.
@changelog_1077_li @changelog_1078_li
When using multiple connections, empty space was reused too early sometimes. This could corrupt the database when recovering. When using multiple connections, empty space was reused too early sometimes. This could corrupt the database when recovering.
@changelog_1078_li @changelog_1079_li
The H2 Console has been translated to Dutch. Thanks a lot to Remco Schoen! The H2 Console has been translated to Dutch. Thanks a lot to Remco Schoen!
@changelog_1079_li @changelog_1080_li
Databases can now be opened even if trigger classes are not in the classpath. The exception is thrown when trying to fire the trigger. Databases can now be opened even if trigger classes are not in the classpath. The exception is thrown when trying to fire the trigger.
@changelog_1080_li @changelog_1081_li
Opening databases with ACCESS_MODE_DATA=r is now supported. In this case the database is read-only, but the files don't not need to be read-only. Opening databases with ACCESS_MODE_DATA=r is now supported. In this case the database is read-only, but the files don't not need to be read-only.
@changelog_1081_li @changelog_1082_li
Security: The database now waits 200 ms before throwing an exception if the user name or password don't match, to slow down dictionary attacks. Security: The database now waits 200 ms before throwing an exception if the user name or password don't match, to slow down dictionary attacks.
@changelog_1082_li @changelog_1083_li
The value cache is now a soft reference cache. This should help save memory. The value cache is now a soft reference cache. This should help save memory.
@changelog_1083_li @changelog_1084_li
CREATE INDEX on a table with many rows could run out of memory. Fixed. CREATE INDEX on a table with many rows could run out of memory. Fixed.
@changelog_1084_li @changelog_1085_li
Large result sets are now a bit faster. Large result sets are now a bit faster.
@changelog_1085_li @changelog_1086_li
ALTER TABLE ALTER COLUMN RESTART and ALTER SEQUENCE now support parameters (any expressions). ALTER TABLE ALTER COLUMN RESTART and ALTER SEQUENCE now support parameters (any expressions).
@changelog_1086_li @changelog_1087_li
When setting the base directory on the command line, the user directory prefix ('~') was ignored. When setting the base directory on the command line, the user directory prefix ('~') was ignored.
@changelog_1087_li @changelog_1088_li
The DbStarter servlet didn't start the TCP listener even if configured. The DbStarter servlet didn't start the TCP listener even if configured.
@changelog_1088_li @changelog_1089_li
Statement.setQueryTimeout() is now supported. Statement.setQueryTimeout() is now supported.
@changelog_1089_li @changelog_1090_li
New session setting QUERY_TIMEOUT, and new system property h2.maxQueryTimeout. New session setting QUERY_TIMEOUT, and new system property h2.maxQueryTimeout.
@changelog_1090_li @changelog_1091_li
Changing the transaction log level (SET LOG) is now written to the trace file by default. Changing the transaction log level (SET LOG) is now written to the trace file by default.
@changelog_1091_li @changelog_1092_li
In a SQL script, primary key constraints are now ordered before foreign key constraints. In a SQL script, primary key constraints are now ordered before foreign key constraints.
@changelog_1092_li @changelog_1093_li
It was not possible to create a referential constraint to a table in a different schema in some situations. It was not possible to create a referential constraint to a table in a different schema in some situations.
@changelog_1093_li @changelog_1094_li
The H2 Console was slow when the database contains many tables. Now the column names are not shown in this case. The H2 Console was slow when the database contains many tables. Now the column names are not shown in this case.
@changelog_1094_h2 @changelog_1095_h2
Version 1.0.66 (2008-02-02) Version 1.0.66 (2008-02-02)
@changelog_1095_li @changelog_1096_li
There is a new online error analyzer tool. There is a new online error analyzer tool.
@changelog_1096_li @changelog_1097_li
H2 Console: stack traces are now links to the source code in the source repository (H2 database only). H2 Console: stack traces are now links to the source code in the source repository (H2 database only).
@changelog_1097_li @changelog_1098_li
CHAR data type equals comparison was case insensitive instead of case sensitive. CHAR data type equals comparison was case insensitive instead of case sensitive.
@changelog_1098_li @changelog_1099_li
The exception 'Value too long for column' now includes the data. The exception 'Value too long for column' now includes the data.
@changelog_1099_li @changelog_1100_li
The table name was missing in the documentation of CREATE INDEX. The table name was missing in the documentation of CREATE INDEX.
@changelog_1100_li @changelog_1101_li
Better support for IKVM (www.ikvm.net): the H2 Console now opens a browser window. Better support for IKVM (www.ikvm.net): the H2 Console now opens a browser window.
@changelog_1101_li @changelog_1102_li
The cache size was not correctly calculated for tables with large objects (specially if compression is used). This could lead to out-of-memory exceptions. The cache size was not correctly calculated for tables with large objects (specially if compression is used). This could lead to out-of-memory exceptions.
@changelog_1102_li @changelog_1103_li
The exception "Hexadecimal string contains non-hex character" was not always thrown when it should have been. Fixed. The exception "Hexadecimal string contains non-hex character" was not always thrown when it should have been. Fixed.
@changelog_1103_li @changelog_1104_li
The H2 Console now provides a link to the documentation when an error occurs (H2 databases only so far). The H2 Console now provides a link to the documentation when an error occurs (H2 databases only so far).
@changelog_1104_li @changelog_1105_li
The acting as PostgreSQL server, when a base directory was set, and the H2 Console was started as well, the base directory was applied twice. The acting as PostgreSQL server, when a base directory was set, and the H2 Console was started as well, the base directory was applied twice.
@changelog_1105_li @changelog_1106_li
Calling EXTRACT(HOUR FROM ...) or EXTRACT(HH FROM ...) returned the wrong values (0 to 11 instead of 0 to 23). All other tested databases return values from 0 to 23. Please check if your application relies on the old behavior before upgrading. Calling EXTRACT(HOUR FROM ...) or EXTRACT(HH FROM ...) returned the wrong values (0 to 11 instead of 0 to 23). All other tested databases return values from 0 to 23. Please check if your application relies on the old behavior before upgrading.
@changelog_1106_li @changelog_1107_li
For compatibility with other databases the column default (COLUMN_DEF) for columns without default is now null (it was an empty string). For compatibility with other databases the column default (COLUMN_DEF) for columns without default is now null (it was an empty string).
@changelog_1107_li @changelog_1108_li
Statements that contain very large subqueries (where the subquery result does not fit in memory) are now faster. Statements that contain very large subqueries (where the subquery result does not fit in memory) are now faster.
@changelog_1108_li @changelog_1109_li
Variables: large objects (CLOB and BLOB) that don't fit in memory did not work correctly when used as variables. Variables: large objects (CLOB and BLOB) that don't fit in memory did not work correctly when used as variables.
@changelog_1109_li @changelog_1110_li
Fulltext search is now supported in named in-memory databases. Fulltext search is now supported in named in-memory databases.
@changelog_1110_li @changelog_1111_li
H2 Console: multiple consecutive spaces in the setting name did not work. Fixed. H2 Console: multiple consecutive spaces in the setting name did not work. Fixed.
@changelog_1111_h2 @changelog_1112_h2
Version 1.0.65 (2008-01-18) Version 1.0.65 (2008-01-18)
@changelog_1112_li @changelog_1113_li
The build (ant) now automatically switches the source code to the correct version (JDK 1.4/1.5 or 1.6). The build (ant) now automatically switches the source code to the correct version (JDK 1.4/1.5 or 1.6).
@changelog_1113_li @changelog_1114_li
A recovery bug has been fixed. With older versions, it was necessary to add ;RECOVER=1 to the database URL in cases where it should not have been required. A recovery bug has been fixed. With older versions, it was necessary to add ;RECOVER=1 to the database URL in cases where it should not have been required.
@changelog_1114_li @changelog_1115_li
The performance for DROP and DROP ALL OBJECTS has been improved. The performance for DROP and DROP ALL OBJECTS has been improved.
@changelog_1115_li @changelog_1116_li
The ChangePassword API has been improved. The ChangePassword API has been improved.
@changelog_1116_li @changelog_1117_li
User defined variables are now supported. Examples: SET @VAR=10;CALL @VAR. This can be used for running totals as in: select x, set(@t, ifnull(@t, 0) + x) from system_range(1, 10) User defined variables are now supported. Examples: SET @VAR=10;CALL @VAR. This can be used for running totals as in: select x, set(@t, ifnull(@t, 0) + x) from system_range(1, 10)
@changelog_1117_li @changelog_1118_li
The Ukrainian translation has been improved. The Ukrainian translation has been improved.
@changelog_1118_li @changelog_1119_li
CALL statements can now be used in batch updates and called using Statement.executeUpdate. CALL statements can now be used in batch updates and called using Statement.executeUpdate.
@changelog_1119_li @changelog_1120_li
New read-only setting CREATE_BUILD (the build number of the database engine that created the database). New read-only setting CREATE_BUILD (the build number of the database engine that created the database).
@changelog_1120_li @changelog_1121_li
The optimizer did not use multi column indexes for range queries in some cases. Fixed. The optimizer did not use multi column indexes for range queries in some cases. Fixed.
@changelog_1121_li @changelog_1122_li
The H2 Console now calls DataSource.getConnection() instead of DataSource.getConnection(user, password) when user name and password are not specified. The H2 Console now calls DataSource.getConnection() instead of DataSource.getConnection(user, password) when user name and password are not specified.
@changelog_1122_li @changelog_1123_li
The bind IP address can now be set when using multi-homed host (if multiple network adapters are available) using the system property h2.bindAddress. The bind IP address can now be set when using multi-homed host (if multiple network adapters are available) using the system property h2.bindAddress.
@changelog_1123_li @changelog_1124_li
Batch update: Calling BatchUpdateException.printStackTrace() could result in out of memory. Fixed. Batch update: Calling BatchUpdateException.printStackTrace() could result in out of memory. Fixed.
@changelog_1124_li @changelog_1125_li
Indexes of unique or foreign constraints where not dropped when the constraint was dropped after altering the table (for example dropping a column). Fixed. Indexes of unique or foreign constraints where not dropped when the constraint was dropped after altering the table (for example dropping a column). Fixed.
@changelog_1125_li @changelog_1126_li
The performance for large result sets in the server mode has been improved. The performance for large result sets in the server mode has been improved.
@changelog_1126_li @changelog_1127_li
The setting h2.serverSmallResultSetSize has been renamed to h2.serverResultSetFetchSize. The setting h2.serverSmallResultSetSize has been renamed to h2.serverResultSetFetchSize.
@changelog_1127_li @changelog_1128_li
The SCRIPT command now uses multi-row insert statements to save space except if the option SIMPLE is used. The SCRIPT command now uses multi-row insert statements to save space except if the option SIMPLE is used.
@changelog_1128_li @changelog_1129_li
The SCRIPT command did not split up CLOB data correctly. Fixed. The SCRIPT command did not split up CLOB data correctly. Fixed.
@changelog_1129_li @changelog_1130_li
Optimization for single column distinct queries with an index: select distinct name from test. Can be disabled by setting the system property h2.optimizeDistinct to false. Optimization for single column distinct queries with an index: select distinct name from test. Can be disabled by setting the system property h2.optimizeDistinct to false.
@changelog_1130_li @changelog_1131_li
DROP ALL OBJECTS did not drop user defined aggregate functions and domains. DROP ALL OBJECTS did not drop user defined aggregate functions and domains.
@changelog_1131_li @changelog_1132_li
PostgreSQL compatibility: COUNT(T.*) is now supported. PostgreSQL compatibility: COUNT(T.*) is now supported.
@changelog_1132_li @changelog_1133_li
LIKE comparisons are now faster. LIKE comparisons are now faster.
@changelog_1133_li @changelog_1134_li
Encrypted databases are now faster. Encrypted databases are now faster.
@changelog_1134_h2 @changelog_1135_h2
Version 1.0.64 (2007-12-27) Version 1.0.64 (2007-12-27)
@changelog_1135_li @changelog_1136_li
3-way union queries with prepared statement or views could return the wrong results. Fixed. 3-way union queries with prepared statement or views could return the wrong results. Fixed.
@changelog_1136_li @changelog_1137_li
The PostgreSQL ODBC driver did not work in the last release due to a parser regression. Fixed. The PostgreSQL ODBC driver did not work in the last release due to a parser regression. Fixed.
@changelog_1137_li @changelog_1138_li
CSV tool: some escape/separator character combinations did not work. Fixed. CSV tool: some escape/separator character combinations did not work. Fixed.
@changelog_1138_li @changelog_1139_li
CSV tool: the character # could not be used as a separator when reading. CSV tool: the character # could not be used as a separator when reading.
@changelog_1139_li @changelog_1140_li
Recovery: when the index file is corrupt, now the database deletes it and re-creates it automatically. Recovery: when the index file is corrupt, now the database deletes it and re-creates it automatically.
@changelog_1140_li @changelog_1141_li
The MVCC mode did not work well with in-memory databases. Fixed. The MVCC mode did not work well with in-memory databases. Fixed.
@changelog_1141_li @changelog_1142_li
The FTP server now supports a event listener. Thanks Fulvio Biondi for the help! The FTP server now supports a event listener. Thanks Fulvio Biondi for the help!
@changelog_1142_li @changelog_1143_li
New system function CANCEL_SESSION to cancel the currently executing statement of another session. New system function CANCEL_SESSION to cancel the currently executing statement of another session.
@changelog_1143_li @changelog_1144_li
The database now supports an exclusive mode. In exclusive mode, new connections are rejected. The database now supports an exclusive mode. In exclusive mode, new connections are rejected.
@changelog_1144_li @changelog_1145_li
H2 Console: when editing result sets, columns can now be set to null. The text 'null' must be escaped using '=null'. H2 Console: when editing result sets, columns can now be set to null. The text 'null' must be escaped using '=null'.
@changelog_1145_li @changelog_1146_li
New built-in functions RPAD and LPAD. New built-in functions RPAD and LPAD.
@changelog_1146_li @changelog_1147_li
New meta data table INFORMATION_SCHEMA.SESSIONS and LOCKS to get information about active connections and locks. Admins will see all connections, non-admins only their own session. New meta data table INFORMATION_SCHEMA.SESSIONS and LOCKS to get information about active connections and locks. Admins will see all connections, non-admins only their own session.
@changelog_1147_li @changelog_1148_li
The Ukrainian translation was not working in the last release. Fixed. The Ukrainian translation was not working in the last release. Fixed.
@changelog_1148_li @changelog_1149_li
Creating many tables (many hundreds) was slow. Fixed. Creating many tables (many hundreds) was slow. Fixed.
@changelog_1149_li @changelog_1150_li
Opening a database with many indexes (thousands) was slow. Fixed. Opening a database with many indexes (thousands) was slow. Fixed.
@changelog_1150_li @changelog_1151_li
H2 Console / autocomplete: Ctrl+Space now shows the list in all modes. H2 Console / autocomplete: Ctrl+Space now shows the list in all modes.
@changelog_1151_li @changelog_1152_li
The method Trigger.init has been changed: the parameters 'before' and 'type', have been added to the init method. The method Trigger.init has been changed: the parameters 'before' and 'type', have been added to the init method.
@changelog_1152_li @changelog_1153_li
The performance has been improved for ResultSet methods with column name. The performance has been improved for ResultSet methods with column name.
@changelog_1153_li @changelog_1154_li
A stack trace was thrown if the system did not provide a quick secure random source and if there is no network or the network settings are not configured. Fixed. A stack trace was thrown if the system did not provide a quick secure random source and if there is no network or the network settings are not configured. Fixed.
@changelog_1154_li @changelog_1155_li
The H2 Console has been translated to Turkish. Thanks a lot to Ridvan Agar! The H2 Console has been translated to Turkish. Thanks a lot to Ridvan Agar!
@changelog_1155_li @changelog_1156_li
Improved debugging support: toString methods of most object now return a meaningful text. Improved debugging support: toString methods of most object now return a meaningful text.
@changelog_1156_li @changelog_1157_li
The classes DbStarter and WebServlet have been moved to src/main. The classes DbStarter and WebServlet have been moved to src/main.
@changelog_1157_li @changelog_1158_li
The column INFORMATION_SCHEMA.TRIGGERS.SQL now contains the CREATE TRIGGER statement. The column INFORMATION_SCHEMA.TRIGGERS.SQL now contains the CREATE TRIGGER statement.
@changelog_1158_li @changelog_1159_li
Loading classes and calling methods can be restricted using the new system property h2.allowedClasses. Loading classes and calling methods can be restricted using the new system property h2.allowedClasses.
@changelog_1159_li @changelog_1160_li
The database could not be used in Java applets due to security exceptions. Fixed. The database could not be used in Java applets due to security exceptions. Fixed.
@changelog_1160_h2 @changelog_1161_h2
Version 1.0.63 (2007-12-02) Version 1.0.63 (2007-12-02)
@changelog_1161_li @changelog_1162_li
The SecurePassword example has been improved. The SecurePassword example has been improved.
@changelog_1162_li @changelog_1163_li
In time zones where the summer time saving limit is at midnight, some dates do not work in some virtual machines, for example 2007-10-14 in Chile, using the Sun JVM 1.6.0_03-b05. Fixed. In time zones where the summer time saving limit is at midnight, some dates do not work in some virtual machines, for example 2007-10-14 in Chile, using the Sun JVM 1.6.0_03-b05. Fixed.
@changelog_1163_li @changelog_1164_li
The native fulltext search was not working properly after re-connecting. The native fulltext search was not working properly after re-connecting.
@changelog_1164_li @changelog_1165_li
Improved FTP server: now the PORT command is supported. Improved FTP server: now the PORT command is supported.
@changelog_1165_li @changelog_1166_li
Temporary views (FROM(...)) with UNION didn't work if nested. Fixed. Temporary views (FROM(...)) with UNION didn't work if nested. Fixed.
@changelog_1166_li @changelog_1167_li
Performance optimization for IN(...) and IN(SELECT...), currently disabled by default. To enable, use java -Dh2.optimizeInJoin=true Performance optimization for IN(...) and IN(SELECT...), currently disabled by default. To enable, use java -Dh2.optimizeInJoin=true
@changelog_1167_li @changelog_1168_li
The H2 Console has been translated to Ukrainian by Igor Dobrovolskyi. Thanks a lot! The H2 Console has been translated to Ukrainian by Igor Dobrovolskyi. Thanks a lot!
@changelog_1168_li @changelog_1169_li
New function TABLE_DISTINCT. New function TABLE_DISTINCT.
@changelog_1169_li @changelog_1170_li
Using LIMIT with values close to Integer.MAX_VALUE didn't work correctly. Using LIMIT with values close to Integer.MAX_VALUE didn't work correctly.
@changelog_1170_li @changelog_1171_li
Certain setting in the Server didn't work (http://code.google.com/p/h2database/issues/detail?id=7). Certain setting in the Server didn't work (http://code.google.com/p/h2database/issues/detail?id=7).
@changelog_1171_h2 @changelog_1172_h2
Version 1.0.62 (2007-11-25) Version 1.0.62 (2007-11-25)
@changelog_1172_li @changelog_1173_li
Large updates and deletes are now supported by buffering data to disk if required. The threshold is currently set to 100'000 bytes and can be changed using SET MAX_OPERATION_MEMORY or using by appending ;MAX_OPERATION_MEMORY=.. to the database URL. See also the docs. Large updates and deletes are now supported by buffering data to disk if required. The threshold is currently set to 100'000 bytes and can be changed using SET MAX_OPERATION_MEMORY or using by appending ;MAX_OPERATION_MEMORY=.. to the database URL. See also the docs.
@changelog_1173_li @changelog_1174_li
MVCC: now an exception is thrown when an application tries to change the MVCC setting while the database is already open. MVCC: now an exception is thrown when an application tries to change the MVCC setting while the database is already open.
@changelog_1174_li @changelog_1175_li
Referential integrity checks didn't lock the referenced table, and thus could read uncommitted rows of other connections. In that way the referential constraints could get violated (except when using MVCC). Referential integrity checks didn't lock the referenced table, and thus could read uncommitted rows of other connections. In that way the referential constraints could get violated (except when using MVCC).
@changelog_1175_li @changelog_1176_li
Renaming or dropping a user with a schema, or removing the admin property of that user made the schema inaccessible after re-opening the database. Fixed. Renaming or dropping a user with a schema, or removing the admin property of that user made the schema inaccessible after re-opening the database. Fixed.
@changelog_1176_li @changelog_1177_li
The H2 Console now also support the command line option -ifExists when started from the Server tool, but only when connecting to H2 databases. The H2 Console now also support the command line option -ifExists when started from the Server tool, but only when connecting to H2 databases.
@changelog_1177_li @changelog_1178_li
Duplicate column names were not detected when renaming columns. Fixed. Duplicate column names were not detected when renaming columns. Fixed.
@changelog_1178_li @changelog_1179_li
The console did not display multiple embedded spaces in text correctly. Fixed. The console did not display multiple embedded spaces in text correctly. Fixed.
@changelog_1179_li @changelog_1180_li
Google Android support: use 'ant codeswitchAndroid' to switch the source code to Android. Google Android support: use 'ant codeswitchAndroid' to switch the source code to Android.
@changelog_1180_li @changelog_1181_li
Values of type ARRAY are now sorted as in PostgreSQL. Values of type ARRAY are now sorted as in PostgreSQL.
@changelog_1181_li @changelog_1182_li
In the cluster mode, could not connect if only one server was running (last release only). Fixed. In the cluster mode, could not connect if only one server was running (last release only). Fixed.
@changelog_1182_li @changelog_1183_li
The performance of large CSV operations has been improved. The performance of large CSV operations has been improved.
@changelog_1183_li @changelog_1184_li
Now using custom toString() for most JDBC objects and commands. Now using custom toString() for most JDBC objects and commands.
@changelog_1184_li @changelog_1185_li
Nested temporary views (SELECT * FROM (SELECT ...)) with parameters didn't work in some cases. Fixed. Nested temporary views (SELECT * FROM (SELECT ...)) with parameters didn't work in some cases. Fixed.
@changelog_1185_li @changelog_1186_li
CSV: Using an empty field delimiter didn't work (a workaround was using char(0)). Fixed. CSV: Using an empty field delimiter didn't work (a workaround was using char(0)). Fixed.
@changelog_1186_li @changelog_1187_li
A patch for Apache DDL Utils is available at https://issues.apache.org/jira/browse/DDLUTILS-185 A patch for Apache DDL Utils is available at https://issues.apache.org/jira/browse/DDLUTILS-185
@changelog_1187_li @changelog_1188_li
The default value for h2.emergencySpaceInitial is now 256 KB (to speed up creating encrypted databases) The default value for h2.emergencySpaceInitial is now 256 KB (to speed up creating encrypted databases)
@changelog_1188_li @changelog_1189_li
Eduardo Velasques has translated the H2 Console and the error messages to Brazilian Portuguese. Thanks a lot! Eduardo Velasques has translated the H2 Console and the error messages to Brazilian Portuguese. Thanks a lot!
@changelog_1189_li @changelog_1190_li
Creating a table from GROUP_CONCAT didn't work if the data was longer than 255 characters Creating a table from GROUP_CONCAT didn't work if the data was longer than 255 characters
@changelog_1190_h2 @changelog_1191_h2
Version 1.0.61 (2007-11-10) Version 1.0.61 (2007-11-10)
@changelog_1191_li @changelog_1192_li
The Lucene Fulltext implementation is now compiled and included in the h2.jar. Requires Lucene 2.2. The Lucene Fulltext implementation is now compiled and included in the h2.jar. Requires Lucene 2.2.
@changelog_1192_li @changelog_1193_li
Added more tests. The code coverage is now at 83%. Added more tests. The code coverage is now at 83%.
@changelog_1193_li @changelog_1194_li
ResultSetMetaData.getColumnDisplaySize was calculated as the longest display size for the given result set, but should be the maximum size that fits in the column. Fixed. ResultSetMetaData.getColumnDisplaySize was calculated as the longest display size for the given result set, but should be the maximum size that fits in the column. Fixed.
@changelog_1194_li @changelog_1195_li
The MODE used to be a global setting, now it is a database level setting. The MODE used to be a global setting, now it is a database level setting.
@changelog_1195_li @changelog_1196_li
The database does now always round to the nearest number when converting a floating point to a integer: CAST(1.5 AS INT) will now result in 2, like in PostgreSQL and MySQL. The database does now always round to the nearest number when converting a floating point to a integer: CAST(1.5 AS INT) will now result in 2, like in PostgreSQL and MySQL.
@changelog_1196_li @changelog_1197_li
Math operations using unknown data types (for example -? and ?+?) are now interpreted as decimal. Math operations using unknown data types (for example -? and ?+?) are now interpreted as decimal.
@changelog_1197_li @changelog_1198_li
INSTR, LOCATE: backward searching is not supported by using a negative start position. INSTR, LOCATE: backward searching is not supported by using a negative start position.
@changelog_1198_li @changelog_1199_li
Can now open a database stored in a jar or zip file (for example, jdbc:h2:zip:c:/temp/h2.zip!/test). Can now open a database stored in a jar or zip file (for example, jdbc:h2:zip:c:/temp/h2.zip!/test).
@changelog_1199_li @changelog_1200_li
Files access now uses an API (FileSystem, FileObject), this will simplify adding other file systems and features (for example replication). Files access now uses an API (FileSystem, FileObject), this will simplify adding other file systems and features (for example replication).
@changelog_1200_li @changelog_1201_li
Vlad Alexahin has translated H2 Console to Russian. Thanks a lot! Vlad Alexahin has translated H2 Console to Russian. Thanks a lot!
@changelog_1201_li @changelog_1202_li
Descending indexes are now supported. This is useful when sorting columns descending, for example by creation date. Descending indexes are now supported. This is useful when sorting columns descending, for example by creation date.
@changelog_1202_li @changelog_1203_li
Solved a Java level deadlock in the DatabaseCloser. Solved a Java level deadlock in the DatabaseCloser.
@changelog_1203_li @changelog_1204_li
CREATE SEQUENCE: New option CACHE (number of pre-allocated numbers). New column CACHE in the sequence meta data table. The default cache size is still 32. CREATE SEQUENCE: New option CACHE (number of pre-allocated numbers). New column CACHE in the sequence meta data table. The default cache size is still 32.
@changelog_1204_li @changelog_1205_li
MVCC: The system property h2.mvcc has been removed. A few bugs have been fixed, and new tests have been added. MVCC: The system property h2.mvcc has been removed. A few bugs have been fixed, and new tests have been added.
@changelog_1205_h2 @changelog_1206_h2
Version 1.0.60 (2007-10-20) Version 1.0.60 (2007-10-20)
@changelog_1206_li @changelog_1207_li
JdbcXAConnection: starting a transaction before getting the connection didn't switch off autocommit. JdbcXAConnection: starting a transaction before getting the connection didn't switch off autocommit.
@changelog_1207_li @changelog_1208_li
User defined aggregate functions are not supported. User defined aggregate functions are not supported.
@changelog_1208_li @changelog_1209_li
Server.shutdownTcpServer was blocked when first called with force=false and then force=true. Now documentation is improved, and it is no longer blocked. Server.shutdownTcpServer was blocked when first called with force=false and then force=true. Now documentation is improved, and it is no longer blocked.
@changelog_1209_li @changelog_1210_li
Stack traces did not include the SQL statement in all cases where they could have. Also, stack traces with SQL statement are now shorter. Stack traces did not include the SQL statement in all cases where they could have. Also, stack traces with SQL statement are now shorter.
@changelog_1210_li @changelog_1211_li
Linked tables: now tables in non-default schemas are supported as well Linked tables: now tables in non-default schemas are supported as well
@changelog_1211_li @changelog_1212_li
New Italian translation from PierPaolo Ucchino. Thanks a lot! New Italian translation from PierPaolo Ucchino. Thanks a lot!
@changelog_1212_li @changelog_1213_li
CSV: New methods to set the escape character and field delimiter in the Csv tool and the CSVWRITE and CSVREAD methods. CSV: New methods to set the escape character and field delimiter in the Csv tool and the CSVWRITE and CSVREAD methods.
@changelog_1213_li @changelog_1214_li
Prepared statements could not be used after data definition statements (creating tables and so on). Fixed. Prepared statements could not be used after data definition statements (creating tables and so on). Fixed.
@changelog_1214_li @changelog_1215_li
PreparedStatement.setMaxRows could not be changed to a higher value after the statement was executed. PreparedStatement.setMaxRows could not be changed to a higher value after the statement was executed.
@changelog_1215_li @changelog_1216_li
The H2 Console could not connect twice to the same H2 embedded database at the same time. Fixed. The H2 Console could not connect twice to the same H2 embedded database at the same time. Fixed.
@changelog_1216_li @changelog_1217_li
CSVREAD, RUNSCRIPT and so on now support URLs as well, using URL.openStream(). Example: select * from csvread('jar:file:///c:/temp/test.jar!/test.csv'); CSVREAD, RUNSCRIPT and so on now support URLs as well, using URL.openStream(). Example: select * from csvread('jar:file:///c:/temp/test.jar!/test.csv');
@changelog_1217_h2 @changelog_1218_h2
Version 1.0.59 (2007-10-03) Version 1.0.59 (2007-10-03)
@changelog_1218_li @changelog_1219_li
When the data type was unknown in a subquery, sometimes the wrong exception (ArrayIndexOutOfBounds) was thrown. Fixed. When the data type was unknown in a subquery, sometimes the wrong exception (ArrayIndexOutOfBounds) was thrown. Fixed.
@changelog_1219_li @changelog_1220_li
If the process was killed while the database was running, sometimes the database could not be opened ('double allocation') except when the system property h2.check was set to false. Fixed. If the process was killed while the database was running, sometimes the database could not be opened ('double allocation') except when the system property h2.check was set to false. Fixed.
@changelog_1220_li @changelog_1221_li
Multi-threaded kernel (MULTI_THREADED=1): A synchronization problem has been fixed. Multi-threaded kernel (MULTI_THREADED=1): A synchronization problem has been fixed.
@changelog_1221_li @changelog_1222_li
A PreparedStatement that was cancelled could not be reused. Fixed. A PreparedStatement that was cancelled could not be reused. Fixed.
@changelog_1222_li @changelog_1223_li
H2 Console: Progress information when logging into a H2 embedded database (useful when opening a database is slow). H2 Console: Progress information when logging into a H2 embedded database (useful when opening a database is slow).
@changelog_1223_li @changelog_1224_li
When the database was closed while logging was disabled (LOG 0), re-opening the database was slow. Fixed. When the database was closed while logging was disabled (LOG 0), re-opening the database was slow. Fixed.
@changelog_1224_li @changelog_1225_li
Fulltext search is now documented (in the Tutorial). Fulltext search is now documented (in the Tutorial).
@changelog_1225_li @changelog_1226_li
The Console did not refresh the table list if the CREATE TABLE statement started with a comment. Fixed. The Console did not refresh the table list if the CREATE TABLE statement started with a comment. Fixed.
@changelog_1226_li @changelog_1227_li
When creating a table using CREATE TABLE .. AS SELECT, the precision for some data types (for example VARCHAR) was set to the default precision. Fixed. When creating a table using CREATE TABLE .. AS SELECT, the precision for some data types (for example VARCHAR) was set to the default precision. Fixed.
@changelog_1227_li @changelog_1228_li
When using the (undocumented) in-memory file system (jdbc:h2:memFS:x or jdbc:h2:memLZF:x), and using multiple connections, a ConcurrentModificationException could occur. Fixed. When using the (undocumented) in-memory file system (jdbc:h2:memFS:x or jdbc:h2:memLZF:x), and using multiple connections, a ConcurrentModificationException could occur. Fixed.
@changelog_1228_li @changelog_1229_li
REGEXP compatibility: So far String.matches was used, but for compatibility with MySQL, now Matcher.find is used. REGEXP compatibility: So far String.matches was used, but for compatibility with MySQL, now Matcher.find is used.
@changelog_1229_li @changelog_1230_li
SCRIPT: the SQL statements in the result set now include the terminating semicolon as well. Simplifies copy and paste. SCRIPT: the SQL statements in the result set now include the terminating semicolon as well. Simplifies copy and paste.
@changelog_1230_li @changelog_1231_li
When using a subquery with group by as a table, some columns could not be used in the where condition in the outer query. Example: SELECT * FROM (SELECT ID, COUNT(*) C FROM TEST) WHERE C > 100. Fixed. When using a subquery with group by as a table, some columns could not be used in the where condition in the outer query. Example: SELECT * FROM (SELECT ID, COUNT(*) C FROM TEST) WHERE C > 100. Fixed.
@changelog_1231_li @changelog_1232_li
Views with subqueries as tables and queries with nested subqueries as tables did not always work. Fixed. Views with subqueries as tables and queries with nested subqueries as tables did not always work. Fixed.
@changelog_1232_li @changelog_1233_li
Compatibility: comparing columns with constants that are out of range does not throw an exception. Compatibility: comparing columns with constants that are out of range does not throw an exception.
@changelog_1233_h2 @changelog_1234_h2
Version 1.0.58 (2007-09-15) Version 1.0.58 (2007-09-15)
@changelog_1234_li @changelog_1235_li
System.exit is no longer called by the WebServer, the Console and the Server tool (except to set the exit code if required). This is important when using OSGi. System.exit is no longer called by the WebServer, the Console and the Server tool (except to set the exit code if required). This is important when using OSGi.
@changelog_1235_li @changelog_1236_li
Optimization for independent subqueries. For example, this query can now an index: SELECT * FROM TEST WHERE ID = (SELECT MAX(ID) FROM TEST) This can be disabled by setting the system property h2.optimizeSubqueryCache to false. Optimization for independent subqueries. For example, this query can now an index: SELECT * FROM TEST WHERE ID = (SELECT MAX(ID) FROM TEST) This can be disabled by setting the system property h2.optimizeSubqueryCache to false.
@changelog_1236_li @changelog_1237_li
The explain plan now says: /* direct lookup query */ if the query can be processed directly without reading rows, for example when using MIN(indexed column), MAX(indexed column), or COUNT(*). The explain plan now says: /* direct lookup query */ if the query can be processed directly without reading rows, for example when using MIN(indexed column), MAX(indexed column), or COUNT(*).
@changelog_1237_li @changelog_1238_li
When using IFNULL, NULLIF, COALESCE, LEAST, or GREATEST, and the first parameter was ?, an exception was thrown. Now the highest data type of all parameters is used. When using IFNULL, NULLIF, COALESCE, LEAST, or GREATEST, and the first parameter was ?, an exception was thrown. Now the highest data type of all parameters is used.
@changelog_1238_li @changelog_1239_li
When comparing TINYINT or SMALLINT columns against constants, the index was not used. Fixed. When comparing TINYINT or SMALLINT columns against constants, the index was not used. Fixed.
@changelog_1239_li @changelog_1240_li
Maven 2: new version are now automatically synced with the central repositories. Maven 2: new version are now automatically synced with the central repositories.
@changelog_1240_li @changelog_1241_li
The default value for MAX_MEMORY_UNDO is now 100000. The default value for MAX_MEMORY_UNDO is now 100000.
@changelog_1241_li @changelog_1242_li
The documentation indexer does no longer index Japanese pages. If somebody knows how to split Japanese into words please post it. The documentation indexer does no longer index Japanese pages. If somebody knows how to split Japanese into words please post it.
@changelog_1242_li @changelog_1243_li
Oracle compatibility: SYSDATE now returns a timestamp. CHR(..) is now an alias for CHAR(..). Oracle compatibility: SYSDATE now returns a timestamp. CHR(..) is now an alias for CHAR(..).
@changelog_1243_li @changelog_1244_li
After deleting data, empty space in the database files was not efficiently reused (but it was reused when opening the database). This has been fixed. After deleting data, empty space in the database files was not efficiently reused (but it was reused when opening the database). This has been fixed.
@changelog_1244_li @changelog_1245_li
About 230 bytes per database was leaked. This is a problem for applications opening and closing many thousand databases. The main problem: a shutdown hook was added but never removed. Fixed. In JDK 1.4, there is <a href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4197876">an additionally problem</a> . A workaround has been implemented. About 230 bytes per database was leaked. This is a problem for applications opening and closing many thousand databases. The main problem: a shutdown hook was added but never removed. Fixed. In JDK 1.4, there is <a href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4197876">an additionally problem</a> . A workaround has been implemented.
@changelog_1245_li @changelog_1246_li
Optimization for COLUMN IN(.., NULL) if the column does not allow NULL values. Optimization for COLUMN IN(.., NULL) if the column does not allow NULL values.
@changelog_1246_li @changelog_1247_li
Using spaces in column and table aliases was not supported when used inside a view or temporary view. Using spaces in column and table aliases was not supported when used inside a view or temporary view.
@changelog_1247_li @changelog_1248_li
The version (build) number is now included in the manifest file. The version (build) number is now included in the manifest file.
@changelog_1248_li @changelog_1249_li
In some systems, SecureRandom.generateSeed is very slow (taking one minute or more). For those cases, an alternative method is used that takes less than one second. In some systems, SecureRandom.generateSeed is very slow (taking one minute or more). For those cases, an alternative method is used that takes less than one second.
@changelog_1249_li @changelog_1250_li
The database file sizes are now increased at most 32 MB at any time. The database file sizes are now increased at most 32 MB at any time.
@changelog_1250_li @changelog_1251_li
New method DatabaseEventListener.opened that is called just after opening a database. New method DatabaseEventListener.opened that is called just after opening a database.
@changelog_1251_li @changelog_1252_li
When using the Console with Internet Explorer 6.0 or 7.0, a Javascript error was thrown after clearing the query. When using the Console with Internet Explorer 6.0 or 7.0, a Javascript error was thrown after clearing the query.
@changelog_1252_li @changelog_1253_li
A database can now be opened even if class of a user defined function is not in the classpath. Trying to call the function will throws an exception. A database can now be opened even if class of a user defined function is not in the classpath. Trying to call the function will throws an exception.
@changelog_1253_li @changelog_1254_li
User defined functions and constants may not overload built-in functions and constants. This didn't work before, but now trying to create such an object will fail. User defined functions and constants may not overload built-in functions and constants. This didn't work before, but now trying to create such an object will fail.
@changelog_1254_li @changelog_1255_li
Improved MultiDimension tool (for spatial queries): in the last few releases the tool was actually slower than using a regular query (because index lookup got faster, and because the tool didn't support prepared statements) Now the tool generates prepared statements, and the performance is better again (about 5 times faster for a reasonable amount of data). Improved MultiDimension tool (for spatial queries): in the last few releases the tool was actually slower than using a regular query (because index lookup got faster, and because the tool didn't support prepared statements) Now the tool generates prepared statements, and the performance is better again (about 5 times faster for a reasonable amount of data).
@changelog_1255_li @changelog_1256_li
Adding a foreign key or when re-enabling referential integrity for a table failed when checking was enabled and the reference contained NULL. Adding a foreign key or when re-enabling referential integrity for a table failed when checking was enabled and the reference contained NULL.
@changelog_1256_li @changelog_1257_li
For PgServer, character encoding other than UTF-8 did not work correctly. Fixed. For PgServer, character encoding other than UTF-8 did not work correctly. Fixed.
@changelog_1257_li @changelog_1258_li
Using a function in a GROUP BY expression that is used in a view as a condition did not always work. Using a function in a GROUP BY expression that is used in a view as a condition did not always work.
@changelog_1258_h2 @changelog_1259_h2
Version 1.0.57 (2007-08-25) Version 1.0.57 (2007-08-25)
@changelog_1259_li @changelog_1260_li
New experimental feature MVCC (multi version concurrency control). Can be set as a option when opening the database (jdbc:h2:~/test;MVCC=TRUE) or as a system property (-Dh2.mvcc=true). This is work-in-progress, use it at your own risk. Feedback is welcome. New experimental feature MVCC (multi version concurrency control). Can be set as a option when opening the database (jdbc:h2:~/test;MVCC=TRUE) or as a system property (-Dh2.mvcc=true). This is work-in-progress, use it at your own risk. Feedback is welcome.
@changelog_1260_li @changelog_1261_li
The version number is now major.minor.micro where micro is the build number. Not all version are public, so there may be gaps in the micro. The minor changes when there is a file format change. The version number is now major.minor.micro where micro is the build number. Not all version are public, so there may be gaps in the micro. The minor changes when there is a file format change.
@changelog_1261_li @changelog_1262_li
The backup tool (org.h2.tools.Backup) did not work. The restore tool did not work when the -db parameter was used. Fixed. The documentation of the backup tool has been changed: only one database may be backed up at any time. The backup tool (org.h2.tools.Backup) did not work. The restore tool did not work when the -db parameter was used. Fixed. The documentation of the backup tool has been changed: only one database may be backed up at any time.
@changelog_1262_li @changelog_1263_li
Opening large read-only databases was very slow. Fixed. Opening large read-only databases was very slow. Fixed.
@changelog_1263_li @changelog_1264_li
New Japanese translation of the error messages thanks to Ikemoto Masahiro. Thanks a lot! New Japanese translation of the error messages thanks to Ikemoto Masahiro. Thanks a lot!
@changelog_1264_li @changelog_1265_li
Disabling / enabling referential integrity for a table can now be used inside a transaction. Disabling / enabling referential integrity for a table can now be used inside a transaction.
@changelog_1265_li @changelog_1266_li
Rights checking for dynamic tables (SELECT * FROM (SELECT ...)) did not work. Fixed. Rights checking for dynamic tables (SELECT * FROM (SELECT ...)) did not work. Fixed.
@changelog_1266_li @changelog_1267_li
Creating more than 10 views that depend on each other was very slow. Reconnecting was slow as well. Fixed. Creating more than 10 views that depend on each other was very slow. Reconnecting was slow as well. Fixed.
@changelog_1267_li @changelog_1268_li
When used as as Servlet, the H2 Console did not work with SSL (using Tomcat). Fixed. When used as as Servlet, the H2 Console did not work with SSL (using Tomcat). Fixed.
@changelog_1268_li @changelog_1269_li
When altering a table with foreign key constraint, if there was no manual index created for the referenced columns, the automatically created index was dropped while still being used. Fixed. When altering a table with foreign key constraint, if there was no manual index created for the referenced columns, the automatically created index was dropped while still being used. Fixed.
@changelog_1269_li @changelog_1270_li
Check and foreign key constraints now checks if the existing data is consistent (this can be disabled by appending NOCHECK). It is also possible to check existing data when re-enabling referential integrity for a table. Check and foreign key constraints now checks if the existing data is consistent (this can be disabled by appending NOCHECK). It is also possible to check existing data when re-enabling referential integrity for a table.
@changelog_1270_li @changelog_1271_li
Some unit tests failed on Linux because the file system works differently. The unit tests are fixed and should work now. Some unit tests failed on Linux because the file system works differently. The unit tests are fixed and should work now.
@changelog_1271_li @changelog_1272_li
Can now incrementally translate the documentation. See also FAQ. Can now incrementally translate the documentation. See also FAQ.
@changelog_1272_li @changelog_1273_li
Improved error messages: some tools can't show the root cause of an exception. Adding the message of the root cause to the message of the thrown exception now where it makes sense. Improved error messages: some tools can't show the root cause of an exception. Adding the message of the root cause to the message of the thrown exception now where it makes sense.
@changelog_1273_li @changelog_1274_li
The H2 Console can now connect to databases using JNDI. The driver class name must be a javax.naming.Context, (for example javax.naming.InitialContext), and the URL the resource name (for example java:comp/env/jdbc/Test). This should also work for linked tables. The H2 Console can now connect to databases using JNDI. The driver class name must be a javax.naming.Context, (for example javax.naming.InitialContext), and the URL the resource name (for example java:comp/env/jdbc/Test). This should also work for linked tables.
@changelog_1274_li @changelog_1275_li
Google translate did not work for the H2 homepage. It should be fixed now. Google translate did not work for the H2 homepage. It should be fixed now.
@changelog_1275_li @changelog_1276_li
The CONVERT function did not work with views when using UNION. The CONVERT function did not work with views when using UNION.
@changelog_1276_li @changelog_1277_li
The build now issues a warning if the source code is switched to the wrong version. The build now issues a warning if the source code is switched to the wrong version.
@changelog_1277_li @changelog_1278_li
The default lock mode is now read committed instead of serialized. The default lock mode is now read committed instead of serialized.
@changelog_1278_li @changelog_1279_li
PG server: data was truncated when reading large VARCHAR columns and decimal columns. PG server: data was truncated when reading large VARCHAR columns and decimal columns.
@changelog_1279_li @changelog_1280_li
PG server: when the same database was accessed multiple times using the PostgreSQL ODBC driver, the pg_catalog schema update failed, and connecting to the database was not possible. Fixed. PG server: when the same database was accessed multiple times using the PostgreSQL ODBC driver, the pg_catalog schema update failed, and connecting to the database was not possible. Fixed.
@changelog_1280_li @changelog_1281_li
Some file operations didn't work for files in the root directory. Fixed. Some file operations didn't work for files in the root directory. Fixed.
@changelog_1281_li @changelog_1282_li
In the Restore tool, the parameter -file did not work. Fixed. In the Restore tool, the parameter -file did not work. Fixed.
@changelog_1282_li @changelog_1283_li
Two-phase commit: commit with transaction name was only supported in the recovery scan. Now it is always supported. Two-phase commit: commit with transaction name was only supported in the recovery scan. Now it is always supported.
@changelog_1283_li @changelog_1284_li
The column name C_CURRENT_TIMESTAMP did not work in the last release. The column name C_CURRENT_TIMESTAMP did not work in the last release.
@changelog_1284_li @changelog_1285_li
OpenOffice compatibility: support database name in column names. OpenOffice compatibility: support database name in column names.
@download_1000_h1 @download_1000_h1
......
...@@ -1003,852 +1003,855 @@ Centralリポジトリの利用 ...@@ -1003,852 +1003,855 @@ Centralリポジトリの利用
#Next Version (unreleased) #Next Version (unreleased)
@changelog_1002_li @changelog_1002_li
#Sometimes an exception 'File ID mismatch' or 'try to add a record twice' occured after large records (8 KB or larger) are updated or deleted. See also http://code.google.com/p/h2database/issues/detail?id=22 #H2 is now dual-licensed under the Eclipse Public License (EPL) and the old 'H2 License' (which is basically MPL).
@changelog_1003_li @changelog_1003_li
#H2 Console: The tools can now be translated (it didn't work in the last release). #Sometimes an exception 'File ID mismatch' or 'try to add a record twice' occured after large records (8 KB or larger) are updated or deleted. See also http://code.google.com/p/h2database/issues/detail?id=22
@changelog_1004_li @changelog_1004_li
#New traditional Chinese translation. Thanks a lot to Derek Chao! #H2 Console: The tools can now be translated (it didn't work in the last release).
@changelog_1005_li @changelog_1005_li
#New traditional Chinese translation. Thanks a lot to Derek Chao!
@changelog_1006_li
#Indexes were not used when enabling the optimization for IN(SELECT...) (system property h2.optimizeInJoin) #Indexes were not used when enabling the optimization for IN(SELECT...) (system property h2.optimizeInJoin)
@changelog_1006_h2 @changelog_1007_h2
#Version 1.0.70 (2008-04-20) #Version 1.0.70 (2008-04-20)
@changelog_1007_li @changelog_1008_li
#The plan is to dual-license H2. The additional license is EPL (Eclipse Public License). The current license (MPL, Mozilla Public License) will stay. Current users are not affected because they can keep MPL. EPL is very similar to MPL, the only bigger difference is related to patents (EPL is a bit more business friendly in this regard). See also http://opensource.org/licenses/eclipse-1.0.php, http://www.eclipse.org/legal/eplfaq.php (FAQ), http://blogs.zdnet.com/Burnette/?p=131 #The plan is to dual-license H2. The additional license is EPL (Eclipse Public License). The current license (MPL, Mozilla Public License) will stay. Current users are not affected because they can keep MPL. EPL is very similar to MPL, the only bigger difference is related to patents (EPL is a bit more business friendly in this regard). See also http://opensource.org/licenses/eclipse-1.0.php, http://www.eclipse.org/legal/eplfaq.php (FAQ), http://blogs.zdnet.com/Burnette/?p=131
@changelog_1008_li @changelog_1009_li
#Multi version concurrency (MVCC): when a row was updated, and the updated column was not indexed, this update was visible sometimes for other sessions even if it was not committed. #Multi version concurrency (MVCC): when a row was updated, and the updated column was not indexed, this update was visible sometimes for other sessions even if it was not committed.
@changelog_1009_li @changelog_1010_li
#Calling SHUTDOWN on one connection and starting a query on another connection concurrently could result in a Java level deadlock. #Calling SHUTDOWN on one connection and starting a query on another connection concurrently could result in a Java level deadlock.
@changelog_1010_li @changelog_1011_li
#New system property h2.enableAnonymousSSL (default: true) to enable anonymous SSL connections. #New system property h2.enableAnonymousSSL (default: true) to enable anonymous SSL connections.
@changelog_1011_li @changelog_1012_li
#The precision if SUBSTR is now calculated if possible. #The precision if SUBSTR is now calculated if possible.
@changelog_1012_li @changelog_1013_li
#The autocomplete in the H2 Console has been improved a bit. #The autocomplete in the H2 Console has been improved a bit.
@changelog_1013_li @changelog_1014_li
#The tools in the H2 Console are now translatable. #The tools in the H2 Console are now translatable.
@changelog_1014_li @changelog_1015_li
#The servlet and lucene jar files are now automatically downloaded when building. #The servlet and lucene jar files are now automatically downloaded when building.
@changelog_1015_li @changelog_1016_li
#The code switch tool has been replaced by a simpler tool called SwitchSource that just uses find and replace. #The code switch tool has been replaced by a simpler tool called SwitchSource that just uses find and replace.
@changelog_1016_li @changelog_1017_li
#Started to write a Ant replacement ('JAnt') that uses pure Java build definitions. Advantages: ability to debug the build, extensible, flexible, no XML, a bit faster. Future plan: support creating custom h2 distributions (for embedded use). Maybe create a new project 'Jant' or 'Javen' if other people are interested. #Started to write a Ant replacement ('JAnt') that uses pure Java build definitions. Advantages: ability to debug the build, extensible, flexible, no XML, a bit faster. Future plan: support creating custom h2 distributions (for embedded use). Maybe create a new project 'Jant' or 'Javen' if other people are interested.
@changelog_1017_li @changelog_1018_li
#The jar file is now about 10% smaller because the variable debugging info is no longer included. The source file and line number debugging info is still included. If required, the jar file size of the full version can be further reduced to about 720 KB using 'build jarSmall' or even more by removing unneeded components. #The jar file is now about 10% smaller because the variable debugging info is no longer included. The source file and line number debugging info is still included. If required, the jar file size of the full version can be further reduced to about 720 KB using 'build jarSmall' or even more by removing unneeded components.
@changelog_1018_li @changelog_1019_li
#Added shell scripts run.sh and build.sh. chmod +x is required, but otherwise it should work. Feedback or improvements are welcome! #Added shell scripts run.sh and build.sh. chmod +x is required, but otherwise it should work. Feedback or improvements are welcome!
@changelog_1019_li @changelog_1020_li
#Databases in zip files: large queries are now supported. Temp files are created in the temp directory if required. The documentation how to create the zip file has been corrected. #Databases in zip files: large queries are now supported. Temp files are created in the temp directory if required. The documentation how to create the zip file has been corrected.
@changelog_1020_li @changelog_1021_li
#Invalid inline views threw confusing SQL exceptions. #Invalid inline views threw confusing SQL exceptions.
@changelog_1021_li @changelog_1022_li
#The Japanese translation of the error messages and the H2 Console has been improved. Thanks a lot to Masahiro IKEMOTO. #The Japanese translation of the error messages and the H2 Console has been improved. Thanks a lot to Masahiro IKEMOTO.
@changelog_1022_li @changelog_1023_li
#Optimization for MIN() and MAX() when using MVCC. #Optimization for MIN() and MAX() when using MVCC.
@changelog_1023_li @changelog_1024_li
#To protect against remote brute force password attacks, the delay after each unsuccessful login now gets double as long. New system properties h2.delayWrongPasswordMin and h2.delayWrongPasswordMax. #To protect against remote brute force password attacks, the delay after each unsuccessful login now gets double as long. New system properties h2.delayWrongPasswordMin and h2.delayWrongPasswordMax.
@changelog_1024_li @changelog_1025_li
#After setting the query timeout and then resetting it, the next query would still timeout. Fixed. #After setting the query timeout and then resetting it, the next query would still timeout. Fixed.
@changelog_1025_li @changelog_1026_li
#Adding a IDENTITY column to a table with data threw a lock timeout. #Adding a IDENTITY column to a table with data threw a lock timeout.
@changelog_1026_li @changelog_1027_li
#OutOfMemoryError could occur when using EXISTS or IN(SELECT ..). #OutOfMemoryError could occur when using EXISTS or IN(SELECT ..).
@changelog_1027_li @changelog_1028_li
#The built-in connection pool is not called JdbcConnectionPool. The API and documentation has been changed. #The built-in connection pool is not called JdbcConnectionPool. The API and documentation has been changed.
@changelog_1028_li @changelog_1029_li
#The ConvertTraceFile tool now generates SQL statement statistics at the end of the SQL script file (similar to the profiling data generated when using java -Xrunhprof). #The ConvertTraceFile tool now generates SQL statement statistics at the end of the SQL script file (similar to the profiling data generated when using java -Xrunhprof).
@changelog_1029_li @changelog_1030_li
#Nested joins are now supported (A JOIN B JOIN C ON .. ON ..) #Nested joins are now supported (A JOIN B JOIN C ON .. ON ..)
@changelog_1030_h2 @changelog_1031_h2
#Version 1.0.69 (2008-03-29) #Version 1.0.69 (2008-03-29)
@changelog_1031_li @changelog_1032_li
#Most command line tools can now be called from within the H2 Console. #Most command line tools can now be called from within the H2 Console.
@changelog_1032_li @changelog_1033_li
#A new Shell tools is now included (org.h2.tools.Shell) to query a database from the command line. #A new Shell tools is now included (org.h2.tools.Shell) to query a database from the command line.
@changelog_1033_li @changelog_1034_li
#The command line options in the tools have changed: instead of '-log true' now '-trace' is used. Also, '-ifExists', '-tcpSSL' and '-tcpAllowOthers' and so on have changed: now the 'true' is no longer needed. The old behavior is still supported. #The command line options in the tools have changed: instead of '-log true' now '-trace' is used. Also, '-ifExists', '-tcpSSL' and '-tcpAllowOthers' and so on have changed: now the 'true' is no longer needed. The old behavior is still supported.
@changelog_1034_li @changelog_1035_li
#New system property h2.sortNullsHigh to invert the default sorting behavior for NULL. The default didn't change. #New system property h2.sortNullsHigh to invert the default sorting behavior for NULL. The default didn't change.
@changelog_1035_li @changelog_1036_li
#Performance was very slow when using LOG=2 and deleting or updating all rows of a table in a loop. Fixed. #Performance was very slow when using LOG=2 and deleting or updating all rows of a table in a loop. Fixed.
@changelog_1036_li @changelog_1037_li
#ALTER TABLE or CREATE TABLE now support parameters for the password field. #ALTER TABLE or CREATE TABLE now support parameters for the password field.
@changelog_1037_li @changelog_1038_li
#The linear hash has been removed. It was always slower than the b-tree index, and there were some bugs that would be hard to fix. #The linear hash has been removed. It was always slower than the b-tree index, and there were some bugs that would be hard to fix.
@changelog_1038_li @changelog_1039_li
#TRACE_LEVEL_ settings are no longer persistent. This was a problem when database initialization code caused a lot of trace output. #TRACE_LEVEL_ settings are no longer persistent. This was a problem when database initialization code caused a lot of trace output.
@changelog_1039_li @changelog_1040_li
#Fulltext search (native implementation): The words table is no longer an in-memory table because this caused memory problems in some cases. #Fulltext search (native implementation): The words table is no longer an in-memory table because this caused memory problems in some cases.
@changelog_1040_li @changelog_1041_li
#It was possible to create a role with the name as an existing user (but not vice versa). This is not allowed any more. #It was possible to create a role with the name as an existing user (but not vice versa). This is not allowed any more.
@changelog_1041_li @changelog_1042_li
#The recovery tool didn't work correctly for tables without rows. #The recovery tool didn't work correctly for tables without rows.
@changelog_1042_li @changelog_1043_li
#For years below 1, the YEAR method didn't return the correct value, and the conversion from date and timestamp to varchar was incorrect. #For years below 1, the YEAR method didn't return the correct value, and the conversion from date and timestamp to varchar was incorrect.
@changelog_1043_li @changelog_1044_li
#CSVWRITE caused a NullPointerException when not specifying a nullString. #CSVWRITE caused a NullPointerException when not specifying a nullString.
@changelog_1044_li @changelog_1045_li
#When a log file switch occured just after a truncate table or drop table statement, the database could not be started normally (RECOVER=1 was required). Fixed. #When a log file switch occured just after a truncate table or drop table statement, the database could not be started normally (RECOVER=1 was required). Fixed.
@changelog_1045_li @changelog_1046_li
#When a log file switch occured in the middle of a sequence flush (sequences are only flushed every 32 values by default), the sequence value was lost. Fixed. #When a log file switch occured in the middle of a sequence flush (sequences are only flushed every 32 values by default), the sequence value was lost. Fixed.
@changelog_1046_li @changelog_1047_li
#Altering a sequence didn't unlock the system table when autocommit switched off. #Altering a sequence didn't unlock the system table when autocommit switched off.
@changelog_1047_h2 @changelog_1048_h2
#Version 1.0.68 (2008-03-18) #Version 1.0.68 (2008-03-18)
@changelog_1048_li @changelog_1049_li
#Very large SELECT DISTINCT and UNION EXCEPT queries are now supported, however this feature is disabled by default. To enable it, set the system property h2.maxMemoryRowsDistinct to a lower value, for example 10000. #Very large SELECT DISTINCT and UNION EXCEPT queries are now supported, however this feature is disabled by default. To enable it, set the system property h2.maxMemoryRowsDistinct to a lower value, for example 10000.
@changelog_1049_li @changelog_1050_li
#A error is now thrown when trying to call a method inside a trigger that implicitly commits the current transaction, if an object is locked. #A error is now thrown when trying to call a method inside a trigger that implicitly commits the current transaction, if an object is locked.
@changelog_1050_li @changelog_1051_li
#Unused LOB files were deleted much too late. Now they are deleted if no longer referenced in memory. #Unused LOB files were deleted much too late. Now they are deleted if no longer referenced in memory.
@changelog_1051_li @changelog_1052_li
#ALTER SEQUENCE and ALTER TABLE ALTER COLUMN RESTART can now be used inside a transaction. #ALTER SEQUENCE and ALTER TABLE ALTER COLUMN RESTART can now be used inside a transaction.
@changelog_1052_li @changelog_1053_li
#New system property h2.aliasColumnName. When enabled, aliased columns (as in SELECT ID AS I FROM TEST) return the real table and column name in ResultSetMetaData.getTableName() and getColumnName(). This is disabled by default for compatibility with other databases (HSQLDB, Apache Derby, PostgreSQL, some version of MySQL). In version 1.1 this setting will be enabled. #New system property h2.aliasColumnName. When enabled, aliased columns (as in SELECT ID AS I FROM TEST) return the real table and column name in ResultSetMetaData.getTableName() and getColumnName(). This is disabled by default for compatibility with other databases (HSQLDB, Apache Derby, PostgreSQL, some version of MySQL). In version 1.1 this setting will be enabled.
@changelog_1053_li @changelog_1054_li
#When using encrypted databases, and using the wrong file password, the log file was renamed if the database was not already open. Fixed. #When using encrypted databases, and using the wrong file password, the log file was renamed if the database was not already open. Fixed.
@changelog_1054_li @changelog_1055_li
#Improved performance when using lob files in directories (however this is still disabled by default) #Improved performance when using lob files in directories (however this is still disabled by default)
@changelog_1055_li @changelog_1056_li
#H2 Console: autocomplete didn't work with very large scripts. Fixed. #H2 Console: autocomplete didn't work with very large scripts. Fixed.
@changelog_1056_li @changelog_1057_li
#Fulltext search: new method SEARCH_DATA that returns the column names and primary keys as arrays. #Fulltext search: new method SEARCH_DATA that returns the column names and primary keys as arrays.
@changelog_1057_li @changelog_1058_li
#New experimental optimization for GROUP BY queries if an index can be used that matches the group by columns. To enable this optimization, set the system property h2.optimizeGroupSorted to true. #New experimental optimization for GROUP BY queries if an index can be used that matches the group by columns. To enable this optimization, set the system property h2.optimizeGroupSorted to true.
@changelog_1058_li @changelog_1059_li
#When using multi-version concurrency (MVCC=TRUE), duplicate rows could appear in the result set when running queries with uncommitted changes in the same session. #When using multi-version concurrency (MVCC=TRUE), duplicate rows could appear in the result set when running queries with uncommitted changes in the same session.
@changelog_1059_li @changelog_1060_li
#H2 Console: remote connections were very slow because getHostName/getRemoteHost was used. Fixed (now using getHostAddress/getRemoteAddr. #H2 Console: remote connections were very slow because getHostName/getRemoteHost was used. Fixed (now using getHostAddress/getRemoteAddr.
@changelog_1060_li @changelog_1061_li
#H2 Console: on Linux, Firefox, Konqueror, or Opera (in this order) are now started if available. This has been tested on Ubuntu. #H2 Console: on Linux, Firefox, Konqueror, or Opera (in this order) are now started if available. This has been tested on Ubuntu.
@changelog_1061_li @changelog_1062_li
#H2 Console: the start window works better with IKVM #H2 Console: the start window works better with IKVM
@changelog_1062_li @changelog_1063_li
#H2 Console: improved compatibility with Safari (Safari requires keep-alive) #H2 Console: improved compatibility with Safari (Safari requires keep-alive)
@changelog_1063_li @changelog_1064_li
#Random: the process didn't stop if generating the random seed using the standard way (SecureRandom.generateSeed) was very slow. Now using a daemon thread to avoid this problem. #Random: the process didn't stop if generating the random seed using the standard way (SecureRandom.generateSeed) was very slow. Now using a daemon thread to avoid this problem.
@changelog_1064_li @changelog_1065_li
#SELECT UNION with a different number of ORDER BY columns did throw an ArrayIndexOutOfBoundsException. #SELECT UNION with a different number of ORDER BY columns did throw an ArrayIndexOutOfBoundsException.
@changelog_1065_li @changelog_1066_li
#When using a view, the column precision was changed to the default scale for some data types. #When using a view, the column precision was changed to the default scale for some data types.
@changelog_1066_li @changelog_1067_li
#CSVWRITE now supports a 'null string' that is used for parsing and writing NULL. #CSVWRITE now supports a 'null string' that is used for parsing and writing NULL.
@changelog_1067_li @changelog_1068_li
#Some long running queries could not be cancelled. #Some long running queries could not be cancelled.
@changelog_1068_li @changelog_1069_li
#Queries with many outer join tables were very slow. Fixed. #Queries with many outer join tables were very slow. Fixed.
@changelog_1069_li @changelog_1070_li
#The performance of text comparison has been improved when using locale sensitive string comparison (SET COLLATOR). Now CollationKey is used with a LRU cache. The default cache size is 10000, and can be changed using the system property h2.collatorCacheSize. Use 0 to disable the cache. #The performance of text comparison has been improved when using locale sensitive string comparison (SET COLLATOR). Now CollationKey is used with a LRU cache. The default cache size is 10000, and can be changed using the system property h2.collatorCacheSize. Use 0 to disable the cache.
@changelog_1070_li @changelog_1071_li
#UPDATE SET column=DEFAULT is now supported. #UPDATE SET column=DEFAULT is now supported.
@changelog_1071_h2 @changelog_1072_h2
#Version 1.0.67 (2008-02-22) #Version 1.0.67 (2008-02-22)
@changelog_1072_li @changelog_1073_li
#New function FILE_READ to read a file or from an URL. Both binary and text data is supported. #New function FILE_READ to read a file or from an URL. Both binary and text data is supported.
@changelog_1073_li @changelog_1074_li
#CREATE TABLE AS SELECT now supports specifying the column list and data types. #CREATE TABLE AS SELECT now supports specifying the column list and data types.
@changelog_1074_li @changelog_1075_li
#Connecting to a TCP server and at shutting it down at the same time could cause a Java level deadlock. #Connecting to a TCP server and at shutting it down at the same time could cause a Java level deadlock.
@changelog_1075_li @changelog_1076_li
#A user now has all rights on his own local temporary tables. #A user now has all rights on his own local temporary tables.
@changelog_1076_li @changelog_1077_li
#The CSV tool now supports a custom lineSeparator. #The CSV tool now supports a custom lineSeparator.
@changelog_1077_li @changelog_1078_li
#When using multiple connections, empty space was reused too early sometimes. This could corrupt the database when recovering. #When using multiple connections, empty space was reused too early sometimes. This could corrupt the database when recovering.
@changelog_1078_li @changelog_1079_li
#The H2 Console has been translated to Dutch. Thanks a lot to Remco Schoen! #The H2 Console has been translated to Dutch. Thanks a lot to Remco Schoen!
@changelog_1079_li @changelog_1080_li
#Databases can now be opened even if trigger classes are not in the classpath. The exception is thrown when trying to fire the trigger. #Databases can now be opened even if trigger classes are not in the classpath. The exception is thrown when trying to fire the trigger.
@changelog_1080_li @changelog_1081_li
#Opening databases with ACCESS_MODE_DATA=r is now supported. In this case the database is read-only, but the files don't not need to be read-only. #Opening databases with ACCESS_MODE_DATA=r is now supported. In this case the database is read-only, but the files don't not need to be read-only.
@changelog_1081_li @changelog_1082_li
#Security: The database now waits 200 ms before throwing an exception if the user name or password don't match, to slow down dictionary attacks. #Security: The database now waits 200 ms before throwing an exception if the user name or password don't match, to slow down dictionary attacks.
@changelog_1082_li @changelog_1083_li
#The value cache is now a soft reference cache. This should help save memory. #The value cache is now a soft reference cache. This should help save memory.
@changelog_1083_li @changelog_1084_li
#CREATE INDEX on a table with many rows could run out of memory. Fixed. #CREATE INDEX on a table with many rows could run out of memory. Fixed.
@changelog_1084_li @changelog_1085_li
#Large result sets are now a bit faster. #Large result sets are now a bit faster.
@changelog_1085_li @changelog_1086_li
#ALTER TABLE ALTER COLUMN RESTART and ALTER SEQUENCE now support parameters (any expressions). #ALTER TABLE ALTER COLUMN RESTART and ALTER SEQUENCE now support parameters (any expressions).
@changelog_1086_li @changelog_1087_li
#When setting the base directory on the command line, the user directory prefix ('~') was ignored. #When setting the base directory on the command line, the user directory prefix ('~') was ignored.
@changelog_1087_li @changelog_1088_li
#The DbStarter servlet didn't start the TCP listener even if configured. #The DbStarter servlet didn't start the TCP listener even if configured.
@changelog_1088_li @changelog_1089_li
#Statement.setQueryTimeout() is now supported. #Statement.setQueryTimeout() is now supported.
@changelog_1089_li @changelog_1090_li
#New session setting QUERY_TIMEOUT, and new system property h2.maxQueryTimeout. #New session setting QUERY_TIMEOUT, and new system property h2.maxQueryTimeout.
@changelog_1090_li @changelog_1091_li
#Changing the transaction log level (SET LOG) is now written to the trace file by default. #Changing the transaction log level (SET LOG) is now written to the trace file by default.
@changelog_1091_li @changelog_1092_li
#In a SQL script, primary key constraints are now ordered before foreign key constraints. #In a SQL script, primary key constraints are now ordered before foreign key constraints.
@changelog_1092_li @changelog_1093_li
#It was not possible to create a referential constraint to a table in a different schema in some situations. #It was not possible to create a referential constraint to a table in a different schema in some situations.
@changelog_1093_li @changelog_1094_li
#The H2 Console was slow when the database contains many tables. Now the column names are not shown in this case. #The H2 Console was slow when the database contains many tables. Now the column names are not shown in this case.
@changelog_1094_h2 @changelog_1095_h2
#Version 1.0.66 (2008-02-02) #Version 1.0.66 (2008-02-02)
@changelog_1095_li @changelog_1096_li
#There is a new online error analyzer tool. #There is a new online error analyzer tool.
@changelog_1096_li @changelog_1097_li
#H2 Console: stack traces are now links to the source code in the source repository (H2 database only). #H2 Console: stack traces are now links to the source code in the source repository (H2 database only).
@changelog_1097_li @changelog_1098_li
#CHAR data type equals comparison was case insensitive instead of case sensitive. #CHAR data type equals comparison was case insensitive instead of case sensitive.
@changelog_1098_li @changelog_1099_li
#The exception 'Value too long for column' now includes the data. #The exception 'Value too long for column' now includes the data.
@changelog_1099_li @changelog_1100_li
#The table name was missing in the documentation of CREATE INDEX. #The table name was missing in the documentation of CREATE INDEX.
@changelog_1100_li @changelog_1101_li
#Better support for IKVM (www.ikvm.net): the H2 Console now opens a browser window. #Better support for IKVM (www.ikvm.net): the H2 Console now opens a browser window.
@changelog_1101_li @changelog_1102_li
#The cache size was not correctly calculated for tables with large objects (specially if compression is used). This could lead to out-of-memory exceptions. #The cache size was not correctly calculated for tables with large objects (specially if compression is used). This could lead to out-of-memory exceptions.
@changelog_1102_li @changelog_1103_li
#The exception "Hexadecimal string contains non-hex character" was not always thrown when it should have been. Fixed. #The exception "Hexadecimal string contains non-hex character" was not always thrown when it should have been. Fixed.
@changelog_1103_li @changelog_1104_li
#The H2 Console now provides a link to the documentation when an error occurs (H2 databases only so far). #The H2 Console now provides a link to the documentation when an error occurs (H2 databases only so far).
@changelog_1104_li @changelog_1105_li
#The acting as PostgreSQL server, when a base directory was set, and the H2 Console was started as well, the base directory was applied twice. #The acting as PostgreSQL server, when a base directory was set, and the H2 Console was started as well, the base directory was applied twice.
@changelog_1105_li @changelog_1106_li
#Calling EXTRACT(HOUR FROM ...) or EXTRACT(HH FROM ...) returned the wrong values (0 to 11 instead of 0 to 23). All other tested databases return values from 0 to 23. Please check if your application relies on the old behavior before upgrading. #Calling EXTRACT(HOUR FROM ...) or EXTRACT(HH FROM ...) returned the wrong values (0 to 11 instead of 0 to 23). All other tested databases return values from 0 to 23. Please check if your application relies on the old behavior before upgrading.
@changelog_1106_li @changelog_1107_li
#For compatibility with other databases the column default (COLUMN_DEF) for columns without default is now null (it was an empty string). #For compatibility with other databases the column default (COLUMN_DEF) for columns without default is now null (it was an empty string).
@changelog_1107_li @changelog_1108_li
#Statements that contain very large subqueries (where the subquery result does not fit in memory) are now faster. #Statements that contain very large subqueries (where the subquery result does not fit in memory) are now faster.
@changelog_1108_li @changelog_1109_li
#Variables: large objects (CLOB and BLOB) that don't fit in memory did not work correctly when used as variables. #Variables: large objects (CLOB and BLOB) that don't fit in memory did not work correctly when used as variables.
@changelog_1109_li @changelog_1110_li
#Fulltext search is now supported in named in-memory databases. #Fulltext search is now supported in named in-memory databases.
@changelog_1110_li @changelog_1111_li
#H2 Console: multiple consecutive spaces in the setting name did not work. Fixed. #H2 Console: multiple consecutive spaces in the setting name did not work. Fixed.
@changelog_1111_h2 @changelog_1112_h2
#Version 1.0.65 (2008-01-18) #Version 1.0.65 (2008-01-18)
@changelog_1112_li @changelog_1113_li
#The build (ant) now automatically switches the source code to the correct version (JDK 1.4/1.5 or 1.6). #The build (ant) now automatically switches the source code to the correct version (JDK 1.4/1.5 or 1.6).
@changelog_1113_li @changelog_1114_li
#A recovery bug has been fixed. With older versions, it was necessary to add ;RECOVER=1 to the database URL in cases where it should not have been required. #A recovery bug has been fixed. With older versions, it was necessary to add ;RECOVER=1 to the database URL in cases where it should not have been required.
@changelog_1114_li @changelog_1115_li
#The performance for DROP and DROP ALL OBJECTS has been improved. #The performance for DROP and DROP ALL OBJECTS has been improved.
@changelog_1115_li @changelog_1116_li
#The ChangePassword API has been improved. #The ChangePassword API has been improved.
@changelog_1116_li @changelog_1117_li
#User defined variables are now supported. Examples: SET @VAR=10;CALL @VAR. This can be used for running totals as in: select x, set(@t, ifnull(@t, 0) + x) from system_range(1, 10) #User defined variables are now supported. Examples: SET @VAR=10;CALL @VAR. This can be used for running totals as in: select x, set(@t, ifnull(@t, 0) + x) from system_range(1, 10)
@changelog_1117_li @changelog_1118_li
#The Ukrainian translation has been improved. #The Ukrainian translation has been improved.
@changelog_1118_li @changelog_1119_li
#CALL statements can now be used in batch updates and called using Statement.executeUpdate. #CALL statements can now be used in batch updates and called using Statement.executeUpdate.
@changelog_1119_li @changelog_1120_li
#New read-only setting CREATE_BUILD (the build number of the database engine that created the database). #New read-only setting CREATE_BUILD (the build number of the database engine that created the database).
@changelog_1120_li @changelog_1121_li
#The optimizer did not use multi column indexes for range queries in some cases. Fixed. #The optimizer did not use multi column indexes for range queries in some cases. Fixed.
@changelog_1121_li @changelog_1122_li
#The H2 Console now calls DataSource.getConnection() instead of DataSource.getConnection(user, password) when user name and password are not specified. #The H2 Console now calls DataSource.getConnection() instead of DataSource.getConnection(user, password) when user name and password are not specified.
@changelog_1122_li @changelog_1123_li
#The bind IP address can now be set when using multi-homed host (if multiple network adapters are available) using the system property h2.bindAddress. #The bind IP address can now be set when using multi-homed host (if multiple network adapters are available) using the system property h2.bindAddress.
@changelog_1123_li @changelog_1124_li
#Batch update: Calling BatchUpdateException.printStackTrace() could result in out of memory. Fixed. #Batch update: Calling BatchUpdateException.printStackTrace() could result in out of memory. Fixed.
@changelog_1124_li @changelog_1125_li
#Indexes of unique or foreign constraints where not dropped when the constraint was dropped after altering the table (for example dropping a column). Fixed. #Indexes of unique or foreign constraints where not dropped when the constraint was dropped after altering the table (for example dropping a column). Fixed.
@changelog_1125_li @changelog_1126_li
#The performance for large result sets in the server mode has been improved. #The performance for large result sets in the server mode has been improved.
@changelog_1126_li @changelog_1127_li
#The setting h2.serverSmallResultSetSize has been renamed to h2.serverResultSetFetchSize. #The setting h2.serverSmallResultSetSize has been renamed to h2.serverResultSetFetchSize.
@changelog_1127_li @changelog_1128_li
#The SCRIPT command now uses multi-row insert statements to save space except if the option SIMPLE is used. #The SCRIPT command now uses multi-row insert statements to save space except if the option SIMPLE is used.
@changelog_1128_li @changelog_1129_li
#The SCRIPT command did not split up CLOB data correctly. Fixed. #The SCRIPT command did not split up CLOB data correctly. Fixed.
@changelog_1129_li @changelog_1130_li
#Optimization for single column distinct queries with an index: select distinct name from test. Can be disabled by setting the system property h2.optimizeDistinct to false. #Optimization for single column distinct queries with an index: select distinct name from test. Can be disabled by setting the system property h2.optimizeDistinct to false.
@changelog_1130_li @changelog_1131_li
#DROP ALL OBJECTS did not drop user defined aggregate functions and domains. #DROP ALL OBJECTS did not drop user defined aggregate functions and domains.
@changelog_1131_li @changelog_1132_li
#PostgreSQL compatibility: COUNT(T.*) is now supported. #PostgreSQL compatibility: COUNT(T.*) is now supported.
@changelog_1132_li @changelog_1133_li
#LIKE comparisons are now faster. #LIKE comparisons are now faster.
@changelog_1133_li @changelog_1134_li
#Encrypted databases are now faster. #Encrypted databases are now faster.
@changelog_1134_h2 @changelog_1135_h2
#Version 1.0.64 (2007-12-27) #Version 1.0.64 (2007-12-27)
@changelog_1135_li @changelog_1136_li
#3-way union queries with prepared statement or views could return the wrong results. Fixed. #3-way union queries with prepared statement or views could return the wrong results. Fixed.
@changelog_1136_li @changelog_1137_li
#The PostgreSQL ODBC driver did not work in the last release due to a parser regression. Fixed. #The PostgreSQL ODBC driver did not work in the last release due to a parser regression. Fixed.
@changelog_1137_li @changelog_1138_li
#CSV tool: some escape/separator character combinations did not work. Fixed. #CSV tool: some escape/separator character combinations did not work. Fixed.
@changelog_1138_li @changelog_1139_li
#CSV tool: the character # could not be used as a separator when reading. #CSV tool: the character # could not be used as a separator when reading.
@changelog_1139_li @changelog_1140_li
#Recovery: when the index file is corrupt, now the database deletes it and re-creates it automatically. #Recovery: when the index file is corrupt, now the database deletes it and re-creates it automatically.
@changelog_1140_li @changelog_1141_li
#The MVCC mode did not work well with in-memory databases. Fixed. #The MVCC mode did not work well with in-memory databases. Fixed.
@changelog_1141_li @changelog_1142_li
#The FTP server now supports a event listener. Thanks Fulvio Biondi for the help! #The FTP server now supports a event listener. Thanks Fulvio Biondi for the help!
@changelog_1142_li @changelog_1143_li
#New system function CANCEL_SESSION to cancel the currently executing statement of another session. #New system function CANCEL_SESSION to cancel the currently executing statement of another session.
@changelog_1143_li @changelog_1144_li
#The database now supports an exclusive mode. In exclusive mode, new connections are rejected. #The database now supports an exclusive mode. In exclusive mode, new connections are rejected.
@changelog_1144_li @changelog_1145_li
#H2 Console: when editing result sets, columns can now be set to null. The text 'null' must be escaped using '=null'. #H2 Console: when editing result sets, columns can now be set to null. The text 'null' must be escaped using '=null'.
@changelog_1145_li @changelog_1146_li
#New built-in functions RPAD and LPAD. #New built-in functions RPAD and LPAD.
@changelog_1146_li @changelog_1147_li
#New meta data table INFORMATION_SCHEMA.SESSIONS and LOCKS to get information about active connections and locks. Admins will see all connections, non-admins only their own session. #New meta data table INFORMATION_SCHEMA.SESSIONS and LOCKS to get information about active connections and locks. Admins will see all connections, non-admins only their own session.
@changelog_1147_li @changelog_1148_li
#The Ukrainian translation was not working in the last release. Fixed. #The Ukrainian translation was not working in the last release. Fixed.
@changelog_1148_li @changelog_1149_li
#Creating many tables (many hundreds) was slow. Fixed. #Creating many tables (many hundreds) was slow. Fixed.
@changelog_1149_li @changelog_1150_li
#Opening a database with many indexes (thousands) was slow. Fixed. #Opening a database with many indexes (thousands) was slow. Fixed.
@changelog_1150_li @changelog_1151_li
#H2 Console / autocomplete: Ctrl+Space now shows the list in all modes. #H2 Console / autocomplete: Ctrl+Space now shows the list in all modes.
@changelog_1151_li @changelog_1152_li
#The method Trigger.init has been changed: the parameters 'before' and 'type', have been added to the init method. #The method Trigger.init has been changed: the parameters 'before' and 'type', have been added to the init method.
@changelog_1152_li @changelog_1153_li
#The performance has been improved for ResultSet methods with column name. #The performance has been improved for ResultSet methods with column name.
@changelog_1153_li @changelog_1154_li
#A stack trace was thrown if the system did not provide a quick secure random source and if there is no network or the network settings are not configured. Fixed. #A stack trace was thrown if the system did not provide a quick secure random source and if there is no network or the network settings are not configured. Fixed.
@changelog_1154_li @changelog_1155_li
#The H2 Console has been translated to Turkish. Thanks a lot to Ridvan Agar! #The H2 Console has been translated to Turkish. Thanks a lot to Ridvan Agar!
@changelog_1155_li @changelog_1156_li
#Improved debugging support: toString methods of most object now return a meaningful text. #Improved debugging support: toString methods of most object now return a meaningful text.
@changelog_1156_li @changelog_1157_li
#The classes DbStarter and WebServlet have been moved to src/main. #The classes DbStarter and WebServlet have been moved to src/main.
@changelog_1157_li @changelog_1158_li
#The column INFORMATION_SCHEMA.TRIGGERS.SQL now contains the CREATE TRIGGER statement. #The column INFORMATION_SCHEMA.TRIGGERS.SQL now contains the CREATE TRIGGER statement.
@changelog_1158_li @changelog_1159_li
#Loading classes and calling methods can be restricted using the new system property h2.allowedClasses. #Loading classes and calling methods can be restricted using the new system property h2.allowedClasses.
@changelog_1159_li @changelog_1160_li
#The database could not be used in Java applets due to security exceptions. Fixed. #The database could not be used in Java applets due to security exceptions. Fixed.
@changelog_1160_h2 @changelog_1161_h2
#Version 1.0.63 (2007-12-02) #Version 1.0.63 (2007-12-02)
@changelog_1161_li @changelog_1162_li
#The SecurePassword example has been improved. #The SecurePassword example has been improved.
@changelog_1162_li @changelog_1163_li
#In time zones where the summer time saving limit is at midnight, some dates do not work in some virtual machines, for example 2007-10-14 in Chile, using the Sun JVM 1.6.0_03-b05. Fixed. #In time zones where the summer time saving limit is at midnight, some dates do not work in some virtual machines, for example 2007-10-14 in Chile, using the Sun JVM 1.6.0_03-b05. Fixed.
@changelog_1163_li @changelog_1164_li
#The native fulltext search was not working properly after re-connecting. #The native fulltext search was not working properly after re-connecting.
@changelog_1164_li @changelog_1165_li
#Improved FTP server: now the PORT command is supported. #Improved FTP server: now the PORT command is supported.
@changelog_1165_li @changelog_1166_li
#Temporary views (FROM(...)) with UNION didn't work if nested. Fixed. #Temporary views (FROM(...)) with UNION didn't work if nested. Fixed.
@changelog_1166_li @changelog_1167_li
#Performance optimization for IN(...) and IN(SELECT...), currently disabled by default. To enable, use java -Dh2.optimizeInJoin=true #Performance optimization for IN(...) and IN(SELECT...), currently disabled by default. To enable, use java -Dh2.optimizeInJoin=true
@changelog_1167_li @changelog_1168_li
#The H2 Console has been translated to Ukrainian by Igor Dobrovolskyi. Thanks a lot! #The H2 Console has been translated to Ukrainian by Igor Dobrovolskyi. Thanks a lot!
@changelog_1168_li @changelog_1169_li
#New function TABLE_DISTINCT. #New function TABLE_DISTINCT.
@changelog_1169_li @changelog_1170_li
#Using LIMIT with values close to Integer.MAX_VALUE didn't work correctly. #Using LIMIT with values close to Integer.MAX_VALUE didn't work correctly.
@changelog_1170_li @changelog_1171_li
#Certain setting in the Server didn't work (http://code.google.com/p/h2database/issues/detail?id=7). #Certain setting in the Server didn't work (http://code.google.com/p/h2database/issues/detail?id=7).
@changelog_1171_h2 @changelog_1172_h2
#Version 1.0.62 (2007-11-25) #Version 1.0.62 (2007-11-25)
@changelog_1172_li
#Large updates and deletes are now supported by buffering data to disk if required. The threshold is currently set to 100'000 bytes and can be changed using SET MAX_OPERATION_MEMORY or using by appending ;MAX_OPERATION_MEMORY=.. to the database URL. See also the docs.
@changelog_1173_li @changelog_1173_li
#MVCC: now an exception is thrown when an application tries to change the MVCC setting while the database is already open. #Large updates and deletes are now supported by buffering data to disk if required. The threshold is currently set to 100'000 bytes and can be changed using SET MAX_OPERATION_MEMORY or using by appending ;MAX_OPERATION_MEMORY=.. to the database URL. See also the docs.
@changelog_1174_li @changelog_1174_li
#Referential integrity checks didn't lock the referenced table, and thus could read uncommitted rows of other connections. In that way the referential constraints could get violated (except when using MVCC). #MVCC: now an exception is thrown when an application tries to change the MVCC setting while the database is already open.
@changelog_1175_li @changelog_1175_li
#Renaming or dropping a user with a schema, or removing the admin property of that user made the schema inaccessible after re-opening the database. Fixed. #Referential integrity checks didn't lock the referenced table, and thus could read uncommitted rows of other connections. In that way the referential constraints could get violated (except when using MVCC).
@changelog_1176_li @changelog_1176_li
#The H2 Console now also support the command line option -ifExists when started from the Server tool, but only when connecting to H2 databases. #Renaming or dropping a user with a schema, or removing the admin property of that user made the schema inaccessible after re-opening the database. Fixed.
@changelog_1177_li @changelog_1177_li
#Duplicate column names were not detected when renaming columns. Fixed. #The H2 Console now also support the command line option -ifExists when started from the Server tool, but only when connecting to H2 databases.
@changelog_1178_li @changelog_1178_li
#The console did not display multiple embedded spaces in text correctly. Fixed. #Duplicate column names were not detected when renaming columns. Fixed.
@changelog_1179_li @changelog_1179_li
#Google Android support: use 'ant codeswitchAndroid' to switch the source code to Android. #The console did not display multiple embedded spaces in text correctly. Fixed.
@changelog_1180_li @changelog_1180_li
#Values of type ARRAY are now sorted as in PostgreSQL. #Google Android support: use 'ant codeswitchAndroid' to switch the source code to Android.
@changelog_1181_li @changelog_1181_li
#In the cluster mode, could not connect if only one server was running (last release only). Fixed. #Values of type ARRAY are now sorted as in PostgreSQL.
@changelog_1182_li @changelog_1182_li
#The performance of large CSV operations has been improved. #In the cluster mode, could not connect if only one server was running (last release only). Fixed.
@changelog_1183_li @changelog_1183_li
#Now using custom toString() for most JDBC objects and commands. #The performance of large CSV operations has been improved.
@changelog_1184_li @changelog_1184_li
#Nested temporary views (SELECT * FROM (SELECT ...)) with parameters didn't work in some cases. Fixed. #Now using custom toString() for most JDBC objects and commands.
@changelog_1185_li @changelog_1185_li
#CSV: Using an empty field delimiter didn't work (a workaround was using char(0)). Fixed. #Nested temporary views (SELECT * FROM (SELECT ...)) with parameters didn't work in some cases. Fixed.
@changelog_1186_li @changelog_1186_li
#A patch for Apache DDL Utils is available at https://issues.apache.org/jira/browse/DDLUTILS-185 #CSV: Using an empty field delimiter didn't work (a workaround was using char(0)). Fixed.
@changelog_1187_li @changelog_1187_li
#The default value for h2.emergencySpaceInitial is now 256 KB (to speed up creating encrypted databases) #A patch for Apache DDL Utils is available at https://issues.apache.org/jira/browse/DDLUTILS-185
@changelog_1188_li @changelog_1188_li
#Eduardo Velasques has translated the H2 Console and the error messages to Brazilian Portuguese. Thanks a lot! #The default value for h2.emergencySpaceInitial is now 256 KB (to speed up creating encrypted databases)
@changelog_1189_li @changelog_1189_li
#Eduardo Velasques has translated the H2 Console and the error messages to Brazilian Portuguese. Thanks a lot!
@changelog_1190_li
#Creating a table from GROUP_CONCAT didn't work if the data was longer than 255 characters #Creating a table from GROUP_CONCAT didn't work if the data was longer than 255 characters
@changelog_1190_h2 @changelog_1191_h2
#Version 1.0.61 (2007-11-10) #Version 1.0.61 (2007-11-10)
@changelog_1191_li @changelog_1192_li
#The Lucene Fulltext implementation is now compiled and included in the h2.jar. Requires Lucene 2.2. #The Lucene Fulltext implementation is now compiled and included in the h2.jar. Requires Lucene 2.2.
@changelog_1192_li @changelog_1193_li
#Added more tests. The code coverage is now at 83%. #Added more tests. The code coverage is now at 83%.
@changelog_1193_li @changelog_1194_li
#ResultSetMetaData.getColumnDisplaySize was calculated as the longest display size for the given result set, but should be the maximum size that fits in the column. Fixed. #ResultSetMetaData.getColumnDisplaySize was calculated as the longest display size for the given result set, but should be the maximum size that fits in the column. Fixed.
@changelog_1194_li @changelog_1195_li
#The MODE used to be a global setting, now it is a database level setting. #The MODE used to be a global setting, now it is a database level setting.
@changelog_1195_li @changelog_1196_li
#The database does now always round to the nearest number when converting a floating point to a integer: CAST(1.5 AS INT) will now result in 2, like in PostgreSQL and MySQL. #The database does now always round to the nearest number when converting a floating point to a integer: CAST(1.5 AS INT) will now result in 2, like in PostgreSQL and MySQL.
@changelog_1196_li @changelog_1197_li
#Math operations using unknown data types (for example -? and ?+?) are now interpreted as decimal. #Math operations using unknown data types (for example -? and ?+?) are now interpreted as decimal.
@changelog_1197_li @changelog_1198_li
#INSTR, LOCATE: backward searching is not supported by using a negative start position. #INSTR, LOCATE: backward searching is not supported by using a negative start position.
@changelog_1198_li @changelog_1199_li
#Can now open a database stored in a jar or zip file (for example, jdbc:h2:zip:c:/temp/h2.zip!/test). #Can now open a database stored in a jar or zip file (for example, jdbc:h2:zip:c:/temp/h2.zip!/test).
@changelog_1199_li @changelog_1200_li
#Files access now uses an API (FileSystem, FileObject), this will simplify adding other file systems and features (for example replication). #Files access now uses an API (FileSystem, FileObject), this will simplify adding other file systems and features (for example replication).
@changelog_1200_li @changelog_1201_li
#Vlad Alexahin has translated H2 Console to Russian. Thanks a lot! #Vlad Alexahin has translated H2 Console to Russian. Thanks a lot!
@changelog_1201_li @changelog_1202_li
#Descending indexes are now supported. This is useful when sorting columns descending, for example by creation date. #Descending indexes are now supported. This is useful when sorting columns descending, for example by creation date.
@changelog_1202_li @changelog_1203_li
#Solved a Java level deadlock in the DatabaseCloser. #Solved a Java level deadlock in the DatabaseCloser.
@changelog_1203_li @changelog_1204_li
#CREATE SEQUENCE: New option CACHE (number of pre-allocated numbers). New column CACHE in the sequence meta data table. The default cache size is still 32. #CREATE SEQUENCE: New option CACHE (number of pre-allocated numbers). New column CACHE in the sequence meta data table. The default cache size is still 32.
@changelog_1204_li @changelog_1205_li
#MVCC: The system property h2.mvcc has been removed. A few bugs have been fixed, and new tests have been added. #MVCC: The system property h2.mvcc has been removed. A few bugs have been fixed, and new tests have been added.
@changelog_1205_h2 @changelog_1206_h2
#Version 1.0.60 (2007-10-20) #Version 1.0.60 (2007-10-20)
@changelog_1206_li @changelog_1207_li
#JdbcXAConnection: starting a transaction before getting the connection didn't switch off autocommit. #JdbcXAConnection: starting a transaction before getting the connection didn't switch off autocommit.
@changelog_1207_li @changelog_1208_li
#User defined aggregate functions are not supported. #User defined aggregate functions are not supported.
@changelog_1208_li @changelog_1209_li
#Server.shutdownTcpServer was blocked when first called with force=false and then force=true. Now documentation is improved, and it is no longer blocked. #Server.shutdownTcpServer was blocked when first called with force=false and then force=true. Now documentation is improved, and it is no longer blocked.
@changelog_1209_li @changelog_1210_li
#Stack traces did not include the SQL statement in all cases where they could have. Also, stack traces with SQL statement are now shorter. #Stack traces did not include the SQL statement in all cases where they could have. Also, stack traces with SQL statement are now shorter.
@changelog_1210_li @changelog_1211_li
#Linked tables: now tables in non-default schemas are supported as well #Linked tables: now tables in non-default schemas are supported as well
@changelog_1211_li @changelog_1212_li
#New Italian translation from PierPaolo Ucchino. Thanks a lot! #New Italian translation from PierPaolo Ucchino. Thanks a lot!
@changelog_1212_li @changelog_1213_li
#CSV: New methods to set the escape character and field delimiter in the Csv tool and the CSVWRITE and CSVREAD methods. #CSV: New methods to set the escape character and field delimiter in the Csv tool and the CSVWRITE and CSVREAD methods.
@changelog_1213_li @changelog_1214_li
#Prepared statements could not be used after data definition statements (creating tables and so on). Fixed. #Prepared statements could not be used after data definition statements (creating tables and so on). Fixed.
@changelog_1214_li @changelog_1215_li
#PreparedStatement.setMaxRows could not be changed to a higher value after the statement was executed. #PreparedStatement.setMaxRows could not be changed to a higher value after the statement was executed.
@changelog_1215_li @changelog_1216_li
#The H2 Console could not connect twice to the same H2 embedded database at the same time. Fixed. #The H2 Console could not connect twice to the same H2 embedded database at the same time. Fixed.
@changelog_1216_li @changelog_1217_li
#CSVREAD, RUNSCRIPT and so on now support URLs as well, using URL.openStream(). Example: select * from csvread('jar:file:///c:/temp/test.jar!/test.csv'); #CSVREAD, RUNSCRIPT and so on now support URLs as well, using URL.openStream(). Example: select * from csvread('jar:file:///c:/temp/test.jar!/test.csv');
@changelog_1217_h2 @changelog_1218_h2
#Version 1.0.59 (2007-10-03) #Version 1.0.59 (2007-10-03)
@changelog_1218_li @changelog_1219_li
#When the data type was unknown in a subquery, sometimes the wrong exception (ArrayIndexOutOfBounds) was thrown. Fixed. #When the data type was unknown in a subquery, sometimes the wrong exception (ArrayIndexOutOfBounds) was thrown. Fixed.
@changelog_1219_li @changelog_1220_li
#If the process was killed while the database was running, sometimes the database could not be opened ('double allocation') except when the system property h2.check was set to false. Fixed. #If the process was killed while the database was running, sometimes the database could not be opened ('double allocation') except when the system property h2.check was set to false. Fixed.
@changelog_1220_li @changelog_1221_li
#Multi-threaded kernel (MULTI_THREADED=1): A synchronization problem has been fixed. #Multi-threaded kernel (MULTI_THREADED=1): A synchronization problem has been fixed.
@changelog_1221_li @changelog_1222_li
#A PreparedStatement that was cancelled could not be reused. Fixed. #A PreparedStatement that was cancelled could not be reused. Fixed.
@changelog_1222_li @changelog_1223_li
#H2 Console: Progress information when logging into a H2 embedded database (useful when opening a database is slow). #H2 Console: Progress information when logging into a H2 embedded database (useful when opening a database is slow).
@changelog_1223_li @changelog_1224_li
#When the database was closed while logging was disabled (LOG 0), re-opening the database was slow. Fixed. #When the database was closed while logging was disabled (LOG 0), re-opening the database was slow. Fixed.
@changelog_1224_li @changelog_1225_li
#Fulltext search is now documented (in the Tutorial). #Fulltext search is now documented (in the Tutorial).
@changelog_1225_li @changelog_1226_li
#The Console did not refresh the table list if the CREATE TABLE statement started with a comment. Fixed. #The Console did not refresh the table list if the CREATE TABLE statement started with a comment. Fixed.
@changelog_1226_li @changelog_1227_li
#When creating a table using CREATE TABLE .. AS SELECT, the precision for some data types (for example VARCHAR) was set to the default precision. Fixed. #When creating a table using CREATE TABLE .. AS SELECT, the precision for some data types (for example VARCHAR) was set to the default precision. Fixed.
@changelog_1227_li @changelog_1228_li
#When using the (undocumented) in-memory file system (jdbc:h2:memFS:x or jdbc:h2:memLZF:x), and using multiple connections, a ConcurrentModificationException could occur. Fixed. #When using the (undocumented) in-memory file system (jdbc:h2:memFS:x or jdbc:h2:memLZF:x), and using multiple connections, a ConcurrentModificationException could occur. Fixed.
@changelog_1228_li @changelog_1229_li
#REGEXP compatibility: So far String.matches was used, but for compatibility with MySQL, now Matcher.find is used. #REGEXP compatibility: So far String.matches was used, but for compatibility with MySQL, now Matcher.find is used.
@changelog_1229_li @changelog_1230_li
#SCRIPT: the SQL statements in the result set now include the terminating semicolon as well. Simplifies copy and paste. #SCRIPT: the SQL statements in the result set now include the terminating semicolon as well. Simplifies copy and paste.
@changelog_1230_li @changelog_1231_li
#When using a subquery with group by as a table, some columns could not be used in the where condition in the outer query. Example: SELECT * FROM (SELECT ID, COUNT(*) C FROM TEST) WHERE C > 100. Fixed. #When using a subquery with group by as a table, some columns could not be used in the where condition in the outer query. Example: SELECT * FROM (SELECT ID, COUNT(*) C FROM TEST) WHERE C > 100. Fixed.
@changelog_1231_li @changelog_1232_li
#Views with subqueries as tables and queries with nested subqueries as tables did not always work. Fixed. #Views with subqueries as tables and queries with nested subqueries as tables did not always work. Fixed.
@changelog_1232_li @changelog_1233_li
#Compatibility: comparing columns with constants that are out of range does not throw an exception. #Compatibility: comparing columns with constants that are out of range does not throw an exception.
@changelog_1233_h2 @changelog_1234_h2
#Version 1.0.58 (2007-09-15) #Version 1.0.58 (2007-09-15)
@changelog_1234_li @changelog_1235_li
#System.exit is no longer called by the WebServer, the Console and the Server tool (except to set the exit code if required). This is important when using OSGi. #System.exit is no longer called by the WebServer, the Console and the Server tool (except to set the exit code if required). This is important when using OSGi.
@changelog_1235_li @changelog_1236_li
#Optimization for independent subqueries. For example, this query can now an index: SELECT * FROM TEST WHERE ID = (SELECT MAX(ID) FROM TEST) This can be disabled by setting the system property h2.optimizeSubqueryCache to false. #Optimization for independent subqueries. For example, this query can now an index: SELECT * FROM TEST WHERE ID = (SELECT MAX(ID) FROM TEST) This can be disabled by setting the system property h2.optimizeSubqueryCache to false.
@changelog_1236_li @changelog_1237_li
#The explain plan now says: /* direct lookup query */ if the query can be processed directly without reading rows, for example when using MIN(indexed column), MAX(indexed column), or COUNT(*). #The explain plan now says: /* direct lookup query */ if the query can be processed directly without reading rows, for example when using MIN(indexed column), MAX(indexed column), or COUNT(*).
@changelog_1237_li @changelog_1238_li
#When using IFNULL, NULLIF, COALESCE, LEAST, or GREATEST, and the first parameter was ?, an exception was thrown. Now the highest data type of all parameters is used. #When using IFNULL, NULLIF, COALESCE, LEAST, or GREATEST, and the first parameter was ?, an exception was thrown. Now the highest data type of all parameters is used.
@changelog_1238_li @changelog_1239_li
#When comparing TINYINT or SMALLINT columns against constants, the index was not used. Fixed. #When comparing TINYINT or SMALLINT columns against constants, the index was not used. Fixed.
@changelog_1239_li @changelog_1240_li
#Maven 2: new version are now automatically synced with the central repositories. #Maven 2: new version are now automatically synced with the central repositories.
@changelog_1240_li @changelog_1241_li
#The default value for MAX_MEMORY_UNDO is now 100000. #The default value for MAX_MEMORY_UNDO is now 100000.
@changelog_1241_li @changelog_1242_li
#The documentation indexer does no longer index Japanese pages. If somebody knows how to split Japanese into words please post it. #The documentation indexer does no longer index Japanese pages. If somebody knows how to split Japanese into words please post it.
@changelog_1242_li @changelog_1243_li
#Oracle compatibility: SYSDATE now returns a timestamp. CHR(..) is now an alias for CHAR(..). #Oracle compatibility: SYSDATE now returns a timestamp. CHR(..) is now an alias for CHAR(..).
@changelog_1243_li @changelog_1244_li
#After deleting data, empty space in the database files was not efficiently reused (but it was reused when opening the database). This has been fixed. #After deleting data, empty space in the database files was not efficiently reused (but it was reused when opening the database). This has been fixed.
@changelog_1244_li @changelog_1245_li
#About 230 bytes per database was leaked. This is a problem for applications opening and closing many thousand databases. The main problem: a shutdown hook was added but never removed. Fixed. In JDK 1.4, there is <a href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4197876">an additionally problem</a> . A workaround has been implemented. #About 230 bytes per database was leaked. This is a problem for applications opening and closing many thousand databases. The main problem: a shutdown hook was added but never removed. Fixed. In JDK 1.4, there is <a href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4197876">an additionally problem</a> . A workaround has been implemented.
@changelog_1245_li @changelog_1246_li
#Optimization for COLUMN IN(.., NULL) if the column does not allow NULL values. #Optimization for COLUMN IN(.., NULL) if the column does not allow NULL values.
@changelog_1246_li @changelog_1247_li
#Using spaces in column and table aliases was not supported when used inside a view or temporary view. #Using spaces in column and table aliases was not supported when used inside a view or temporary view.
@changelog_1247_li @changelog_1248_li
#The version (build) number is now included in the manifest file. #The version (build) number is now included in the manifest file.
@changelog_1248_li @changelog_1249_li
#In some systems, SecureRandom.generateSeed is very slow (taking one minute or more). For those cases, an alternative method is used that takes less than one second. #In some systems, SecureRandom.generateSeed is very slow (taking one minute or more). For those cases, an alternative method is used that takes less than one second.
@changelog_1249_li @changelog_1250_li
#The database file sizes are now increased at most 32 MB at any time. #The database file sizes are now increased at most 32 MB at any time.
@changelog_1250_li @changelog_1251_li
#New method DatabaseEventListener.opened that is called just after opening a database. #New method DatabaseEventListener.opened that is called just after opening a database.
@changelog_1251_li @changelog_1252_li
#When using the Console with Internet Explorer 6.0 or 7.0, a Javascript error was thrown after clearing the query. #When using the Console with Internet Explorer 6.0 or 7.0, a Javascript error was thrown after clearing the query.
@changelog_1252_li @changelog_1253_li
#A database can now be opened even if class of a user defined function is not in the classpath. Trying to call the function will throws an exception. #A database can now be opened even if class of a user defined function is not in the classpath. Trying to call the function will throws an exception.
@changelog_1253_li @changelog_1254_li
#User defined functions and constants may not overload built-in functions and constants. This didn't work before, but now trying to create such an object will fail. #User defined functions and constants may not overload built-in functions and constants. This didn't work before, but now trying to create such an object will fail.
@changelog_1254_li @changelog_1255_li
#Improved MultiDimension tool (for spatial queries): in the last few releases the tool was actually slower than using a regular query (because index lookup got faster, and because the tool didn't support prepared statements) Now the tool generates prepared statements, and the performance is better again (about 5 times faster for a reasonable amount of data). #Improved MultiDimension tool (for spatial queries): in the last few releases the tool was actually slower than using a regular query (because index lookup got faster, and because the tool didn't support prepared statements) Now the tool generates prepared statements, and the performance is better again (about 5 times faster for a reasonable amount of data).
@changelog_1255_li @changelog_1256_li
#Adding a foreign key or when re-enabling referential integrity for a table failed when checking was enabled and the reference contained NULL. #Adding a foreign key or when re-enabling referential integrity for a table failed when checking was enabled and the reference contained NULL.
@changelog_1256_li @changelog_1257_li
#For PgServer, character encoding other than UTF-8 did not work correctly. Fixed. #For PgServer, character encoding other than UTF-8 did not work correctly. Fixed.
@changelog_1257_li @changelog_1258_li
#Using a function in a GROUP BY expression that is used in a view as a condition did not always work. #Using a function in a GROUP BY expression that is used in a view as a condition did not always work.
@changelog_1258_h2 @changelog_1259_h2
#Version 1.0.57 (2007-08-25) #Version 1.0.57 (2007-08-25)
@changelog_1259_li @changelog_1260_li
#New experimental feature MVCC (multi version concurrency control). Can be set as a option when opening the database (jdbc:h2:~/test;MVCC=TRUE) or as a system property (-Dh2.mvcc=true). This is work-in-progress, use it at your own risk. Feedback is welcome. #New experimental feature MVCC (multi version concurrency control). Can be set as a option when opening the database (jdbc:h2:~/test;MVCC=TRUE) or as a system property (-Dh2.mvcc=true). This is work-in-progress, use it at your own risk. Feedback is welcome.
@changelog_1260_li @changelog_1261_li
#The version number is now major.minor.micro where micro is the build number. Not all version are public, so there may be gaps in the micro. The minor changes when there is a file format change. #The version number is now major.minor.micro where micro is the build number. Not all version are public, so there may be gaps in the micro. The minor changes when there is a file format change.
@changelog_1261_li @changelog_1262_li
#The backup tool (org.h2.tools.Backup) did not work. The restore tool did not work when the -db parameter was used. Fixed. The documentation of the backup tool has been changed: only one database may be backed up at any time. #The backup tool (org.h2.tools.Backup) did not work. The restore tool did not work when the -db parameter was used. Fixed. The documentation of the backup tool has been changed: only one database may be backed up at any time.
@changelog_1262_li @changelog_1263_li
#Opening large read-only databases was very slow. Fixed. #Opening large read-only databases was very slow. Fixed.
@changelog_1263_li @changelog_1264_li
#New Japanese translation of the error messages thanks to Ikemoto Masahiro. Thanks a lot! #New Japanese translation of the error messages thanks to Ikemoto Masahiro. Thanks a lot!
@changelog_1264_li @changelog_1265_li
#Disabling / enabling referential integrity for a table can now be used inside a transaction. #Disabling / enabling referential integrity for a table can now be used inside a transaction.
@changelog_1265_li @changelog_1266_li
#Rights checking for dynamic tables (SELECT * FROM (SELECT ...)) did not work. Fixed. #Rights checking for dynamic tables (SELECT * FROM (SELECT ...)) did not work. Fixed.
@changelog_1266_li @changelog_1267_li
#Creating more than 10 views that depend on each other was very slow. Reconnecting was slow as well. Fixed. #Creating more than 10 views that depend on each other was very slow. Reconnecting was slow as well. Fixed.
@changelog_1267_li @changelog_1268_li
#When used as as Servlet, the H2 Console did not work with SSL (using Tomcat). Fixed. #When used as as Servlet, the H2 Console did not work with SSL (using Tomcat). Fixed.
@changelog_1268_li @changelog_1269_li
#When altering a table with foreign key constraint, if there was no manual index created for the referenced columns, the automatically created index was dropped while still being used. Fixed. #When altering a table with foreign key constraint, if there was no manual index created for the referenced columns, the automatically created index was dropped while still being used. Fixed.
@changelog_1269_li @changelog_1270_li
#Check and foreign key constraints now checks if the existing data is consistent (this can be disabled by appending NOCHECK). It is also possible to check existing data when re-enabling referential integrity for a table. #Check and foreign key constraints now checks if the existing data is consistent (this can be disabled by appending NOCHECK). It is also possible to check existing data when re-enabling referential integrity for a table.
@changelog_1270_li @changelog_1271_li
#Some unit tests failed on Linux because the file system works differently. The unit tests are fixed and should work now. #Some unit tests failed on Linux because the file system works differently. The unit tests are fixed and should work now.
@changelog_1271_li @changelog_1272_li
#Can now incrementally translate the documentation. See also FAQ. #Can now incrementally translate the documentation. See also FAQ.
@changelog_1272_li @changelog_1273_li
#Improved error messages: some tools can't show the root cause of an exception. Adding the message of the root cause to the message of the thrown exception now where it makes sense. #Improved error messages: some tools can't show the root cause of an exception. Adding the message of the root cause to the message of the thrown exception now where it makes sense.
@changelog_1273_li @changelog_1274_li
#The H2 Console can now connect to databases using JNDI. The driver class name must be a javax.naming.Context, (for example javax.naming.InitialContext), and the URL the resource name (for example java:comp/env/jdbc/Test). This should also work for linked tables. #The H2 Console can now connect to databases using JNDI. The driver class name must be a javax.naming.Context, (for example javax.naming.InitialContext), and the URL the resource name (for example java:comp/env/jdbc/Test). This should also work for linked tables.
@changelog_1274_li @changelog_1275_li
#Google translate did not work for the H2 homepage. It should be fixed now. #Google translate did not work for the H2 homepage. It should be fixed now.
@changelog_1275_li @changelog_1276_li
#The CONVERT function did not work with views when using UNION. #The CONVERT function did not work with views when using UNION.
@changelog_1276_li @changelog_1277_li
#The build now issues a warning if the source code is switched to the wrong version. #The build now issues a warning if the source code is switched to the wrong version.
@changelog_1277_li @changelog_1278_li
#The default lock mode is now read committed instead of serialized. #The default lock mode is now read committed instead of serialized.
@changelog_1278_li @changelog_1279_li
#PG server: data was truncated when reading large VARCHAR columns and decimal columns. #PG server: data was truncated when reading large VARCHAR columns and decimal columns.
@changelog_1279_li @changelog_1280_li
#PG server: when the same database was accessed multiple times using the PostgreSQL ODBC driver, the pg_catalog schema update failed, and connecting to the database was not possible. Fixed. #PG server: when the same database was accessed multiple times using the PostgreSQL ODBC driver, the pg_catalog schema update failed, and connecting to the database was not possible. Fixed.
@changelog_1280_li @changelog_1281_li
#Some file operations didn't work for files in the root directory. Fixed. #Some file operations didn't work for files in the root directory. Fixed.
@changelog_1281_li @changelog_1282_li
#In the Restore tool, the parameter -file did not work. Fixed. #In the Restore tool, the parameter -file did not work. Fixed.
@changelog_1282_li @changelog_1283_li
#Two-phase commit: commit with transaction name was only supported in the recovery scan. Now it is always supported. #Two-phase commit: commit with transaction name was only supported in the recovery scan. Now it is always supported.
@changelog_1283_li @changelog_1284_li
#The column name C_CURRENT_TIMESTAMP did not work in the last release. #The column name C_CURRENT_TIMESTAMP did not work in the last release.
@changelog_1284_li @changelog_1285_li
#OpenOffice compatibility: support database name in column names. #OpenOffice compatibility: support database name in column names.
@download_1000_h1 @download_1000_h1
...@@ -7781,87 +7784,171 @@ Javaアプリケーション内からインデックスを呼び出すことも ...@@ -7781,87 +7784,171 @@ Javaアプリケーション内からインデックスを呼び出すことも
@~changelog_1003_h2 @~changelog_1003_h2
#Version 1.0.70 (2008-04-20) #Version 1.0.70 (2008-04-20)
@~changelog_1006_h2
#Version 1.0.70 (2008-04-20)
@~changelog_1006_li @~changelog_1006_li
#Calling SHUTDOWN on one connection and starting a query on another connection concurrently could result in a Java level deadlock. #Calling SHUTDOWN on one connection and starting a query on another connection concurrently could result in a Java level deadlock.
@~changelog_1007_li
#The plan is to dual-license H2. The additional license is EPL (Eclipse Public License). The current license (MPL, Mozilla Public License) will stay. Current users are not affected because they can keep MPL. EPL is very similar to MPL, the only bigger difference is related to patents (EPL is a bit more business friendly in this regard). See also http://opensource.org/licenses/eclipse-1.0.php, http://www.eclipse.org/legal/eplfaq.php (FAQ), http://blogs.zdnet.com/Burnette/?p=131
@~changelog_1027_h2 @~changelog_1027_h2
#Version 1.0.69 (2008-03-29) #Version 1.0.69 (2008-03-29)
@~changelog_1030_h2
#Version 1.0.69 (2008-03-29)
@~changelog_1030_li @~changelog_1030_li
#The command line options in the tools have changed: instead of '-log true' now '-trace' is used. Also, '-ifExists', '-tcpSSL' and '-tcpAllowOthers' and so on have changed: now the 'true' is no longer needed. The old behavior is still supported. #The command line options in the tools have changed: instead of '-log true' now '-trace' is used. Also, '-ifExists', '-tcpSSL' and '-tcpAllowOthers' and so on have changed: now the 'true' is no longer needed. The old behavior is still supported.
@~changelog_1031_li
#Most command line tools can now be called from within the H2 Console.
@~changelog_1044_h2 @~changelog_1044_h2
#Version 1.0.68 (2008-03-18) #Version 1.0.68 (2008-03-18)
@~changelog_1047_h2
#Version 1.0.68 (2008-03-18)
@~changelog_1047_li @~changelog_1047_li
#Unused LOB files were deleted much too late. Now they are deleted if no longer referenced in memory. #Unused LOB files were deleted much too late. Now they are deleted if no longer referenced in memory.
@~changelog_1048_li
#Very large SELECT DISTINCT and UNION EXCEPT queries are now supported, however this feature is disabled by default. To enable it, set the system property h2.maxMemoryRowsDistinct to a lower value, for example 10000.
@~changelog_1068_h2 @~changelog_1068_h2
#Version 1.0.67 (2008-02-22) #Version 1.0.67 (2008-02-22)
@~changelog_1071_h2
#Version 1.0.67 (2008-02-22)
@~changelog_1071_li @~changelog_1071_li
#Connecting to a TCP server and at shutting it down at the same time could cause a Java level deadlock. #Connecting to a TCP server and at shutting it down at the same time could cause a Java level deadlock.
@~changelog_1072_li
#New function FILE_READ to read a file or from an URL. Both binary and text data is supported.
@~changelog_1091_h2 @~changelog_1091_h2
#Version 1.0.66 (2008-02-02) #Version 1.0.66 (2008-02-02)
@~changelog_1094_h2
#Version 1.0.66 (2008-02-02)
@~changelog_1094_li @~changelog_1094_li
#CHAR data type equals comparison was case insensitive instead of case sensitive. #CHAR data type equals comparison was case insensitive instead of case sensitive.
@~changelog_1095_li
#There is a new online error analyzer tool.
@~changelog_1108_h2 @~changelog_1108_h2
#Version 1.0.65 (2008-01-18) #Version 1.0.65 (2008-01-18)
@~changelog_1111_h2
#Version 1.0.65 (2008-01-18)
@~changelog_1111_li @~changelog_1111_li
#The performance for DROP and DROP ALL OBJECTS has been improved. #The performance for DROP and DROP ALL OBJECTS has been improved.
@~changelog_1112_li
#The build (ant) now automatically switches the source code to the correct version (JDK 1.4/1.5 or 1.6).
@~changelog_1131_h2 @~changelog_1131_h2
#Version 1.0.64 (2007-12-27) #Version 1.0.64 (2007-12-27)
@~changelog_1134_h2
#Version 1.0.64 (2007-12-27)
@~changelog_1134_li @~changelog_1134_li
#CSV tool: some escape/separator character combinations did not work. Fixed. #CSV tool: some escape/separator character combinations did not work. Fixed.
@~changelog_1135_li
#3-way union queries with prepared statement or views could return the wrong results. Fixed.
@~changelog_1157_h2 @~changelog_1157_h2
#Version 1.0.63 (2007-12-02) #Version 1.0.63 (2007-12-02)
@~changelog_1160_h2
#Version 1.0.63 (2007-12-02)
@~changelog_1160_li @~changelog_1160_li
#The native fulltext search was not working properly after re-connecting. #The native fulltext search was not working properly after re-connecting.
@~changelog_1161_li
#The SecurePassword example has been improved.
@~changelog_1168_h2 @~changelog_1168_h2
#Version 1.0.62 (2007-11-25) #Version 1.0.62 (2007-11-25)
@~changelog_1171_h2
#Version 1.0.62 (2007-11-25)
@~changelog_1171_li @~changelog_1171_li
#Referential integrity checks didn't lock the referenced table, and thus could read uncommitted rows of other connections. In that way the referential constraints could get violated (except when using MVCC). #Referential integrity checks didn't lock the referenced table, and thus could read uncommitted rows of other connections. In that way the referential constraints could get violated (except when using MVCC).
@~changelog_1172_li
#Large updates and deletes are now supported by buffering data to disk if required. The threshold is currently set to 100'000 bytes and can be changed using SET MAX_OPERATION_MEMORY or using by appending ;MAX_OPERATION_MEMORY=.. to the database URL. See also the docs.
@~changelog_1187_h2 @~changelog_1187_h2
#Version 1.0.61 (2007-11-10) #Version 1.0.61 (2007-11-10)
@~changelog_1190_h2
#Version 1.0.61 (2007-11-10)
@~changelog_1190_li @~changelog_1190_li
#ResultSetMetaData.getColumnDisplaySize was calculated as the longest display size for the given result set, but should be the maximum size that fits in the column. Fixed. #ResultSetMetaData.getColumnDisplaySize was calculated as the longest display size for the given result set, but should be the maximum size that fits in the column. Fixed.
@~changelog_1191_li
#The Lucene Fulltext implementation is now compiled and included in the h2.jar. Requires Lucene 2.2.
@~changelog_1202_h2 @~changelog_1202_h2
#Version 1.0.60 (2007-10-20) #Version 1.0.60 (2007-10-20)
@~changelog_1205_h2
#Version 1.0.60 (2007-10-20)
@~changelog_1205_li @~changelog_1205_li
#Server.shutdownTcpServer was blocked when first called with force=false and then force=true. Now documentation is improved, and it is no longer blocked. #Server.shutdownTcpServer was blocked when first called with force=false and then force=true. Now documentation is improved, and it is no longer blocked.
@~changelog_1206_li
#JdbcXAConnection: starting a transaction before getting the connection didn't switch off autocommit.
@~changelog_1214_h2 @~changelog_1214_h2
#Version 1.0.59 (2007-10-03) #Version 1.0.59 (2007-10-03)
@~changelog_1217_h2
#Version 1.0.59 (2007-10-03)
@~changelog_1217_li @~changelog_1217_li
#Multi-threaded kernel (MULTI_THREADED=1): A synchronization problem has been fixed. #Multi-threaded kernel (MULTI_THREADED=1): A synchronization problem has been fixed.
@~changelog_1218_li
#When the data type was unknown in a subquery, sometimes the wrong exception (ArrayIndexOutOfBounds) was thrown. Fixed.
@~changelog_1230_h2 @~changelog_1230_h2
#Version 1.0.58 (2007-09-15) #Version 1.0.58 (2007-09-15)
@~changelog_1233_h2
#Version 1.0.58 (2007-09-15)
@~changelog_1233_li @~changelog_1233_li
#The explain plan now says: /* direct lookup query */ if the query can be processed directly without reading rows, for example when using MIN(indexed column), MAX(indexed column), or COUNT(*). #The explain plan now says: /* direct lookup query */ if the query can be processed directly without reading rows, for example when using MIN(indexed column), MAX(indexed column), or COUNT(*).
@~changelog_1234_li
#System.exit is no longer called by the WebServer, the Console and the Server tool (except to set the exit code if required). This is important when using OSGi.
@~changelog_1255_h2 @~changelog_1255_h2
#Version 1.0.57 (2007-08-25) #Version 1.0.57 (2007-08-25)
@~changelog_1258_h2
#Version 1.0.57 (2007-08-25)
@~changelog_1258_li @~changelog_1258_li
#The backup tool (org.h2.tools.Backup) did not work. The restore tool did not work when the -db parameter was used. Fixed. The documentation of the backup tool has been changed: only one database may be backed up at any time. #The backup tool (org.h2.tools.Backup) did not work. The restore tool did not work when the -db parameter was used. Fixed. The documentation of the backup tool has been changed: only one database may be backed up at any time.
@~changelog_1259_li
#New experimental feature MVCC (multi version concurrency control). Can be set as a option when opening the database (jdbc:h2:~/test;MVCC=TRUE) or as a system property (-Dh2.mvcc=true). This is work-in-progress, use it at your own risk. Feedback is welcome.
@~roadmap_1381_h2 @~roadmap_1381_h2
#Not Planned #Not Planned
......
...@@ -332,289 +332,290 @@ build_1033_li=Web site\: src/docsrc/text/_docs_*.utf8.txt ...@@ -332,289 +332,290 @@ build_1033_li=Web site\: src/docsrc/text/_docs_*.utf8.txt
build_1034_p=The conversion between UTF-8 and Java encoding (using the \\u syntax), as well as the HTML entities (&amp;\#..;) is automated by running the tool PropertiesToUTF8. The web site translation is automated as well, using <code>ant docs</code> . build_1034_p=The conversion between UTF-8 and Java encoding (using the \\u syntax), as well as the HTML entities (&amp;\#..;) is automated by running the tool PropertiesToUTF8. The web site translation is automated as well, using <code>ant docs</code> .
changelog_1000_h1=Change Log changelog_1000_h1=Change Log
changelog_1001_h2=Next Version (unreleased) changelog_1001_h2=Next Version (unreleased)
changelog_1002_li=Sometimes an exception 'File ID mismatch' or 'try to add a record twice' occured after large records (8 KB or larger) are updated or deleted. See also http\://code.google.com/p/h2database/issues/detail?id\=22 changelog_1002_li=H2 is now dual-licensed under the Eclipse Public License (EPL) and the old 'H2 License' (which is basically MPL).
changelog_1003_li=H2 Console\: The tools can now be translated (it didn't work in the last release). changelog_1003_li=Sometimes an exception 'File ID mismatch' or 'try to add a record twice' occured after large records (8 KB or larger) are updated or deleted. See also http\://code.google.com/p/h2database/issues/detail?id\=22
changelog_1004_li=New traditional Chinese translation. Thanks a lot to Derek Chao\! changelog_1004_li=H2 Console\: The tools can now be translated (it didn't work in the last release).
changelog_1005_li=Indexes were not used when enabling the optimization for IN(SELECT...) (system property h2.optimizeInJoin) changelog_1005_li=New traditional Chinese translation. Thanks a lot to Derek Chao\!
changelog_1006_h2=Version 1.0.70 (2008-04-20) changelog_1006_li=Indexes were not used when enabling the optimization for IN(SELECT...) (system property h2.optimizeInJoin)
changelog_1007_li=The plan is to dual-license H2. The additional license is EPL (Eclipse Public License). The current license (MPL, Mozilla Public License) will stay. Current users are not affected because they can keep MPL. EPL is very similar to MPL, the only bigger difference is related to patents (EPL is a bit more business friendly in this regard). See also http\://opensource.org/licenses/eclipse-1.0.php, http\://www.eclipse.org/legal/eplfaq.php (FAQ), http\://blogs.zdnet.com/Burnette/?p\=131 changelog_1007_h2=Version 1.0.70 (2008-04-20)
changelog_1008_li=Multi version concurrency (MVCC)\: when a row was updated, and the updated column was not indexed, this update was visible sometimes for other sessions even if it was not committed. changelog_1008_li=The plan is to dual-license H2. The additional license is EPL (Eclipse Public License). The current license (MPL, Mozilla Public License) will stay. Current users are not affected because they can keep MPL. EPL is very similar to MPL, the only bigger difference is related to patents (EPL is a bit more business friendly in this regard). See also http\://opensource.org/licenses/eclipse-1.0.php, http\://www.eclipse.org/legal/eplfaq.php (FAQ), http\://blogs.zdnet.com/Burnette/?p\=131
changelog_1009_li=Calling SHUTDOWN on one connection and starting a query on another connection concurrently could result in a Java level deadlock. changelog_1009_li=Multi version concurrency (MVCC)\: when a row was updated, and the updated column was not indexed, this update was visible sometimes for other sessions even if it was not committed.
changelog_1010_li=New system property h2.enableAnonymousSSL (default\: true) to enable anonymous SSL connections. changelog_1010_li=Calling SHUTDOWN on one connection and starting a query on another connection concurrently could result in a Java level deadlock.
changelog_1011_li=The precision if SUBSTR is now calculated if possible. changelog_1011_li=New system property h2.enableAnonymousSSL (default\: true) to enable anonymous SSL connections.
changelog_1012_li=The autocomplete in the H2 Console has been improved a bit. changelog_1012_li=The precision if SUBSTR is now calculated if possible.
changelog_1013_li=The tools in the H2 Console are now translatable. changelog_1013_li=The autocomplete in the H2 Console has been improved a bit.
changelog_1014_li=The servlet and lucene jar files are now automatically downloaded when building. changelog_1014_li=The tools in the H2 Console are now translatable.
changelog_1015_li=The code switch tool has been replaced by a simpler tool called SwitchSource that just uses find and replace. changelog_1015_li=The servlet and lucene jar files are now automatically downloaded when building.
changelog_1016_li=Started to write a Ant replacement ('JAnt') that uses pure Java build definitions. Advantages\: ability to debug the build, extensible, flexible, no XML, a bit faster. Future plan\: support creating custom h2 distributions (for embedded use). Maybe create a new project 'Jant' or 'Javen' if other people are interested. changelog_1016_li=The code switch tool has been replaced by a simpler tool called SwitchSource that just uses find and replace.
changelog_1017_li=The jar file is now about 10% smaller because the variable debugging info is no longer included. The source file and line number debugging info is still included. If required, the jar file size of the full version can be further reduced to about 720 KB using 'build jarSmall' or even more by removing unneeded components. changelog_1017_li=Started to write a Ant replacement ('JAnt') that uses pure Java build definitions. Advantages\: ability to debug the build, extensible, flexible, no XML, a bit faster. Future plan\: support creating custom h2 distributions (for embedded use). Maybe create a new project 'Jant' or 'Javen' if other people are interested.
changelog_1018_li=Added shell scripts run.sh and build.sh. chmod +x is required, but otherwise it should work. Feedback or improvements are welcome\! changelog_1018_li=The jar file is now about 10% smaller because the variable debugging info is no longer included. The source file and line number debugging info is still included. If required, the jar file size of the full version can be further reduced to about 720 KB using 'build jarSmall' or even more by removing unneeded components.
changelog_1019_li=Databases in zip files\: large queries are now supported. Temp files are created in the temp directory if required. The documentation how to create the zip file has been corrected. changelog_1019_li=Added shell scripts run.sh and build.sh. chmod +x is required, but otherwise it should work. Feedback or improvements are welcome\!
changelog_1020_li=Invalid inline views threw confusing SQL exceptions. changelog_1020_li=Databases in zip files\: large queries are now supported. Temp files are created in the temp directory if required. The documentation how to create the zip file has been corrected.
changelog_1021_li=The Japanese translation of the error messages and the H2 Console has been improved. Thanks a lot to Masahiro IKEMOTO. changelog_1021_li=Invalid inline views threw confusing SQL exceptions.
changelog_1022_li=Optimization for MIN() and MAX() when using MVCC. changelog_1022_li=The Japanese translation of the error messages and the H2 Console has been improved. Thanks a lot to Masahiro IKEMOTO.
changelog_1023_li=To protect against remote brute force password attacks, the delay after each unsuccessful login now gets double as long. New system properties h2.delayWrongPasswordMin and h2.delayWrongPasswordMax. changelog_1023_li=Optimization for MIN() and MAX() when using MVCC.
changelog_1024_li=After setting the query timeout and then resetting it, the next query would still timeout. Fixed. changelog_1024_li=To protect against remote brute force password attacks, the delay after each unsuccessful login now gets double as long. New system properties h2.delayWrongPasswordMin and h2.delayWrongPasswordMax.
changelog_1025_li=Adding a IDENTITY column to a table with data threw a lock timeout. changelog_1025_li=After setting the query timeout and then resetting it, the next query would still timeout. Fixed.
changelog_1026_li=OutOfMemoryError could occur when using EXISTS or IN(SELECT ..). changelog_1026_li=Adding a IDENTITY column to a table with data threw a lock timeout.
changelog_1027_li=The built-in connection pool is not called JdbcConnectionPool. The API and documentation has been changed. changelog_1027_li=OutOfMemoryError could occur when using EXISTS or IN(SELECT ..).
changelog_1028_li=The ConvertTraceFile tool now generates SQL statement statistics at the end of the SQL script file (similar to the profiling data generated when using java -Xrunhprof). changelog_1028_li=The built-in connection pool is not called JdbcConnectionPool. The API and documentation has been changed.
changelog_1029_li=Nested joins are now supported (A JOIN B JOIN C ON .. ON ..) changelog_1029_li=The ConvertTraceFile tool now generates SQL statement statistics at the end of the SQL script file (similar to the profiling data generated when using java -Xrunhprof).
changelog_1030_h2=Version 1.0.69 (2008-03-29) changelog_1030_li=Nested joins are now supported (A JOIN B JOIN C ON .. ON ..)
changelog_1031_li=Most command line tools can now be called from within the H2 Console. changelog_1031_h2=Version 1.0.69 (2008-03-29)
changelog_1032_li=A new Shell tools is now included (org.h2.tools.Shell) to query a database from the command line. changelog_1032_li=Most command line tools can now be called from within the H2 Console.
changelog_1033_li=The command line options in the tools have changed\: instead of '-log true' now '-trace' is used. Also, '-ifExists', '-tcpSSL' and '-tcpAllowOthers' and so on have changed\: now the 'true' is no longer needed. The old behavior is still supported. changelog_1033_li=A new Shell tools is now included (org.h2.tools.Shell) to query a database from the command line.
changelog_1034_li=New system property h2.sortNullsHigh to invert the default sorting behavior for NULL. The default didn't change. changelog_1034_li=The command line options in the tools have changed\: instead of '-log true' now '-trace' is used. Also, '-ifExists', '-tcpSSL' and '-tcpAllowOthers' and so on have changed\: now the 'true' is no longer needed. The old behavior is still supported.
changelog_1035_li=Performance was very slow when using LOG\=2 and deleting or updating all rows of a table in a loop. Fixed. changelog_1035_li=New system property h2.sortNullsHigh to invert the default sorting behavior for NULL. The default didn't change.
changelog_1036_li=ALTER TABLE or CREATE TABLE now support parameters for the password field. changelog_1036_li=Performance was very slow when using LOG\=2 and deleting or updating all rows of a table in a loop. Fixed.
changelog_1037_li=The linear hash has been removed. It was always slower than the b-tree index, and there were some bugs that would be hard to fix. changelog_1037_li=ALTER TABLE or CREATE TABLE now support parameters for the password field.
changelog_1038_li=TRACE_LEVEL_ settings are no longer persistent. This was a problem when database initialization code caused a lot of trace output. changelog_1038_li=The linear hash has been removed. It was always slower than the b-tree index, and there were some bugs that would be hard to fix.
changelog_1039_li=Fulltext search (native implementation)\: The words table is no longer an in-memory table because this caused memory problems in some cases. changelog_1039_li=TRACE_LEVEL_ settings are no longer persistent. This was a problem when database initialization code caused a lot of trace output.
changelog_1040_li=It was possible to create a role with the name as an existing user (but not vice versa). This is not allowed any more. changelog_1040_li=Fulltext search (native implementation)\: The words table is no longer an in-memory table because this caused memory problems in some cases.
changelog_1041_li=The recovery tool didn't work correctly for tables without rows. changelog_1041_li=It was possible to create a role with the name as an existing user (but not vice versa). This is not allowed any more.
changelog_1042_li=For years below 1, the YEAR method didn't return the correct value, and the conversion from date and timestamp to varchar was incorrect. changelog_1042_li=The recovery tool didn't work correctly for tables without rows.
changelog_1043_li=CSVWRITE caused a NullPointerException when not specifying a nullString. changelog_1043_li=For years below 1, the YEAR method didn't return the correct value, and the conversion from date and timestamp to varchar was incorrect.
changelog_1044_li=When a log file switch occured just after a truncate table or drop table statement, the database could not be started normally (RECOVER\=1 was required). Fixed. changelog_1044_li=CSVWRITE caused a NullPointerException when not specifying a nullString.
changelog_1045_li=When a log file switch occured in the middle of a sequence flush (sequences are only flushed every 32 values by default), the sequence value was lost. Fixed. changelog_1045_li=When a log file switch occured just after a truncate table or drop table statement, the database could not be started normally (RECOVER\=1 was required). Fixed.
changelog_1046_li=Altering a sequence didn't unlock the system table when autocommit switched off. changelog_1046_li=When a log file switch occured in the middle of a sequence flush (sequences are only flushed every 32 values by default), the sequence value was lost. Fixed.
changelog_1047_h2=Version 1.0.68 (2008-03-18) changelog_1047_li=Altering a sequence didn't unlock the system table when autocommit switched off.
changelog_1048_li=Very large SELECT DISTINCT and UNION EXCEPT queries are now supported, however this feature is disabled by default. To enable it, set the system property h2.maxMemoryRowsDistinct to a lower value, for example 10000. changelog_1048_h2=Version 1.0.68 (2008-03-18)
changelog_1049_li=A error is now thrown when trying to call a method inside a trigger that implicitly commits the current transaction, if an object is locked. changelog_1049_li=Very large SELECT DISTINCT and UNION EXCEPT queries are now supported, however this feature is disabled by default. To enable it, set the system property h2.maxMemoryRowsDistinct to a lower value, for example 10000.
changelog_1050_li=Unused LOB files were deleted much too late. Now they are deleted if no longer referenced in memory. changelog_1050_li=A error is now thrown when trying to call a method inside a trigger that implicitly commits the current transaction, if an object is locked.
changelog_1051_li=ALTER SEQUENCE and ALTER TABLE ALTER COLUMN RESTART can now be used inside a transaction. changelog_1051_li=Unused LOB files were deleted much too late. Now they are deleted if no longer referenced in memory.
changelog_1052_li=New system property h2.aliasColumnName. When enabled, aliased columns (as in SELECT ID AS I FROM TEST) return the real table and column name in ResultSetMetaData.getTableName() and getColumnName(). This is disabled by default for compatibility with other databases (HSQLDB, Apache Derby, PostgreSQL, some version of MySQL). In version 1.1 this setting will be enabled. changelog_1052_li=ALTER SEQUENCE and ALTER TABLE ALTER COLUMN RESTART can now be used inside a transaction.
changelog_1053_li=When using encrypted databases, and using the wrong file password, the log file was renamed if the database was not already open. Fixed. changelog_1053_li=New system property h2.aliasColumnName. When enabled, aliased columns (as in SELECT ID AS I FROM TEST) return the real table and column name in ResultSetMetaData.getTableName() and getColumnName(). This is disabled by default for compatibility with other databases (HSQLDB, Apache Derby, PostgreSQL, some version of MySQL). In version 1.1 this setting will be enabled.
changelog_1054_li=Improved performance when using lob files in directories (however this is still disabled by default) changelog_1054_li=When using encrypted databases, and using the wrong file password, the log file was renamed if the database was not already open. Fixed.
changelog_1055_li=H2 Console\: autocomplete didn't work with very large scripts. Fixed. changelog_1055_li=Improved performance when using lob files in directories (however this is still disabled by default)
changelog_1056_li=Fulltext search\: new method SEARCH_DATA that returns the column names and primary keys as arrays. changelog_1056_li=H2 Console\: autocomplete didn't work with very large scripts. Fixed.
changelog_1057_li=New experimental optimization for GROUP BY queries if an index can be used that matches the group by columns. To enable this optimization, set the system property h2.optimizeGroupSorted to true. changelog_1057_li=Fulltext search\: new method SEARCH_DATA that returns the column names and primary keys as arrays.
changelog_1058_li=When using multi-version concurrency (MVCC\=TRUE), duplicate rows could appear in the result set when running queries with uncommitted changes in the same session. changelog_1058_li=New experimental optimization for GROUP BY queries if an index can be used that matches the group by columns. To enable this optimization, set the system property h2.optimizeGroupSorted to true.
changelog_1059_li=H2 Console\: remote connections were very slow because getHostName/getRemoteHost was used. Fixed (now using getHostAddress/getRemoteAddr. changelog_1059_li=When using multi-version concurrency (MVCC\=TRUE), duplicate rows could appear in the result set when running queries with uncommitted changes in the same session.
changelog_1060_li=H2 Console\: on Linux, Firefox, Konqueror, or Opera (in this order) are now started if available. This has been tested on Ubuntu. changelog_1060_li=H2 Console\: remote connections were very slow because getHostName/getRemoteHost was used. Fixed (now using getHostAddress/getRemoteAddr.
changelog_1061_li=H2 Console\: the start window works better with IKVM changelog_1061_li=H2 Console\: on Linux, Firefox, Konqueror, or Opera (in this order) are now started if available. This has been tested on Ubuntu.
changelog_1062_li=H2 Console\: improved compatibility with Safari (Safari requires keep-alive) changelog_1062_li=H2 Console\: the start window works better with IKVM
changelog_1063_li=Random\: the process didn't stop if generating the random seed using the standard way (SecureRandom.generateSeed) was very slow. Now using a daemon thread to avoid this problem. changelog_1063_li=H2 Console\: improved compatibility with Safari (Safari requires keep-alive)
changelog_1064_li=SELECT UNION with a different number of ORDER BY columns did throw an ArrayIndexOutOfBoundsException. changelog_1064_li=Random\: the process didn't stop if generating the random seed using the standard way (SecureRandom.generateSeed) was very slow. Now using a daemon thread to avoid this problem.
changelog_1065_li=When using a view, the column precision was changed to the default scale for some data types. changelog_1065_li=SELECT UNION with a different number of ORDER BY columns did throw an ArrayIndexOutOfBoundsException.
changelog_1066_li=CSVWRITE now supports a 'null string' that is used for parsing and writing NULL. changelog_1066_li=When using a view, the column precision was changed to the default scale for some data types.
changelog_1067_li=Some long running queries could not be cancelled. changelog_1067_li=CSVWRITE now supports a 'null string' that is used for parsing and writing NULL.
changelog_1068_li=Queries with many outer join tables were very slow. Fixed. changelog_1068_li=Some long running queries could not be cancelled.
changelog_1069_li=The performance of text comparison has been improved when using locale sensitive string comparison (SET COLLATOR). Now CollationKey is used with a LRU cache. The default cache size is 10000, and can be changed using the system property h2.collatorCacheSize. Use 0 to disable the cache. changelog_1069_li=Queries with many outer join tables were very slow. Fixed.
changelog_1070_li=UPDATE SET column\=DEFAULT is now supported. changelog_1070_li=The performance of text comparison has been improved when using locale sensitive string comparison (SET COLLATOR). Now CollationKey is used with a LRU cache. The default cache size is 10000, and can be changed using the system property h2.collatorCacheSize. Use 0 to disable the cache.
changelog_1071_h2=Version 1.0.67 (2008-02-22) changelog_1071_li=UPDATE SET column\=DEFAULT is now supported.
changelog_1072_li=New function FILE_READ to read a file or from an URL. Both binary and text data is supported. changelog_1072_h2=Version 1.0.67 (2008-02-22)
changelog_1073_li=CREATE TABLE AS SELECT now supports specifying the column list and data types. changelog_1073_li=New function FILE_READ to read a file or from an URL. Both binary and text data is supported.
changelog_1074_li=Connecting to a TCP server and at shutting it down at the same time could cause a Java level deadlock. changelog_1074_li=CREATE TABLE AS SELECT now supports specifying the column list and data types.
changelog_1075_li=A user now has all rights on his own local temporary tables. changelog_1075_li=Connecting to a TCP server and at shutting it down at the same time could cause a Java level deadlock.
changelog_1076_li=The CSV tool now supports a custom lineSeparator. changelog_1076_li=A user now has all rights on his own local temporary tables.
changelog_1077_li=When using multiple connections, empty space was reused too early sometimes. This could corrupt the database when recovering. changelog_1077_li=The CSV tool now supports a custom lineSeparator.
changelog_1078_li=The H2 Console has been translated to Dutch. Thanks a lot to Remco Schoen\! changelog_1078_li=When using multiple connections, empty space was reused too early sometimes. This could corrupt the database when recovering.
changelog_1079_li=Databases can now be opened even if trigger classes are not in the classpath. The exception is thrown when trying to fire the trigger. changelog_1079_li=The H2 Console has been translated to Dutch. Thanks a lot to Remco Schoen\!
changelog_1080_li=Opening databases with ACCESS_MODE_DATA\=r is now supported. In this case the database is read-only, but the files don't not need to be read-only. changelog_1080_li=Databases can now be opened even if trigger classes are not in the classpath. The exception is thrown when trying to fire the trigger.
changelog_1081_li=Security\: The database now waits 200 ms before throwing an exception if the user name or password don't match, to slow down dictionary attacks. changelog_1081_li=Opening databases with ACCESS_MODE_DATA\=r is now supported. In this case the database is read-only, but the files don't not need to be read-only.
changelog_1082_li=The value cache is now a soft reference cache. This should help save memory. changelog_1082_li=Security\: The database now waits 200 ms before throwing an exception if the user name or password don't match, to slow down dictionary attacks.
changelog_1083_li=CREATE INDEX on a table with many rows could run out of memory. Fixed. changelog_1083_li=The value cache is now a soft reference cache. This should help save memory.
changelog_1084_li=Large result sets are now a bit faster. changelog_1084_li=CREATE INDEX on a table with many rows could run out of memory. Fixed.
changelog_1085_li=ALTER TABLE ALTER COLUMN RESTART and ALTER SEQUENCE now support parameters (any expressions). changelog_1085_li=Large result sets are now a bit faster.
changelog_1086_li=When setting the base directory on the command line, the user directory prefix ('~') was ignored. changelog_1086_li=ALTER TABLE ALTER COLUMN RESTART and ALTER SEQUENCE now support parameters (any expressions).
changelog_1087_li=The DbStarter servlet didn't start the TCP listener even if configured. changelog_1087_li=When setting the base directory on the command line, the user directory prefix ('~') was ignored.
changelog_1088_li=Statement.setQueryTimeout() is now supported. changelog_1088_li=The DbStarter servlet didn't start the TCP listener even if configured.
changelog_1089_li=New session setting QUERY_TIMEOUT, and new system property h2.maxQueryTimeout. changelog_1089_li=Statement.setQueryTimeout() is now supported.
changelog_1090_li=Changing the transaction log level (SET LOG) is now written to the trace file by default. changelog_1090_li=New session setting QUERY_TIMEOUT, and new system property h2.maxQueryTimeout.
changelog_1091_li=In a SQL script, primary key constraints are now ordered before foreign key constraints. changelog_1091_li=Changing the transaction log level (SET LOG) is now written to the trace file by default.
changelog_1092_li=It was not possible to create a referential constraint to a table in a different schema in some situations. changelog_1092_li=In a SQL script, primary key constraints are now ordered before foreign key constraints.
changelog_1093_li=The H2 Console was slow when the database contains many tables. Now the column names are not shown in this case. changelog_1093_li=It was not possible to create a referential constraint to a table in a different schema in some situations.
changelog_1094_h2=Version 1.0.66 (2008-02-02) changelog_1094_li=The H2 Console was slow when the database contains many tables. Now the column names are not shown in this case.
changelog_1095_li=There is a new online error analyzer tool. changelog_1095_h2=Version 1.0.66 (2008-02-02)
changelog_1096_li=H2 Console\: stack traces are now links to the source code in the source repository (H2 database only). changelog_1096_li=There is a new online error analyzer tool.
changelog_1097_li=CHAR data type equals comparison was case insensitive instead of case sensitive. changelog_1097_li=H2 Console\: stack traces are now links to the source code in the source repository (H2 database only).
changelog_1098_li=The exception 'Value too long for column' now includes the data. changelog_1098_li=CHAR data type equals comparison was case insensitive instead of case sensitive.
changelog_1099_li=The table name was missing in the documentation of CREATE INDEX. changelog_1099_li=The exception 'Value too long for column' now includes the data.
changelog_1100_li=Better support for IKVM (www.ikvm.net)\: the H2 Console now opens a browser window. changelog_1100_li=The table name was missing in the documentation of CREATE INDEX.
changelog_1101_li=The cache size was not correctly calculated for tables with large objects (specially if compression is used). This could lead to out-of-memory exceptions. changelog_1101_li=Better support for IKVM (www.ikvm.net)\: the H2 Console now opens a browser window.
changelog_1102_li=The exception "Hexadecimal string contains non-hex character" was not always thrown when it should have been. Fixed. changelog_1102_li=The cache size was not correctly calculated for tables with large objects (specially if compression is used). This could lead to out-of-memory exceptions.
changelog_1103_li=The H2 Console now provides a link to the documentation when an error occurs (H2 databases only so far). changelog_1103_li=The exception "Hexadecimal string contains non-hex character" was not always thrown when it should have been. Fixed.
changelog_1104_li=The acting as PostgreSQL server, when a base directory was set, and the H2 Console was started as well, the base directory was applied twice. changelog_1104_li=The H2 Console now provides a link to the documentation when an error occurs (H2 databases only so far).
changelog_1105_li=Calling EXTRACT(HOUR FROM ...) or EXTRACT(HH FROM ...) returned the wrong values (0 to 11 instead of 0 to 23). All other tested databases return values from 0 to 23. Please check if your application relies on the old behavior before upgrading. changelog_1105_li=The acting as PostgreSQL server, when a base directory was set, and the H2 Console was started as well, the base directory was applied twice.
changelog_1106_li=For compatibility with other databases the column default (COLUMN_DEF) for columns without default is now null (it was an empty string). changelog_1106_li=Calling EXTRACT(HOUR FROM ...) or EXTRACT(HH FROM ...) returned the wrong values (0 to 11 instead of 0 to 23). All other tested databases return values from 0 to 23. Please check if your application relies on the old behavior before upgrading.
changelog_1107_li=Statements that contain very large subqueries (where the subquery result does not fit in memory) are now faster. changelog_1107_li=For compatibility with other databases the column default (COLUMN_DEF) for columns without default is now null (it was an empty string).
changelog_1108_li=Variables\: large objects (CLOB and BLOB) that don't fit in memory did not work correctly when used as variables. changelog_1108_li=Statements that contain very large subqueries (where the subquery result does not fit in memory) are now faster.
changelog_1109_li=Fulltext search is now supported in named in-memory databases. changelog_1109_li=Variables\: large objects (CLOB and BLOB) that don't fit in memory did not work correctly when used as variables.
changelog_1110_li=H2 Console\: multiple consecutive spaces in the setting name did not work. Fixed. changelog_1110_li=Fulltext search is now supported in named in-memory databases.
changelog_1111_h2=Version 1.0.65 (2008-01-18) changelog_1111_li=H2 Console\: multiple consecutive spaces in the setting name did not work. Fixed.
changelog_1112_li=The build (ant) now automatically switches the source code to the correct version (JDK 1.4/1.5 or 1.6). changelog_1112_h2=Version 1.0.65 (2008-01-18)
changelog_1113_li=A recovery bug has been fixed. With older versions, it was necessary to add ;RECOVER\=1 to the database URL in cases where it should not have been required. changelog_1113_li=The build (ant) now automatically switches the source code to the correct version (JDK 1.4/1.5 or 1.6).
changelog_1114_li=The performance for DROP and DROP ALL OBJECTS has been improved. changelog_1114_li=A recovery bug has been fixed. With older versions, it was necessary to add ;RECOVER\=1 to the database URL in cases where it should not have been required.
changelog_1115_li=The ChangePassword API has been improved. changelog_1115_li=The performance for DROP and DROP ALL OBJECTS has been improved.
changelog_1116_li=User defined variables are now supported. Examples\: SET @VAR\=10;CALL @VAR. This can be used for running totals as in\: select x, set(@t, ifnull(@t, 0) + x) from system_range(1, 10) changelog_1116_li=The ChangePassword API has been improved.
changelog_1117_li=The Ukrainian translation has been improved. changelog_1117_li=User defined variables are now supported. Examples\: SET @VAR\=10;CALL @VAR. This can be used for running totals as in\: select x, set(@t, ifnull(@t, 0) + x) from system_range(1, 10)
changelog_1118_li=CALL statements can now be used in batch updates and called using Statement.executeUpdate. changelog_1118_li=The Ukrainian translation has been improved.
changelog_1119_li=New read-only setting CREATE_BUILD (the build number of the database engine that created the database). changelog_1119_li=CALL statements can now be used in batch updates and called using Statement.executeUpdate.
changelog_1120_li=The optimizer did not use multi column indexes for range queries in some cases. Fixed. changelog_1120_li=New read-only setting CREATE_BUILD (the build number of the database engine that created the database).
changelog_1121_li=The H2 Console now calls DataSource.getConnection() instead of DataSource.getConnection(user, password) when user name and password are not specified. changelog_1121_li=The optimizer did not use multi column indexes for range queries in some cases. Fixed.
changelog_1122_li=The bind IP address can now be set when using multi-homed host (if multiple network adapters are available) using the system property h2.bindAddress. changelog_1122_li=The H2 Console now calls DataSource.getConnection() instead of DataSource.getConnection(user, password) when user name and password are not specified.
changelog_1123_li=Batch update\: Calling BatchUpdateException.printStackTrace() could result in out of memory. Fixed. changelog_1123_li=The bind IP address can now be set when using multi-homed host (if multiple network adapters are available) using the system property h2.bindAddress.
changelog_1124_li=Indexes of unique or foreign constraints where not dropped when the constraint was dropped after altering the table (for example dropping a column). Fixed. changelog_1124_li=Batch update\: Calling BatchUpdateException.printStackTrace() could result in out of memory. Fixed.
changelog_1125_li=The performance for large result sets in the server mode has been improved. changelog_1125_li=Indexes of unique or foreign constraints where not dropped when the constraint was dropped after altering the table (for example dropping a column). Fixed.
changelog_1126_li=The setting h2.serverSmallResultSetSize has been renamed to h2.serverResultSetFetchSize. changelog_1126_li=The performance for large result sets in the server mode has been improved.
changelog_1127_li=The SCRIPT command now uses multi-row insert statements to save space except if the option SIMPLE is used. changelog_1127_li=The setting h2.serverSmallResultSetSize has been renamed to h2.serverResultSetFetchSize.
changelog_1128_li=The SCRIPT command did not split up CLOB data correctly. Fixed. changelog_1128_li=The SCRIPT command now uses multi-row insert statements to save space except if the option SIMPLE is used.
changelog_1129_li=Optimization for single column distinct queries with an index\: select distinct name from test. Can be disabled by setting the system property h2.optimizeDistinct to false. changelog_1129_li=The SCRIPT command did not split up CLOB data correctly. Fixed.
changelog_1130_li=DROP ALL OBJECTS did not drop user defined aggregate functions and domains. changelog_1130_li=Optimization for single column distinct queries with an index\: select distinct name from test. Can be disabled by setting the system property h2.optimizeDistinct to false.
changelog_1131_li=PostgreSQL compatibility\: COUNT(T.*) is now supported. changelog_1131_li=DROP ALL OBJECTS did not drop user defined aggregate functions and domains.
changelog_1132_li=LIKE comparisons are now faster. changelog_1132_li=PostgreSQL compatibility\: COUNT(T.*) is now supported.
changelog_1133_li=Encrypted databases are now faster. changelog_1133_li=LIKE comparisons are now faster.
changelog_1134_h2=Version 1.0.64 (2007-12-27) changelog_1134_li=Encrypted databases are now faster.
changelog_1135_li=3-way union queries with prepared statement or views could return the wrong results. Fixed. changelog_1135_h2=Version 1.0.64 (2007-12-27)
changelog_1136_li=The PostgreSQL ODBC driver did not work in the last release due to a parser regression. Fixed. changelog_1136_li=3-way union queries with prepared statement or views could return the wrong results. Fixed.
changelog_1137_li=CSV tool\: some escape/separator character combinations did not work. Fixed. changelog_1137_li=The PostgreSQL ODBC driver did not work in the last release due to a parser regression. Fixed.
changelog_1138_li=CSV tool\: the character \# could not be used as a separator when reading. changelog_1138_li=CSV tool\: some escape/separator character combinations did not work. Fixed.
changelog_1139_li=Recovery\: when the index file is corrupt, now the database deletes it and re-creates it automatically. changelog_1139_li=CSV tool\: the character \# could not be used as a separator when reading.
changelog_1140_li=The MVCC mode did not work well with in-memory databases. Fixed. changelog_1140_li=Recovery\: when the index file is corrupt, now the database deletes it and re-creates it automatically.
changelog_1141_li=The FTP server now supports a event listener. Thanks Fulvio Biondi for the help\! changelog_1141_li=The MVCC mode did not work well with in-memory databases. Fixed.
changelog_1142_li=New system function CANCEL_SESSION to cancel the currently executing statement of another session. changelog_1142_li=The FTP server now supports a event listener. Thanks Fulvio Biondi for the help\!
changelog_1143_li=The database now supports an exclusive mode. In exclusive mode, new connections are rejected. changelog_1143_li=New system function CANCEL_SESSION to cancel the currently executing statement of another session.
changelog_1144_li=H2 Console\: when editing result sets, columns can now be set to null. The text 'null' must be escaped using '\=null'. changelog_1144_li=The database now supports an exclusive mode. In exclusive mode, new connections are rejected.
changelog_1145_li=New built-in functions RPAD and LPAD. changelog_1145_li=H2 Console\: when editing result sets, columns can now be set to null. The text 'null' must be escaped using '\=null'.
changelog_1146_li=New meta data table INFORMATION_SCHEMA.SESSIONS and LOCKS to get information about active connections and locks. Admins will see all connections, non-admins only their own session. changelog_1146_li=New built-in functions RPAD and LPAD.
changelog_1147_li=The Ukrainian translation was not working in the last release. Fixed. changelog_1147_li=New meta data table INFORMATION_SCHEMA.SESSIONS and LOCKS to get information about active connections and locks. Admins will see all connections, non-admins only their own session.
changelog_1148_li=Creating many tables (many hundreds) was slow. Fixed. changelog_1148_li=The Ukrainian translation was not working in the last release. Fixed.
changelog_1149_li=Opening a database with many indexes (thousands) was slow. Fixed. changelog_1149_li=Creating many tables (many hundreds) was slow. Fixed.
changelog_1150_li=H2 Console / autocomplete\: Ctrl+Space now shows the list in all modes. changelog_1150_li=Opening a database with many indexes (thousands) was slow. Fixed.
changelog_1151_li=The method Trigger.init has been changed\: the parameters 'before' and 'type', have been added to the init method. changelog_1151_li=H2 Console / autocomplete\: Ctrl+Space now shows the list in all modes.
changelog_1152_li=The performance has been improved for ResultSet methods with column name. changelog_1152_li=The method Trigger.init has been changed\: the parameters 'before' and 'type', have been added to the init method.
changelog_1153_li=A stack trace was thrown if the system did not provide a quick secure random source and if there is no network or the network settings are not configured. Fixed. changelog_1153_li=The performance has been improved for ResultSet methods with column name.
changelog_1154_li=The H2 Console has been translated to Turkish. Thanks a lot to Ridvan Agar\! changelog_1154_li=A stack trace was thrown if the system did not provide a quick secure random source and if there is no network or the network settings are not configured. Fixed.
changelog_1155_li=Improved debugging support\: toString methods of most object now return a meaningful text. changelog_1155_li=The H2 Console has been translated to Turkish. Thanks a lot to Ridvan Agar\!
changelog_1156_li=The classes DbStarter and WebServlet have been moved to src/main. changelog_1156_li=Improved debugging support\: toString methods of most object now return a meaningful text.
changelog_1157_li=The column INFORMATION_SCHEMA.TRIGGERS.SQL now contains the CREATE TRIGGER statement. changelog_1157_li=The classes DbStarter and WebServlet have been moved to src/main.
changelog_1158_li=Loading classes and calling methods can be restricted using the new system property h2.allowedClasses. changelog_1158_li=The column INFORMATION_SCHEMA.TRIGGERS.SQL now contains the CREATE TRIGGER statement.
changelog_1159_li=The database could not be used in Java applets due to security exceptions. Fixed. changelog_1159_li=Loading classes and calling methods can be restricted using the new system property h2.allowedClasses.
changelog_1160_h2=Version 1.0.63 (2007-12-02) changelog_1160_li=The database could not be used in Java applets due to security exceptions. Fixed.
changelog_1161_li=The SecurePassword example has been improved. changelog_1161_h2=Version 1.0.63 (2007-12-02)
changelog_1162_li=In time zones where the summer time saving limit is at midnight, some dates do not work in some virtual machines, for example 2007-10-14 in Chile, using the Sun JVM 1.6.0_03-b05. Fixed. changelog_1162_li=The SecurePassword example has been improved.
changelog_1163_li=The native fulltext search was not working properly after re-connecting. changelog_1163_li=In time zones where the summer time saving limit is at midnight, some dates do not work in some virtual machines, for example 2007-10-14 in Chile, using the Sun JVM 1.6.0_03-b05. Fixed.
changelog_1164_li=Improved FTP server\: now the PORT command is supported. changelog_1164_li=The native fulltext search was not working properly after re-connecting.
changelog_1165_li=Temporary views (FROM(...)) with UNION didn't work if nested. Fixed. changelog_1165_li=Improved FTP server\: now the PORT command is supported.
changelog_1166_li=Performance optimization for IN(...) and IN(SELECT...), currently disabled by default. To enable, use java -Dh2.optimizeInJoin\=true changelog_1166_li=Temporary views (FROM(...)) with UNION didn't work if nested. Fixed.
changelog_1167_li=The H2 Console has been translated to Ukrainian by Igor Dobrovolskyi. Thanks a lot\! changelog_1167_li=Performance optimization for IN(...) and IN(SELECT...), currently disabled by default. To enable, use java -Dh2.optimizeInJoin\=true
changelog_1168_li=New function TABLE_DISTINCT. changelog_1168_li=The H2 Console has been translated to Ukrainian by Igor Dobrovolskyi. Thanks a lot\!
changelog_1169_li=Using LIMIT with values close to Integer.MAX_VALUE didn't work correctly. changelog_1169_li=New function TABLE_DISTINCT.
changelog_1170_li=Certain setting in the Server didn't work (http\://code.google.com/p/h2database/issues/detail?id\=7). changelog_1170_li=Using LIMIT with values close to Integer.MAX_VALUE didn't work correctly.
changelog_1171_h2=Version 1.0.62 (2007-11-25) changelog_1171_li=Certain setting in the Server didn't work (http\://code.google.com/p/h2database/issues/detail?id\=7).
changelog_1172_li=Large updates and deletes are now supported by buffering data to disk if required. The threshold is currently set to 100'000 bytes and can be changed using SET MAX_OPERATION_MEMORY or using by appending ;MAX_OPERATION_MEMORY\=.. to the database URL. See also the docs. changelog_1172_h2=Version 1.0.62 (2007-11-25)
changelog_1173_li=MVCC\: now an exception is thrown when an application tries to change the MVCC setting while the database is already open. changelog_1173_li=Large updates and deletes are now supported by buffering data to disk if required. The threshold is currently set to 100'000 bytes and can be changed using SET MAX_OPERATION_MEMORY or using by appending ;MAX_OPERATION_MEMORY\=.. to the database URL. See also the docs.
changelog_1174_li=Referential integrity checks didn't lock the referenced table, and thus could read uncommitted rows of other connections. In that way the referential constraints could get violated (except when using MVCC). changelog_1174_li=MVCC\: now an exception is thrown when an application tries to change the MVCC setting while the database is already open.
changelog_1175_li=Renaming or dropping a user with a schema, or removing the admin property of that user made the schema inaccessible after re-opening the database. Fixed. changelog_1175_li=Referential integrity checks didn't lock the referenced table, and thus could read uncommitted rows of other connections. In that way the referential constraints could get violated (except when using MVCC).
changelog_1176_li=The H2 Console now also support the command line option -ifExists when started from the Server tool, but only when connecting to H2 databases. changelog_1176_li=Renaming or dropping a user with a schema, or removing the admin property of that user made the schema inaccessible after re-opening the database. Fixed.
changelog_1177_li=Duplicate column names were not detected when renaming columns. Fixed. changelog_1177_li=The H2 Console now also support the command line option -ifExists when started from the Server tool, but only when connecting to H2 databases.
changelog_1178_li=The console did not display multiple embedded spaces in text correctly. Fixed. changelog_1178_li=Duplicate column names were not detected when renaming columns. Fixed.
changelog_1179_li=Google Android support\: use 'ant codeswitchAndroid' to switch the source code to Android. changelog_1179_li=The console did not display multiple embedded spaces in text correctly. Fixed.
changelog_1180_li=Values of type ARRAY are now sorted as in PostgreSQL. changelog_1180_li=Google Android support\: use 'ant codeswitchAndroid' to switch the source code to Android.
changelog_1181_li=In the cluster mode, could not connect if only one server was running (last release only). Fixed. changelog_1181_li=Values of type ARRAY are now sorted as in PostgreSQL.
changelog_1182_li=The performance of large CSV operations has been improved. changelog_1182_li=In the cluster mode, could not connect if only one server was running (last release only). Fixed.
changelog_1183_li=Now using custom toString() for most JDBC objects and commands. changelog_1183_li=The performance of large CSV operations has been improved.
changelog_1184_li=Nested temporary views (SELECT * FROM (SELECT ...)) with parameters didn't work in some cases. Fixed. changelog_1184_li=Now using custom toString() for most JDBC objects and commands.
changelog_1185_li=CSV\: Using an empty field delimiter didn't work (a workaround was using char(0)). Fixed. changelog_1185_li=Nested temporary views (SELECT * FROM (SELECT ...)) with parameters didn't work in some cases. Fixed.
changelog_1186_li=A patch for Apache DDL Utils is available at https\://issues.apache.org/jira/browse/DDLUTILS-185 changelog_1186_li=CSV\: Using an empty field delimiter didn't work (a workaround was using char(0)). Fixed.
changelog_1187_li=The default value for h2.emergencySpaceInitial is now 256 KB (to speed up creating encrypted databases) changelog_1187_li=A patch for Apache DDL Utils is available at https\://issues.apache.org/jira/browse/DDLUTILS-185
changelog_1188_li=Eduardo Velasques has translated the H2 Console and the error messages to Brazilian Portuguese. Thanks a lot\! changelog_1188_li=The default value for h2.emergencySpaceInitial is now 256 KB (to speed up creating encrypted databases)
changelog_1189_li=Creating a table from GROUP_CONCAT didn't work if the data was longer than 255 characters changelog_1189_li=Eduardo Velasques has translated the H2 Console and the error messages to Brazilian Portuguese. Thanks a lot\!
changelog_1190_h2=Version 1.0.61 (2007-11-10) changelog_1190_li=Creating a table from GROUP_CONCAT didn't work if the data was longer than 255 characters
changelog_1191_li=The Lucene Fulltext implementation is now compiled and included in the h2.jar. Requires Lucene 2.2. changelog_1191_h2=Version 1.0.61 (2007-11-10)
changelog_1192_li=Added more tests. The code coverage is now at 83%. changelog_1192_li=The Lucene Fulltext implementation is now compiled and included in the h2.jar. Requires Lucene 2.2.
changelog_1193_li=ResultSetMetaData.getColumnDisplaySize was calculated as the longest display size for the given result set, but should be the maximum size that fits in the column. Fixed. changelog_1193_li=Added more tests. The code coverage is now at 83%.
changelog_1194_li=The MODE used to be a global setting, now it is a database level setting. changelog_1194_li=ResultSetMetaData.getColumnDisplaySize was calculated as the longest display size for the given result set, but should be the maximum size that fits in the column. Fixed.
changelog_1195_li=The database does now always round to the nearest number when converting a floating point to a integer\: CAST(1.5 AS INT) will now result in 2, like in PostgreSQL and MySQL. changelog_1195_li=The MODE used to be a global setting, now it is a database level setting.
changelog_1196_li=Math operations using unknown data types (for example -? and ?+?) are now interpreted as decimal. changelog_1196_li=The database does now always round to the nearest number when converting a floating point to a integer\: CAST(1.5 AS INT) will now result in 2, like in PostgreSQL and MySQL.
changelog_1197_li=INSTR, LOCATE\: backward searching is not supported by using a negative start position. changelog_1197_li=Math operations using unknown data types (for example -? and ?+?) are now interpreted as decimal.
changelog_1198_li=Can now open a database stored in a jar or zip file (for example, jdbc\:h2\:zip\:c\:/temp/h2.zip\!/test). changelog_1198_li=INSTR, LOCATE\: backward searching is not supported by using a negative start position.
changelog_1199_li=Files access now uses an API (FileSystem, FileObject), this will simplify adding other file systems and features (for example replication). changelog_1199_li=Can now open a database stored in a jar or zip file (for example, jdbc\:h2\:zip\:c\:/temp/h2.zip\!/test).
changelog_1200_li=Vlad Alexahin has translated H2 Console to Russian. Thanks a lot\! changelog_1200_li=Files access now uses an API (FileSystem, FileObject), this will simplify adding other file systems and features (for example replication).
changelog_1201_li=Descending indexes are now supported. This is useful when sorting columns descending, for example by creation date. changelog_1201_li=Vlad Alexahin has translated H2 Console to Russian. Thanks a lot\!
changelog_1202_li=Solved a Java level deadlock in the DatabaseCloser. changelog_1202_li=Descending indexes are now supported. This is useful when sorting columns descending, for example by creation date.
changelog_1203_li=CREATE SEQUENCE\: New option CACHE (number of pre-allocated numbers). New column CACHE in the sequence meta data table. The default cache size is still 32. changelog_1203_li=Solved a Java level deadlock in the DatabaseCloser.
changelog_1204_li=MVCC\: The system property h2.mvcc has been removed. A few bugs have been fixed, and new tests have been added. changelog_1204_li=CREATE SEQUENCE\: New option CACHE (number of pre-allocated numbers). New column CACHE in the sequence meta data table. The default cache size is still 32.
changelog_1205_h2=Version 1.0.60 (2007-10-20) changelog_1205_li=MVCC\: The system property h2.mvcc has been removed. A few bugs have been fixed, and new tests have been added.
changelog_1206_li=JdbcXAConnection\: starting a transaction before getting the connection didn't switch off autocommit. changelog_1206_h2=Version 1.0.60 (2007-10-20)
changelog_1207_li=User defined aggregate functions are not supported. changelog_1207_li=JdbcXAConnection\: starting a transaction before getting the connection didn't switch off autocommit.
changelog_1208_li=Server.shutdownTcpServer was blocked when first called with force\=false and then force\=true. Now documentation is improved, and it is no longer blocked. changelog_1208_li=User defined aggregate functions are not supported.
changelog_1209_li=Stack traces did not include the SQL statement in all cases where they could have. Also, stack traces with SQL statement are now shorter. changelog_1209_li=Server.shutdownTcpServer was blocked when first called with force\=false and then force\=true. Now documentation is improved, and it is no longer blocked.
changelog_1210_li=Linked tables\: now tables in non-default schemas are supported as well changelog_1210_li=Stack traces did not include the SQL statement in all cases where they could have. Also, stack traces with SQL statement are now shorter.
changelog_1211_li=New Italian translation from PierPaolo Ucchino. Thanks a lot\! changelog_1211_li=Linked tables\: now tables in non-default schemas are supported as well
changelog_1212_li=CSV\: New methods to set the escape character and field delimiter in the Csv tool and the CSVWRITE and CSVREAD methods. changelog_1212_li=New Italian translation from PierPaolo Ucchino. Thanks a lot\!
changelog_1213_li=Prepared statements could not be used after data definition statements (creating tables and so on). Fixed. changelog_1213_li=CSV\: New methods to set the escape character and field delimiter in the Csv tool and the CSVWRITE and CSVREAD methods.
changelog_1214_li=PreparedStatement.setMaxRows could not be changed to a higher value after the statement was executed. changelog_1214_li=Prepared statements could not be used after data definition statements (creating tables and so on). Fixed.
changelog_1215_li=The H2 Console could not connect twice to the same H2 embedded database at the same time. Fixed. changelog_1215_li=PreparedStatement.setMaxRows could not be changed to a higher value after the statement was executed.
changelog_1216_li=CSVREAD, RUNSCRIPT and so on now support URLs as well, using URL.openStream(). Example\: select * from csvread('jar\:file\:///c\:/temp/test.jar\!/test.csv'); changelog_1216_li=The H2 Console could not connect twice to the same H2 embedded database at the same time. Fixed.
changelog_1217_h2=Version 1.0.59 (2007-10-03) changelog_1217_li=CSVREAD, RUNSCRIPT and so on now support URLs as well, using URL.openStream(). Example\: select * from csvread('jar\:file\:///c\:/temp/test.jar\!/test.csv');
changelog_1218_li=When the data type was unknown in a subquery, sometimes the wrong exception (ArrayIndexOutOfBounds) was thrown. Fixed. changelog_1218_h2=Version 1.0.59 (2007-10-03)
changelog_1219_li=If the process was killed while the database was running, sometimes the database could not be opened ('double allocation') except when the system property h2.check was set to false. Fixed. changelog_1219_li=When the data type was unknown in a subquery, sometimes the wrong exception (ArrayIndexOutOfBounds) was thrown. Fixed.
changelog_1220_li=Multi-threaded kernel (MULTI_THREADED\=1)\: A synchronization problem has been fixed. changelog_1220_li=If the process was killed while the database was running, sometimes the database could not be opened ('double allocation') except when the system property h2.check was set to false. Fixed.
changelog_1221_li=A PreparedStatement that was cancelled could not be reused. Fixed. changelog_1221_li=Multi-threaded kernel (MULTI_THREADED\=1)\: A synchronization problem has been fixed.
changelog_1222_li=H2 Console\: Progress information when logging into a H2 embedded database (useful when opening a database is slow). changelog_1222_li=A PreparedStatement that was cancelled could not be reused. Fixed.
changelog_1223_li=When the database was closed while logging was disabled (LOG 0), re-opening the database was slow. Fixed. changelog_1223_li=H2 Console\: Progress information when logging into a H2 embedded database (useful when opening a database is slow).
changelog_1224_li=Fulltext search is now documented (in the Tutorial). changelog_1224_li=When the database was closed while logging was disabled (LOG 0), re-opening the database was slow. Fixed.
changelog_1225_li=The Console did not refresh the table list if the CREATE TABLE statement started with a comment. Fixed. changelog_1225_li=Fulltext search is now documented (in the Tutorial).
changelog_1226_li=When creating a table using CREATE TABLE .. AS SELECT, the precision for some data types (for example VARCHAR) was set to the default precision. Fixed. changelog_1226_li=The Console did not refresh the table list if the CREATE TABLE statement started with a comment. Fixed.
changelog_1227_li=When using the (undocumented) in-memory file system (jdbc\:h2\:memFS\:x or jdbc\:h2\:memLZF\:x), and using multiple connections, a ConcurrentModificationException could occur. Fixed. changelog_1227_li=When creating a table using CREATE TABLE .. AS SELECT, the precision for some data types (for example VARCHAR) was set to the default precision. Fixed.
changelog_1228_li=REGEXP compatibility\: So far String.matches was used, but for compatibility with MySQL, now Matcher.find is used. changelog_1228_li=When using the (undocumented) in-memory file system (jdbc\:h2\:memFS\:x or jdbc\:h2\:memLZF\:x), and using multiple connections, a ConcurrentModificationException could occur. Fixed.
changelog_1229_li=SCRIPT\: the SQL statements in the result set now include the terminating semicolon as well. Simplifies copy and paste. changelog_1229_li=REGEXP compatibility\: So far String.matches was used, but for compatibility with MySQL, now Matcher.find is used.
changelog_1230_li=When using a subquery with group by as a table, some columns could not be used in the where condition in the outer query. Example\: SELECT * FROM (SELECT ID, COUNT(*) C FROM TEST) WHERE C > 100. Fixed. changelog_1230_li=SCRIPT\: the SQL statements in the result set now include the terminating semicolon as well. Simplifies copy and paste.
changelog_1231_li=Views with subqueries as tables and queries with nested subqueries as tables did not always work. Fixed. changelog_1231_li=When using a subquery with group by as a table, some columns could not be used in the where condition in the outer query. Example\: SELECT * FROM (SELECT ID, COUNT(*) C FROM TEST) WHERE C > 100. Fixed.
changelog_1232_li=Compatibility\: comparing columns with constants that are out of range does not throw an exception. changelog_1232_li=Views with subqueries as tables and queries with nested subqueries as tables did not always work. Fixed.
changelog_1233_h2=Version 1.0.58 (2007-09-15) changelog_1233_li=Compatibility\: comparing columns with constants that are out of range does not throw an exception.
changelog_1234_li=System.exit is no longer called by the WebServer, the Console and the Server tool (except to set the exit code if required). This is important when using OSGi. changelog_1234_h2=Version 1.0.58 (2007-09-15)
changelog_1235_li=Optimization for independent subqueries. For example, this query can now an index\: SELECT * FROM TEST WHERE ID \= (SELECT MAX(ID) FROM TEST) This can be disabled by setting the system property h2.optimizeSubqueryCache to false. changelog_1235_li=System.exit is no longer called by the WebServer, the Console and the Server tool (except to set the exit code if required). This is important when using OSGi.
changelog_1236_li=The explain plan now says\: /* direct lookup query */ if the query can be processed directly without reading rows, for example when using MIN(indexed column), MAX(indexed column), or COUNT(*). changelog_1236_li=Optimization for independent subqueries. For example, this query can now an index\: SELECT * FROM TEST WHERE ID \= (SELECT MAX(ID) FROM TEST) This can be disabled by setting the system property h2.optimizeSubqueryCache to false.
changelog_1237_li=When using IFNULL, NULLIF, COALESCE, LEAST, or GREATEST, and the first parameter was ?, an exception was thrown. Now the highest data type of all parameters is used. changelog_1237_li=The explain plan now says\: /* direct lookup query */ if the query can be processed directly without reading rows, for example when using MIN(indexed column), MAX(indexed column), or COUNT(*).
changelog_1238_li=When comparing TINYINT or SMALLINT columns against constants, the index was not used. Fixed. changelog_1238_li=When using IFNULL, NULLIF, COALESCE, LEAST, or GREATEST, and the first parameter was ?, an exception was thrown. Now the highest data type of all parameters is used.
changelog_1239_li=Maven 2\: new version are now automatically synced with the central repositories. changelog_1239_li=When comparing TINYINT or SMALLINT columns against constants, the index was not used. Fixed.
changelog_1240_li=The default value for MAX_MEMORY_UNDO is now 100000. changelog_1240_li=Maven 2\: new version are now automatically synced with the central repositories.
changelog_1241_li=The documentation indexer does no longer index Japanese pages. If somebody knows how to split Japanese into words please post it. changelog_1241_li=The default value for MAX_MEMORY_UNDO is now 100000.
changelog_1242_li=Oracle compatibility\: SYSDATE now returns a timestamp. CHR(..) is now an alias for CHAR(..). changelog_1242_li=The documentation indexer does no longer index Japanese pages. If somebody knows how to split Japanese into words please post it.
changelog_1243_li=After deleting data, empty space in the database files was not efficiently reused (but it was reused when opening the database). This has been fixed. changelog_1243_li=Oracle compatibility\: SYSDATE now returns a timestamp. CHR(..) is now an alias for CHAR(..).
changelog_1244_li=About 230 bytes per database was leaked. This is a problem for applications opening and closing many thousand databases. The main problem\: a shutdown hook was added but never removed. Fixed. In JDK 1.4, there is <a href\="http\://bugs.sun.com/bugdatabase/view_bug.do?bug_id\=4197876">an additionally problem</a> . A workaround has been implemented. changelog_1244_li=After deleting data, empty space in the database files was not efficiently reused (but it was reused when opening the database). This has been fixed.
changelog_1245_li=Optimization for COLUMN IN(.., NULL) if the column does not allow NULL values. changelog_1245_li=About 230 bytes per database was leaked. This is a problem for applications opening and closing many thousand databases. The main problem\: a shutdown hook was added but never removed. Fixed. In JDK 1.4, there is <a href\="http\://bugs.sun.com/bugdatabase/view_bug.do?bug_id\=4197876">an additionally problem</a> . A workaround has been implemented.
changelog_1246_li=Using spaces in column and table aliases was not supported when used inside a view or temporary view. changelog_1246_li=Optimization for COLUMN IN(.., NULL) if the column does not allow NULL values.
changelog_1247_li=The version (build) number is now included in the manifest file. changelog_1247_li=Using spaces in column and table aliases was not supported when used inside a view or temporary view.
changelog_1248_li=In some systems, SecureRandom.generateSeed is very slow (taking one minute or more). For those cases, an alternative method is used that takes less than one second. changelog_1248_li=The version (build) number is now included in the manifest file.
changelog_1249_li=The database file sizes are now increased at most 32 MB at any time. changelog_1249_li=In some systems, SecureRandom.generateSeed is very slow (taking one minute or more). For those cases, an alternative method is used that takes less than one second.
changelog_1250_li=New method DatabaseEventListener.opened that is called just after opening a database. changelog_1250_li=The database file sizes are now increased at most 32 MB at any time.
changelog_1251_li=When using the Console with Internet Explorer 6.0 or 7.0, a Javascript error was thrown after clearing the query. changelog_1251_li=New method DatabaseEventListener.opened that is called just after opening a database.
changelog_1252_li=A database can now be opened even if class of a user defined function is not in the classpath. Trying to call the function will throws an exception. changelog_1252_li=When using the Console with Internet Explorer 6.0 or 7.0, a Javascript error was thrown after clearing the query.
changelog_1253_li=User defined functions and constants may not overload built-in functions and constants. This didn't work before, but now trying to create such an object will fail. changelog_1253_li=A database can now be opened even if class of a user defined function is not in the classpath. Trying to call the function will throws an exception.
changelog_1254_li=Improved MultiDimension tool (for spatial queries)\: in the last few releases the tool was actually slower than using a regular query (because index lookup got faster, and because the tool didn't support prepared statements) Now the tool generates prepared statements, and the performance is better again (about 5 times faster for a reasonable amount of data). changelog_1254_li=User defined functions and constants may not overload built-in functions and constants. This didn't work before, but now trying to create such an object will fail.
changelog_1255_li=Adding a foreign key or when re-enabling referential integrity for a table failed when checking was enabled and the reference contained NULL. changelog_1255_li=Improved MultiDimension tool (for spatial queries)\: in the last few releases the tool was actually slower than using a regular query (because index lookup got faster, and because the tool didn't support prepared statements) Now the tool generates prepared statements, and the performance is better again (about 5 times faster for a reasonable amount of data).
changelog_1256_li=For PgServer, character encoding other than UTF-8 did not work correctly. Fixed. changelog_1256_li=Adding a foreign key or when re-enabling referential integrity for a table failed when checking was enabled and the reference contained NULL.
changelog_1257_li=Using a function in a GROUP BY expression that is used in a view as a condition did not always work. changelog_1257_li=For PgServer, character encoding other than UTF-8 did not work correctly. Fixed.
changelog_1258_h2=Version 1.0.57 (2007-08-25) changelog_1258_li=Using a function in a GROUP BY expression that is used in a view as a condition did not always work.
changelog_1259_li=New experimental feature MVCC (multi version concurrency control). Can be set as a option when opening the database (jdbc\:h2\:~/test;MVCC\=TRUE) or as a system property (-Dh2.mvcc\=true). This is work-in-progress, use it at your own risk. Feedback is welcome. changelog_1259_h2=Version 1.0.57 (2007-08-25)
changelog_1260_li=The version number is now major.minor.micro where micro is the build number. Not all version are public, so there may be gaps in the micro. The minor changes when there is a file format change. changelog_1260_li=New experimental feature MVCC (multi version concurrency control). Can be set as a option when opening the database (jdbc\:h2\:~/test;MVCC\=TRUE) or as a system property (-Dh2.mvcc\=true). This is work-in-progress, use it at your own risk. Feedback is welcome.
changelog_1261_li=The backup tool (org.h2.tools.Backup) did not work. The restore tool did not work when the -db parameter was used. Fixed. The documentation of the backup tool has been changed\: only one database may be backed up at any time. changelog_1261_li=The version number is now major.minor.micro where micro is the build number. Not all version are public, so there may be gaps in the micro. The minor changes when there is a file format change.
changelog_1262_li=Opening large read-only databases was very slow. Fixed. changelog_1262_li=The backup tool (org.h2.tools.Backup) did not work. The restore tool did not work when the -db parameter was used. Fixed. The documentation of the backup tool has been changed\: only one database may be backed up at any time.
changelog_1263_li=New Japanese translation of the error messages thanks to Ikemoto Masahiro. Thanks a lot\! changelog_1263_li=Opening large read-only databases was very slow. Fixed.
changelog_1264_li=Disabling / enabling referential integrity for a table can now be used inside a transaction. changelog_1264_li=New Japanese translation of the error messages thanks to Ikemoto Masahiro. Thanks a lot\!
changelog_1265_li=Rights checking for dynamic tables (SELECT * FROM (SELECT ...)) did not work. Fixed. changelog_1265_li=Disabling / enabling referential integrity for a table can now be used inside a transaction.
changelog_1266_li=Creating more than 10 views that depend on each other was very slow. Reconnecting was slow as well. Fixed. changelog_1266_li=Rights checking for dynamic tables (SELECT * FROM (SELECT ...)) did not work. Fixed.
changelog_1267_li=When used as as Servlet, the H2 Console did not work with SSL (using Tomcat). Fixed. changelog_1267_li=Creating more than 10 views that depend on each other was very slow. Reconnecting was slow as well. Fixed.
changelog_1268_li=When altering a table with foreign key constraint, if there was no manual index created for the referenced columns, the automatically created index was dropped while still being used. Fixed. changelog_1268_li=When used as as Servlet, the H2 Console did not work with SSL (using Tomcat). Fixed.
changelog_1269_li=Check and foreign key constraints now checks if the existing data is consistent (this can be disabled by appending NOCHECK). It is also possible to check existing data when re-enabling referential integrity for a table. changelog_1269_li=When altering a table with foreign key constraint, if there was no manual index created for the referenced columns, the automatically created index was dropped while still being used. Fixed.
changelog_1270_li=Some unit tests failed on Linux because the file system works differently. The unit tests are fixed and should work now. changelog_1270_li=Check and foreign key constraints now checks if the existing data is consistent (this can be disabled by appending NOCHECK). It is also possible to check existing data when re-enabling referential integrity for a table.
changelog_1271_li=Can now incrementally translate the documentation. See also FAQ. changelog_1271_li=Some unit tests failed on Linux because the file system works differently. The unit tests are fixed and should work now.
changelog_1272_li=Improved error messages\: some tools can't show the root cause of an exception. Adding the message of the root cause to the message of the thrown exception now where it makes sense. changelog_1272_li=Can now incrementally translate the documentation. See also FAQ.
changelog_1273_li=The H2 Console can now connect to databases using JNDI. The driver class name must be a javax.naming.Context, (for example javax.naming.InitialContext), and the URL the resource name (for example java\:comp/env/jdbc/Test). This should also work for linked tables. changelog_1273_li=Improved error messages\: some tools can't show the root cause of an exception. Adding the message of the root cause to the message of the thrown exception now where it makes sense.
changelog_1274_li=Google translate did not work for the H2 homepage. It should be fixed now. changelog_1274_li=The H2 Console can now connect to databases using JNDI. The driver class name must be a javax.naming.Context, (for example javax.naming.InitialContext), and the URL the resource name (for example java\:comp/env/jdbc/Test). This should also work for linked tables.
changelog_1275_li=The CONVERT function did not work with views when using UNION. changelog_1275_li=Google translate did not work for the H2 homepage. It should be fixed now.
changelog_1276_li=The build now issues a warning if the source code is switched to the wrong version. changelog_1276_li=The CONVERT function did not work with views when using UNION.
changelog_1277_li=The default lock mode is now read committed instead of serialized. changelog_1277_li=The build now issues a warning if the source code is switched to the wrong version.
changelog_1278_li=PG server\: data was truncated when reading large VARCHAR columns and decimal columns. changelog_1278_li=The default lock mode is now read committed instead of serialized.
changelog_1279_li=PG server\: when the same database was accessed multiple times using the PostgreSQL ODBC driver, the pg_catalog schema update failed, and connecting to the database was not possible. Fixed. changelog_1279_li=PG server\: data was truncated when reading large VARCHAR columns and decimal columns.
changelog_1280_li=Some file operations didn't work for files in the root directory. Fixed. changelog_1280_li=PG server\: when the same database was accessed multiple times using the PostgreSQL ODBC driver, the pg_catalog schema update failed, and connecting to the database was not possible. Fixed.
changelog_1281_li=In the Restore tool, the parameter -file did not work. Fixed. changelog_1281_li=Some file operations didn't work for files in the root directory. Fixed.
changelog_1282_li=Two-phase commit\: commit with transaction name was only supported in the recovery scan. Now it is always supported. changelog_1282_li=In the Restore tool, the parameter -file did not work. Fixed.
changelog_1283_li=The column name C_CURRENT_TIMESTAMP did not work in the last release. changelog_1283_li=Two-phase commit\: commit with transaction name was only supported in the recovery scan. Now it is always supported.
changelog_1284_li=OpenOffice compatibility\: support database name in column names. changelog_1284_li=The column name C_CURRENT_TIMESTAMP did not work in the last release.
changelog_1285_li=OpenOffice compatibility\: support database name in column names.
download_1000_h1=Downloads download_1000_h1=Downloads
download_1001_h3=Version 1.0.69 (2008-04-20, Current) download_1001_h3=Version 1.0.69 (2008-04-20, Current)
download_1002_a=Windows Installer download_1002_a=Windows Installer
......
...@@ -67,7 +67,7 @@ public class WebServer implements Service { ...@@ -67,7 +67,7 @@ public class WebServer implements Service {
{ "ru", "\u0440\u0443\u0441\u0441\u043a\u0438\u0439"}, { "ru", "\u0440\u0443\u0441\u0441\u043a\u0438\u0439"},
{ "tr", "T\u00fcrk\u00e7e"}, { "tr", "T\u00fcrk\u00e7e"},
{ "uk", "\u0423\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u0430"}, { "uk", "\u0423\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u0430"},
{ "zh_CN", "\u4e2d\u6587 (\u7c21\u9ad4)"}, { "zh_CN", "\u4e2d\u6587 (\u7b80\u4f53)"},
{ "zh_TW", "\u4e2d\u6587 (\u7e41\u9ad4)"}, { "zh_TW", "\u4e2d\u6587 (\u7e41\u9ad4)"},
}; };
......
.translator=junheng.song (sjh21 (at) hot mail (dot) com); Created by JInto - www.guh-software.de - Mon Apr 10 2006 .translator=junheng.song (sjh21 (at) hot mail (dot) com); Created by JInto - www.guh-software.de - Mon Apr 10 2006
a.help=\u5E2E\u52A9 a.help=\u5E2E\u52A9
a.language=\u4E2D\u6587 a.language=\u4E2D\u6587 (\u7B80\u4F53)
a.lynxNotSupported=\u62B1\u6B49, \u76EE\u524D\u8FD8\u4E0D\u652F\u6301Lynx a.lynxNotSupported=\u62B1\u6B49, \u76EE\u524D\u8FD8\u4E0D\u652F\u6301Lynx
a.password=\u5BC6\u7801 a.password=\u5BC6\u7801
a.remoteConnectionsDisabled=\u62B1\u6B49, \u670D\u52A1\u5668\u4E0A\u7684\u8FDC\u7A0B\u8BA1\u7B97\u673A\u8FDE\u63A5\u88AB\u7981\u7528. a.remoteConnectionsDisabled=\u62B1\u6B49, \u670D\u52A1\u5668\u4E0A\u7684\u8FDC\u7A0B\u8BA1\u7B97\u673A\u8FDE\u63A5\u88AB\u7981\u7528.
......
...@@ -94,45 +94,45 @@ toolbar.refresh=\u66F4\u65B0 ...@@ -94,45 +94,45 @@ toolbar.refresh=\u66F4\u65B0
toolbar.rollback=\u9000\u8FD4 (rollback) toolbar.rollback=\u9000\u8FD4 (rollback)
toolbar.run=\u57F7\u884C (Ctrl+Enter) toolbar.run=\u57F7\u884C (Ctrl+Enter)
toolbar.sqlStatement=SQL \u8FF0\u53E5 toolbar.sqlStatement=SQL \u8FF0\u53E5
tools.backup=\#Backup tools.backup=\u5099\u4EFD
tools.backup.help=\#Creates a backup of a database. tools.backup.help=\u5EFA\u7ACB\u8CC7\u6599\u5EAB\u7684\u5099\u4EFD
tools.changePassword=\#ChangePassword tools.changePassword=\u8B8A\u66F4\u5BC6\u78BC
tools.changePassword.help=\#Allows changing the database file password. tools.changePassword.help=\u5141\u8A31\u8B8A\u66F4\u8CC7\u6599\u5EAB\u6A94\u6848\u7684\u5BC6\u78BC
tools.cipher=\#Cipher (AES or XTEA) tools.cipher=\u52A0\u5BC6 (AES \u6216 XTEA)
tools.commandLine=\#Command line tools.commandLine=\u547D\u4EE4\u5217
tools.convertTraceFile=\#ConvertTraceFile tools.convertTraceFile=\u8F49\u63DBTrace\u6A94\u6848
tools.convertTraceFile.help=\#Converts a .trace.db file to a Java application and SQL script. tools.convertTraceFile.help=\u5C07.trace.db\u6A94\u6848\u8F49\u63DB\u6210Java\u61C9\u7528\u7A0B\u5F0F\u8207SQL\u8173\u672C (script).
tools.createCluster=\#CreateCluster tools.createCluster=\u5EFA\u7ACB\u53E2\u96C6 (Cluster)
tools.createCluster.help=\#Creates a cluster from a standalone database. tools.createCluster.help=\u81EA\u7368\u7ACB\u7684\u8CC7\u6599\u5EAB\u5EFA\u7ACB\u53E2\u96C6 (Cluster)
tools.databaseName=\#Database name tools.databaseName=\u8CC7\u6599\u5EAB\u540D\u7A31
tools.decryptionPassword=\#Decryption password tools.decryptionPassword=\u660E\u6587\u5BC6\u78BC
tools.deleteDbFiles=\#DeleteDbFiles tools.deleteDbFiles=\u522A\u9664\u8CC7\u6599\u5EAB\u6A94\u6848
tools.deleteDbFiles.help=\#Deletes all files belonging to a database. tools.deleteDbFiles.help=\u522A\u9664\u67D0\u4E00\u8CC7\u6599\u5EAB\u7684\u6240\u6709\u76F8\u95DC\u6A94\u6848
tools.directory=\#Directory tools.directory=\u76EE\u9304
tools.encryptionPassword=\#Encryption password tools.encryptionPassword=\u5BC6\u6587\u5BC6\u78BC
tools.javaDirectoryClassName=\#Java directory and class name tools.javaDirectoryClassName=Java\u76EE\u9304 (directory) \u8207\u985E\u5225 (class) \u540D\u7A31
tools.recover=\#Recover tools.recover=\u4FEE\u5FA9
tools.recover.help=\#Helps recovering a corrupted database. tools.recover.help=\u5354\u52A9\u4FEE\u5FA9\u640D\u58DE\u7684\u8CC7\u6599\u5EAB
tools.restore=\#Restore tools.restore=\u56DE\u5B58
tools.restore.help=\#Restores a database backup. tools.restore.help=\u56DE\u5B58\u8CC7\u6599\u5EAB\u7684\u5099\u4EFD
tools.result=\#Result tools.result=\u7D50\u679C
tools.run=\#Run tools.run=\u57F7\u884C
tools.runScript=\#RunScript tools.runScript=\u57F7\u884C\u8173\u672C (Script)
tools.runScript.help=\#Runs a SQL script. tools.runScript.help=\u57F7\u884CSQL\u8173\u672C (script)
tools.script=\#Script tools.script=\u8173\u672C (Script)
tools.script.help=\#Allows to convert a database to a SQL script for backup or migration. tools.script.help=\u5141\u8A31\u81EA\u8CC7\u6599\u5EAB\u8F49\u63DB\u51FA\u70BA\u5099\u4EFD\u6216\u642C\u9077\u7528\u7684SQL\u8173\u672C(script)
tools.scriptFileName=\#Script file name tools.scriptFileName=\u8173\u672C (Script) \u6A94\u6848\u540D\u7A31
tools.serverList=\#Server list tools.serverList=\u4F3A\u670D\u5668\u6E05\u55AE
tools.sourceDatabaseName=\#Source database name tools.sourceDatabaseName=\u4F86\u6E90 (source) \u8CC7\u6599\u5EAB\u540D\u7A31
tools.sourceDatabaseURL=\#Source database URL tools.sourceDatabaseURL=\u4F86\u6E90 (source) \u8CC7\u6599\u5EABURL
tools.sourceDirectory=\#Target directory tools.sourceDirectory=\u76EE\u7684\u76EE\u9304 (target directory)
tools.sourceFileName=\#Source file name tools.sourceFileName=\u4F86\u6E90 (source) \u6A94\u6848\u540D\u7A31
tools.sourceScriptFileName=\#Source script file name tools.sourceScriptFileName=\u4F86\u6E90\u8173\u672C (script) \u6A94\u6848\u540D\u7A31
tools.targetDatabaseName=\#Target database name tools.targetDatabaseName=\u76EE\u7684 (target) \u8CC7\u6599\u5EAB\u540D\u7A31
tools.targetDatabaseURL=\#Target database URL tools.targetDatabaseURL=\u76EE\u7684 (target) \u8CC7\u6599\u5EABURL
tools.targetFileName=\#Target file name tools.targetFileName=\u76EE\u7684 (target) \u6A94\u6848\u540D\u7A31
tools.targetScriptFileName=\#Target script file name tools.targetScriptFileName=\u76EE\u7684\u8173\u672C (script) \u6A94\u6848\u540D\u7A31
tools.traceFileName=\#Trace file name tools.traceFileName=Trace \u6A94\u6848\u540D\u7A31
tree.admin=\u7BA1\u7406 tree.admin=\u7BA1\u7406
tree.current=\u76EE\u524D\u7684\u6578\u503C tree.current=\u76EE\u524D\u7684\u6578\u503C
tree.hashed=\u4F7F\u7528\u96DC\u6E4A\u6CD5 (hashed) tree.hashed=\u4F7F\u7528\u96DC\u6E4A\u6CD5 (hashed)
......
...@@ -584,15 +584,19 @@ public class StringUtils { ...@@ -584,15 +584,19 @@ public class StringUtils {
} }
public static String replaceAll(String s, String before, String after) { public static String replaceAll(String s, String before, String after) {
StringBuffer buff = new StringBuffer(s.length());
int index = 0; int index = 0;
while (true) { while (true) {
int next = s.indexOf(before, index); int next = s.indexOf(before, index);
if (next < 0) { if (next < 0) {
return s; buff.append(s.substring(index));
break;
} }
s = s.substring(0, next) + after + s.substring(next + before.length()); buff.append(s.substring(index, next));
index = next + after.length(); buff.append(after);
index = next + before.length();
} }
return buff.toString();
} }
public static String quoteIdentifier(String s) { public static String quoteIdentifier(String s) {
......
...@@ -160,7 +160,7 @@ java org.h2.test.TestAll timer ...@@ -160,7 +160,7 @@ java org.h2.test.TestAll timer
/* /*
Multiple-Multiple-Licensed under the H2 License, upload jazoon
test case for out of memory (try to corrupt the database using out of memory) test case for out of memory (try to corrupt the database using out of memory)
......
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- <!--
Copyright 2004-2008 H2 Group. Multiple-Licensed under the H2 License, Version 1.0,, Copyright 2004-2008 H2 Group.
Multiple-Licensed under the H2 License, Version 1.0,
and under the Eclipse Public License, Version 1.0 and under the Eclipse Public License, Version 1.0
(http://h2database.com/html/license.html). (http://h2database.com/html/license.html).
Initial Developer: H2 Group Initial Developer: H2 Group
--> -->
<html> <html>
......
...@@ -8,12 +8,11 @@ package org.h2.build; ...@@ -8,12 +8,11 @@ package org.h2.build;
import java.io.File; import java.io.File;
import java.io.IOException; import java.io.IOException;
import java.util.List;
import org.h2.build.code.SwitchSource; import org.h2.build.code.SwitchSource;
/** /**
* The implementation of the pure Java build. * The build definition.
*/ */
public class Build extends BuildBase { public class Build extends BuildBase {
...@@ -55,11 +54,11 @@ public class Build extends BuildBase { ...@@ -55,11 +54,11 @@ public class Build extends BuildBase {
} }
public void resources() { public void resources() {
List files = getFiles("src/main"); FileList files = getFiles("src/main").
files = filterFiles(files, false, "*.java"); exclude("*.java").
files = filterFiles(files, false, "*/package.html"); exclude("*/package.html").
files = filterFiles(files, false, "*/java.sql.Driver"); exclude("*/java.sql.Driver");
zip("temp/org/h2/util/data.zip", "src/main", files, true, false); zip("temp/org/h2/util/data.zip", files, "src/main", true, false);
} }
private void manifest(String mainClassName) { private void manifest(String mainClassName) {
...@@ -67,8 +66,8 @@ public class Build extends BuildBase { ...@@ -67,8 +66,8 @@ public class Build extends BuildBase {
String version = getStaticField("org.h2.engine.Constants", "VERSION"); String version = getStaticField("org.h2.engine.Constants", "VERSION");
manifest = replaceAll(manifest, "${version}", version); manifest = replaceAll(manifest, "${version}", version);
manifest = replaceAll(manifest, "${buildJdk}", getJavaSpecVersion()); manifest = replaceAll(manifest, "${buildJdk}", getJavaSpecVersion());
String createdBy = System.getProperty("java.runtime.version") + " (" + System.getProperty("java.vm.vendor") String createdBy = System.getProperty("java.runtime.version") +
+ ")"; " (" + System.getProperty("java.vm.vendor") + ")";
manifest = replaceAll(manifest, "${createdBy}", createdBy); manifest = replaceAll(manifest, "${createdBy}", createdBy);
String mainClassTag = manifest == null ? "" : "Main-Class: " + mainClassName; String mainClassTag = manifest == null ? "" : "Main-Class: " + mainClassName;
manifest = replaceAll(manifest, "${mainClassTag}", mainClassTag); manifest = replaceAll(manifest, "${mainClassTag}", mainClassTag);
...@@ -78,33 +77,33 @@ public class Build extends BuildBase { ...@@ -78,33 +77,33 @@ public class Build extends BuildBase {
public void jar() { public void jar() {
compile(); compile();
manifest("org.h2.tools.Console"); manifest("org.h2.tools.Console");
List files = getFiles("temp"); FileList files = getFiles("temp").
files = filterFiles(files, false, "temp/org/h2/dev/*"); exclude("temp/org/h2/dev/*").
files = filterFiles(files, false, "temp/org/h2/build/*"); exclude("temp/org/h2/build/*").
files = filterFiles(files, false, "temp/org/h2/samples/*"); exclude("temp/org/h2/samples/*").
files = filterFiles(files, false, "temp/org/h2/test/*"); exclude("temp/org/h2/test/*").
files = filterFiles(files, false, "*.bat"); exclude("*.bat").
files = filterFiles(files, false, "*.sh"); exclude("*.sh").
files = filterFiles(files, false, "*.txt"); exclude("*.txt");
jar("bin/h2.jar", "temp", files); jar("bin/h2.jar", files, "temp");
} }
public void jarSmall() { public void jarSmall() {
compile(false); compile(false);
List files = getFiles("temp"); FileList files = getFiles("temp").
files = filterFiles(files, false, "temp/org/h2/dev/*"); exclude("temp/org/h2/dev/*").
files = filterFiles(files, false, "temp/org/h2/build/*"); exclude("temp/org/h2/build/*").
files = filterFiles(files, false, "temp/org/h2/samples/*"); exclude("temp/org/h2/samples/*").
files = filterFiles(files, false, "temp/org/h2/test/*"); exclude("temp/org/h2/test/*").
files = filterFiles(files, false, "*.bat"); exclude("*.bat").
files = filterFiles(files, false, "*.sh"); exclude("*.sh").
files = filterFiles(files, false, "*.txt"); exclude("*.txt").
files = filterFiles(files, false, "temp/META-INF/*"); exclude("temp/META-INF/*");
zip("temp/h2classes.zip", "temp", files, true, true); zip("temp/h2classes.zip", files, "temp", true, true);
manifest("org.h2.tools.Console\nClass-Path: h2classes.zip"); manifest("org.h2.tools.Console\nClass-Path: h2classes.zip");
files = getFiles("temp/h2classes.zip"); files = getFiles("temp/h2classes.zip");
files.addAll(getFiles("temp/META-INF")); files.addAll(getFiles("temp/META-INF"));
jar("bin/h2small.jar", "temp", files); jar("bin/h2small.jar", files, "temp");
} }
public void download() { public void download() {
...@@ -135,7 +134,7 @@ public class Build extends BuildBase { ...@@ -135,7 +134,7 @@ public class Build extends BuildBase {
+ "ext/lucene-core-2.2.0.jar" + File.pathSeparator + System.getProperty("java.home") + "ext/lucene-core-2.2.0.jar" + File.pathSeparator + System.getProperty("java.home")
+ "/../lib/tools.jar"; + "/../lib/tools.jar";
List files = getFiles("src/main"); FileList files = getFiles("src/main");
if (debugInfo) { if (debugInfo) {
javac(new String[] { "-d", "temp", "-sourcepath", "src/main", "-classpath", classpath }, files); javac(new String[] { "-d", "temp", "-sourcepath", "src/main", "-classpath", classpath }, files);
} else { } else {
...@@ -150,14 +149,13 @@ public class Build extends BuildBase { ...@@ -150,14 +149,13 @@ public class Build extends BuildBase {
files = getFiles("src/main/META-INF/services"); files = getFiles("src/main/META-INF/services");
copy("temp", files, "src/main"); copy("temp", files, "src/main");
files = getFiles("src/installer"); files = getFiles("src/installer").keep("*.bat");
files = filterFiles(files, true, "*.bat"); files.addAll(getFiles("src/installer").keep("*.sh"));
files = filterFiles(files, true, "*.sh");
copy("temp", files, "src/installer"); copy("temp", files, "src/installer");
files = getFiles("src/test"); files = getFiles("src/test").
files = filterFiles(files, false, "*.java"); exclude("*.java").
files = filterFiles(files, false, "*/package.html"); exclude("*/package.html");
copy("temp", files, "src/test"); copy("temp", files, "src/test");
} }
......
...@@ -42,8 +42,47 @@ import java.util.zip.ZipOutputStream; ...@@ -42,8 +42,47 @@ import java.util.zip.ZipOutputStream;
*/ */
public class BuildBase { public class BuildBase {
/**
* A list of files.
*/
public static class FileList extends ArrayList implements List {
private static final long serialVersionUID = -3241001695597802578L;
/**
* Remove the files that match from the list.
* Patterns must start or end with a *.
*
* @param pattern the pattern of the file names to remove
* @return the new file list
*/
public FileList exclude(String pattern) {
return filterFiles(this, false, pattern);
}
/**
* Only keep the files that match.
* Patterns must start or end with a *.
*
* @param pattern the pattern of the file names to keep
* @return the new file list
*/
public FileList keep(String pattern) {
return filterFiles(this, true, pattern);
}
};
/**
* The output stream (System.out).
*/
protected PrintStream out = System.out; protected PrintStream out = System.out;
/**
* This method should be called by the main method.
*
* @param args the command line parameters
*/
protected void run(String[] args) { protected void run(String[] args) {
long time = System.currentTimeMillis(); long time = System.currentTimeMillis();
if (args.length == 0) { if (args.length == 0) {
...@@ -78,10 +117,19 @@ public class BuildBase { ...@@ -78,10 +117,19 @@ public class BuildBase {
} }
} }
/**
* This method is called if no other target is specified in the command line.
* The default behavior is to call projectHelp().
* Override this method if you want another default behavior.
*/
protected void all() { protected void all() {
projectHelp(); projectHelp();
} }
/**
* Lists all targets (all public methods non-static methods without
* parameters).
*/
protected void projectHelp() { protected void projectHelp() {
Method[] methods = getClass().getDeclaredMethods(); Method[] methods = getClass().getDeclaredMethods();
out.println("Targets:"); out.println("Targets:");
...@@ -121,6 +169,13 @@ public class BuildBase { ...@@ -121,6 +169,13 @@ public class BuildBase {
} }
} }
/**
* Read a final static field in a class using reflection.
*
* @param className the name of the class
* @param fieldName the field name
* @return the value as a string
*/
protected String getStaticField(String className, String fieldName) { protected String getStaticField(String className, String fieldName) {
try { try {
Class clazz = Class.forName(className); Class clazz = Class.forName(className);
...@@ -131,6 +186,13 @@ public class BuildBase { ...@@ -131,6 +186,13 @@ public class BuildBase {
} }
} }
/**
* Copy files to the specified target directory.
*
* @param targetDir the target directory
* @param files the list of files to copy
* @param baseDir the base directory
*/
protected void copy(String targetDir, List files, String baseDir) { protected void copy(String targetDir, List files, String baseDir) {
File target = new File(targetDir); File target = new File(targetDir);
File base = new File(baseDir); File base = new File(baseDir);
...@@ -145,6 +207,11 @@ public class BuildBase { ...@@ -145,6 +207,11 @@ public class BuildBase {
} }
} }
/**
* Run a Javadoc task.
*
* @param args the command line arguments to pass
*/
protected void javadoc(String[] args) { protected void javadoc(String[] args) {
int result; int result;
try { try {
...@@ -180,6 +247,15 @@ public class BuildBase { ...@@ -180,6 +247,15 @@ public class BuildBase {
} }
} }
/**
* Download a file if it does not yet exist.
* If no checksum is used (that is, if the parameter is null), the
* checksum is printed. For security, checksums should always be used.
*
* @param target the target file name
* @param fileURL the source url of the file
* @param sha1Checksum the SHA-1 checksum or null
*/
protected void download(String target, String fileURL, String sha1Checksum) { protected void download(String target, String fileURL, String sha1Checksum) {
File targetFile = new File(target); File targetFile = new File(target);
if (targetFile.exists()) { if (targetFile.exists()) {
...@@ -223,9 +299,15 @@ public class BuildBase { ...@@ -223,9 +299,15 @@ public class BuildBase {
writeFile(targetFile, data); writeFile(targetFile, data);
} }
protected List getFiles(String path) { /**
ArrayList list = new ArrayList(); * Get the list of files in the given directory and all subdirectories.
addFiles(list, new File(path)); *
* @param dir the source directory
* @return the file list
*/
protected FileList getFiles(String dir) {
FileList list = new FileList();
addFiles(list, new File(dir));
return list; return list;
} }
...@@ -241,24 +323,24 @@ public class BuildBase { ...@@ -241,24 +323,24 @@ public class BuildBase {
} }
} }
protected List filterFiles(List files, boolean keep, String mask) { private static FileList filterFiles(FileList files, boolean keep, String pattern) {
boolean start = false; boolean start = false;
if (mask.endsWith("*")) { if (pattern.endsWith("*")) {
mask = mask.substring(0, mask.length() - 1); pattern = pattern.substring(0, pattern.length() - 1);
start = true; start = true;
} else if (mask.startsWith("*")) { } else if (pattern.startsWith("*")) {
mask = mask.substring(1); pattern = pattern.substring(1);
} }
if (mask.indexOf('*') >= 0) { if (pattern.indexOf('*') >= 0) {
throw new Error("Unsupported mask, may only start or end with *:" + mask); throw new Error("Unsupported pattern, may only start or end with *:" + pattern);
} }
// normalize / and \ // normalize / and \
mask = new File(mask).getPath(); pattern = new File(pattern).getPath();
ArrayList list = new ArrayList(); FileList list = new FileList();
for (int i = 0; i < files.size(); i++) { for (int i = 0; i < files.size(); i++) {
File f = (File) files.get(i); File f = (File) files.get(i);
String path = f.getPath(); String path = f.getPath();
boolean match = start ? path.startsWith(mask) : path.endsWith(mask); boolean match = start ? path.startsWith(pattern) : path.endsWith(pattern);
if (match == keep) { if (match == keep) {
list.add(f); list.add(f);
} }
...@@ -277,16 +359,29 @@ public class BuildBase { ...@@ -277,16 +359,29 @@ public class BuildBase {
return path; return path;
} }
/**
* Create or overwrite a file.
*
* @param file the file
* @param data the data to write
*/
public static void writeFile(File file, byte[] data) { public static void writeFile(File file, byte[] data) {
try { try {
RandomAccessFile ra = new RandomAccessFile(file, "rw"); RandomAccessFile ra = new RandomAccessFile(file, "rw");
ra.write(data); ra.write(data);
ra.setLength(data.length);
ra.close(); ra.close();
} catch (IOException e) { } catch (IOException e) {
throw new Error("Error writing to file " + file, e); throw new Error("Error writing to file " + file, e);
} }
} }
/**
* Read a file. The maximum file size is Integer.MAX_VALUE.
*
* @param file the file
* @return the data
*/
public static byte[] readFile(File file) { public static byte[] readFile(File file) {
try { try {
RandomAccessFile ra = new RandomAccessFile(file, "r"); RandomAccessFile ra = new RandomAccessFile(file, "r");
...@@ -308,17 +403,33 @@ public class BuildBase { ...@@ -308,17 +403,33 @@ public class BuildBase {
return idx < 0 ? "" : fileName.substring(idx); return idx < 0 ? "" : fileName.substring(idx);
} }
protected void jar(String destFile, String basePath, List files) { /**
* Create a jar file.
*
* @param destFile the target file name
* @param files the file list
* @param basePath the base path
*/
protected void jar(String destFile, List files, String basePath) {
out.println("Jar " + destFile); out.println("Jar " + destFile);
zipOrJar(destFile, basePath, files, false, false, true); zipOrJar(destFile, files, basePath, false, false, true);
} }
protected void zip(String destFile, String basePath, List files, boolean storeOnly, boolean sortBySuffix) { /**
* Create a zip file.
*
* @param destFile the target file name
* @param files the file list
* @param basePath the base path
* @param if the files should not be compressed
* @param if the file should be sorted by the file suffix
*/
protected void zip(String destFile, List files, String basePath, boolean storeOnly, boolean sortBySuffix) {
out.println("Zip " + destFile); out.println("Zip " + destFile);
zipOrJar(destFile, basePath, files, storeOnly, sortBySuffix, false); zipOrJar(destFile, files, basePath, storeOnly, sortBySuffix, false);
} }
protected void zipOrJar(String destFile, String basePath, List files, boolean storeOnly, boolean sortBySuffix, boolean jar) { private void zipOrJar(String destFile, List files, String basePath, boolean storeOnly, boolean sortBySuffix, boolean jar) {
if (sortBySuffix) { if (sortBySuffix) {
// for better compressibility, sort by suffix, then name // for better compressibility, sort by suffix, then name
Collections.sort(files, new Comparator() { Collections.sort(files, new Comparator() {
...@@ -369,6 +480,11 @@ public class BuildBase { ...@@ -369,6 +480,11 @@ public class BuildBase {
} }
} }
/**
* Get the current java specification version (for example, 1.4).
*
* @return the java specification version
*/
protected String getJavaSpecVersion() { protected String getJavaSpecVersion() {
return System.getProperty("java.specification.version"); return System.getProperty("java.specification.version");
} }
...@@ -381,7 +497,13 @@ public class BuildBase { ...@@ -381,7 +497,13 @@ public class BuildBase {
return list; return list;
} }
protected void javac(String[] args, List files) { /**
* Compile the files.
*
* @param args the command line parameters
* @param files the file list
*/
protected void javac(String[] args, FileList files) {
out.println("Compiling " + files.size() + " classes"); out.println("Compiling " + files.size() + " classes");
ArrayList argList = new ArrayList(Arrays.asList(args)); ArrayList argList = new ArrayList(Arrays.asList(args));
argList.addAll(getPaths(filterFiles(files, true, ".java"))); argList.addAll(getPaths(filterFiles(files, true, ".java")));
...@@ -402,6 +524,12 @@ public class BuildBase { ...@@ -402,6 +524,12 @@ public class BuildBase {
} }
} }
/**
* Call the main method of the given Java class using reflection.
*
* @param className the class name
* @param args the command line parameters to pass
*/
protected void java(String className, String[] args) { protected void java(String className, String[] args) {
out.println("Running " + className); out.println("Running " + className);
if (args == null) { if (args == null) {
...@@ -415,6 +543,11 @@ public class BuildBase { ...@@ -415,6 +543,11 @@ public class BuildBase {
} }
} }
/**
* Create the directory including the parent directories if they don't exist.
*
* @param dir the directory to create
*/
protected void mkdir(String dir) { protected void mkdir(String dir) {
File f = new File(dir); File f = new File(dir);
if (f.exists()) { if (f.exists()) {
...@@ -428,9 +561,14 @@ public class BuildBase { ...@@ -428,9 +561,14 @@ public class BuildBase {
} }
} }
protected void delete(String path) { /**
out.println("Deleting " + path); * Delete all files in the given directory and all subdirectories.
delete(new File(path)); *
* @param dir the name of the directory
*/
protected void delete(String dir) {
out.println("Deleting " + dir);
delete(new File(dir));
} }
private void delete(File f) { private void delete(File f) {
...@@ -447,6 +585,14 @@ public class BuildBase { ...@@ -447,6 +585,14 @@ public class BuildBase {
} }
} }
/**
* Replace each substring in a given string. Regular expression is not used.
*
* @param s the original text
* @param before the old substring
* @param after the new substring
* @return the string with the string replaced
*/
protected String replaceAll(String s, String before, String after) { protected String replaceAll(String s, String before, String after) {
int index = 0; int index = 0;
while (true) { while (true) {
......
...@@ -32,8 +32,8 @@ public class CheckTextFiles { ...@@ -32,8 +32,8 @@ public class CheckTextFiles {
boolean autoFix = true; boolean autoFix = true;
boolean useCRLF = true; boolean useCRLF = true;
// must contain "+" otherwise this here counts as well // must contain "+" otherwise this here counts as well
String copyrightLicense = "Copyright 2004-2008 H2 Group. " + static final String COPYRIGHT = "Copyright 2004-2008 " + "H2 Group.";
"Multiple-Licensed under the H2 License,"; static final String LICENSE = "Multiple-Licensed " + "under the H2 License";
String[] suffixIgnoreLicense = new String[] { "bat", "nsi", "txt", "properties", "xml", "java.sql.Driver", "task", "sh" }; String[] suffixIgnoreLicense = new String[] { "bat", "nsi", "txt", "properties", "xml", "java.sql.Driver", "task", "sh" };
boolean hasError; boolean hasError;
...@@ -106,10 +106,13 @@ public class CheckTextFiles { ...@@ -106,10 +106,13 @@ public class CheckTextFiles {
in.readFully(data); in.readFully(data);
in.close(); in.close();
if (checkLicense) { if (checkLicense) {
if (data.length > copyrightLicense.length()) { if (data.length > COPYRIGHT.length() + LICENSE.length()) {
// don't check tiny files // don't check tiny files
String text = new String(data); String text = new String(data);
if (text.indexOf(copyrightLicense) < 0) { if (text.indexOf(COPYRIGHT) < 0) {
fail(file, "copyright is missing", 0);
}
if (text.indexOf(LICENSE) < 0) {
fail(file, "license is missing", 0); fail(file, "license is missing", 0);
} }
if (text.indexOf("// " + "##") > 0) { if (text.indexOf("// " + "##") > 0) {
......
...@@ -495,4 +495,14 @@ compressibility ext crc enumerate components mkdir jant downloading mismatch ...@@ -495,4 +495,14 @@ compressibility ext crc enumerate components mkdir jant downloading mismatch
timebomb thinks technotes chmod overloading javase flux solves fastest timebomb thinks technotes chmod overloading javase flux solves fastest
quickstarter bridge bpm trust guides improvements customizing easiest quickstarter bridge bpm trust guides improvements customizing easiest
workflow seque npl netstat ano spellcheck eplfaq opensource zdnet burnette workflow seque npl netstat ano spellcheck eplfaq opensource zdnet burnette
regard epl huge chao derek nls regard epl huge chao derek nls lawsuits counterclaim participate assurances
\ No newline at end of file cooperate indemnified disclaims practicable cease solely receives partners
exchange agrees inconsistency customarily reproduction arose noncompliance
serve contributions publicly facilitate implication jury acceptance revisions
accompanying bring unavailability iii appropriateness originate laws stated
although sole accordance filed originates responsibilities alleged defend
material hereto equipment copyrighted enforceability excludes licensees
estoppel manner reserves defense complies suitable identify infringe
originator brought contribution effectively assumes waives conjunction
informs negotiations collectively omissions trial nor qualify steward neither
worldwide everyone additions expense lawsuit checksums jazoon
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论