提交 36e4a4ce authored 作者: Thomas Mueller's avatar Thomas Mueller

--no commit message

--no commit message
上级 f189c5e1
......@@ -509,7 +509,7 @@ Convert the H2 Console to an .exe file using: <code>ikvmc -target:winexe h2.jar<
Create a .dll file using (change the version accordingly): <code>ikvmc.exe -target:library -version:1.0.68.0 h2.jar</code>
@advanced_1170_p
If you want your C# application use H2, you need to add the h2.dll and the IKVM.OpenJDK.ClassLibrary.dll to your C# solution. See also the short <a href="http://groups.google.com/group/h2-database/browse_thread/thread/400bc5a9bc9de3fd">C# source code example</a> .
If you want your C# application use H2, you need to add the h2.dll and the IKVM.OpenJDK.ClassLibrary.dll to your C# solution. Here some sample code:
@advanced_1171_h2
ACID
......@@ -989,795 +989,801 @@ Change Log
Next Version (unreleased)
@changelog_1002_li
.
@changelog_1003_h2
Version 1.0.68 (2008-03-18)
@changelog_1004_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_1003_li
@changelog_1005_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_1004_li
@changelog_1006_li
Unused LOB files were deleted much too late. Now they are deleted if no longer referenced in memory.
@changelog_1005_li
@changelog_1007_li
ALTER SEQUENCE and ALTER TABLE ALTER COLUMN RESTART can now be used inside a transaction.
@changelog_1006_li
@changelog_1008_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_1007_li
@changelog_1009_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_1008_li
@changelog_1010_li
Improved performance when using lob files in directories (however this is still disabled by default)
@changelog_1009_li
@changelog_1011_li
H2 Console: autocomplete didn't work with very large scripts. Fixed.
@changelog_1010_li
@changelog_1012_li
Fulltext search: new method SEARCH_DATA that returns the column names and primary keys as arrays.
@changelog_1011_li
@changelog_1013_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_1012_li
@changelog_1014_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_1013_li
@changelog_1015_li
H2 Console: remote connections were very slow because getHostName/getRemoteHost was used. Fixed (now using getHostAddress/getRemoteAddr.
@changelog_1014_li
@changelog_1016_li
H2 Console: on Linux, Firefox, Konqueror, or Opera (in this order) are now started if available. This has been tested on Ubuntu.
@changelog_1015_li
@changelog_1017_li
H2 Console: the start window works better with IKVM
@changelog_1016_li
@changelog_1018_li
H2 Console: improved compatibility with Safari (Safari requires keep-alive)
@changelog_1017_li
@changelog_1019_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_1018_li
@changelog_1020_li
SELECT UNION with a different number of ORDER BY columns did throw an ArrayIndexOutOfBoundsException.
@changelog_1019_li
@changelog_1021_li
When using a view, the column precision was changed to the default scale for some data types.
@changelog_1020_li
@changelog_1022_li
CSVWRITE now supports a 'null string' that is used for parsing and writing NULL.
@changelog_1021_li
@changelog_1023_li
Some long running queries could not be cancelled.
@changelog_1022_li
@changelog_1024_li
Queries with many outer join tables were very slow. Fixed.
@changelog_1023_li
@changelog_1025_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_1024_li
@changelog_1026_li
UPDATE SET column=DEFAULT is now supported.
@changelog_1025_h2
@changelog_1027_h2
Version 1.0.67 (2008-02-22)
@changelog_1026_li
@changelog_1028_li
New function FILE_READ to read a file or from an URL. Both binary and text data is supported.
@changelog_1027_li
@changelog_1029_li
CREATE TABLE AS SELECT now supports specifying the column list and data types.
@changelog_1028_li
@changelog_1030_li
Connecting to a TCP server and at shutting it down at the same time could cause a Java level deadlock.
@changelog_1029_li
@changelog_1031_li
A user now has all rights on his own local temporary tables.
@changelog_1030_li
@changelog_1032_li
The CSV tool now supports a custom lineSeparator.
@changelog_1031_li
@changelog_1033_li
When using multiple connections, empty space was reused too early sometimes. This could corrupt the database when recovering.
@changelog_1032_li
@changelog_1034_li
The H2 Console has been translated to Dutch. Thanks a lot to Remco Schoen!
@changelog_1033_li
@changelog_1035_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_1034_li
@changelog_1036_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_1035_li
@changelog_1037_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_1036_li
@changelog_1038_li
The value cache is now a soft reference cache. This should help save memory.
@changelog_1037_li
@changelog_1039_li
CREATE INDEX on a table with many rows could run out of memory. Fixed.
@changelog_1038_li
@changelog_1040_li
Large result sets are now a bit faster.
@changelog_1039_li
@changelog_1041_li
ALTER TABLE ALTER COLUMN RESTART and ALTER SEQUENCE now support parameters (any expressions).
@changelog_1040_li
@changelog_1042_li
When setting the base directory on the command line, the user directory prefix ('~') was ignored.
@changelog_1041_li
@changelog_1043_li
The DbStarter servlet didn't start the TCP listener even if configured.
@changelog_1042_li
@changelog_1044_li
Statement.setQueryTimeout() is now supported.
@changelog_1043_li
@changelog_1045_li
New session setting QUERY_TIMEOUT, and new system property h2.maxQueryTimeout.
@changelog_1044_li
@changelog_1046_li
Changing the transaction log level (SET LOG) is now written to the trace file by default.
@changelog_1045_li
@changelog_1047_li
In a SQL script, primary key constraints are now ordered before foreign key constraints.
@changelog_1046_li
@changelog_1048_li
It was not possible to create a referential constraint to a table in a different schema in some situations.
@changelog_1047_li
@changelog_1049_li
The H2 Console was slow when the database contains many tables. Now the column names are not shown in this case.
@changelog_1048_h2
@changelog_1050_h2
Version 1.0.66 (2008-02-02)
@changelog_1049_li
@changelog_1051_li
There is a new online error analyzer tool.
@changelog_1050_li
@changelog_1052_li
H2 Console: stack traces are now links to the source code in the source repository (H2 database only).
@changelog_1051_li
@changelog_1053_li
CHAR data type equals comparison was case insensitive instead of case sensitive.
@changelog_1052_li
@changelog_1054_li
The exception 'Value too long for column' now includes the data.
@changelog_1053_li
@changelog_1055_li
The table name was missing in the documentation of CREATE INDEX.
@changelog_1054_li
@changelog_1056_li
Better support for IKVM (www.ikvm.net): the H2 Console now opens a browser window.
@changelog_1055_li
@changelog_1057_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_1056_li
@changelog_1058_li
The exception "Hexadecimal string contains non-hex character" was not always thrown when it should have been. Fixed.
@changelog_1057_li
@changelog_1059_li
The H2 Console now provides a link to the documentation when an error occurs (H2 databases only so far).
@changelog_1058_li
@changelog_1060_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_1059_li
@changelog_1061_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_1060_li
@changelog_1062_li
For compatibility with other databases the column default (COLUMN_DEF) for columns without default is now null (it was an empty string).
@changelog_1061_li
@changelog_1063_li
Statements that contain very large subqueries (where the subquery result does not fit in memory) are now faster.
@changelog_1062_li
@changelog_1064_li
Variables: large objects (CLOB and BLOB) that don't fit in memory did not work correctly when used as variables.
@changelog_1063_li
@changelog_1065_li
Fulltext search is now supported in named in-memory databases.
@changelog_1064_li
@changelog_1066_li
H2 Console: multiple consecutive spaces in the setting name did not work. Fixed.
@changelog_1065_h2
@changelog_1067_h2
Version 1.0.65 (2008-01-18)
@changelog_1066_li
@changelog_1068_li
The build (ant) now automatically switches the source code to the correct version (JDK 1.4/1.5 or 1.6).
@changelog_1067_li
@changelog_1069_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_1068_li
@changelog_1070_li
The performance for DROP and DROP ALL OBJECTS has been improved.
@changelog_1069_li
@changelog_1071_li
The ChangePassword API has been improved.
@changelog_1070_li
@changelog_1072_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_1071_li
@changelog_1073_li
The Ukrainian translation has been improved.
@changelog_1072_li
@changelog_1074_li
CALL statements can now be used in batch updates and called using Statement.executeUpdate.
@changelog_1073_li
@changelog_1075_li
New read-only setting CREATE_BUILD (the build number of the database engine that created the database).
@changelog_1074_li
@changelog_1076_li
The optimizer did not use multi column indexes for range queries in some cases. Fixed.
@changelog_1075_li
@changelog_1077_li
The H2 Console now calls DataSource.getConnection() instead of DataSource.getConnection(user, password) when user name and password are not specified.
@changelog_1076_li
@changelog_1078_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_1077_li
@changelog_1079_li
Batch update: Calling BatchUpdateException.printStackTrace() could result in out of memory. Fixed.
@changelog_1078_li
@changelog_1080_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_1079_li
@changelog_1081_li
The performance for large result sets in the server mode has been improved.
@changelog_1080_li
@changelog_1082_li
The setting h2.serverSmallResultSetSize has been renamed to h2.serverResultSetFetchSize.
@changelog_1081_li
@changelog_1083_li
The SCRIPT command now uses multi-row insert statements to save space except if the option SIMPLE is used.
@changelog_1082_li
@changelog_1084_li
The SCRIPT command did not split up CLOB data correctly. Fixed.
@changelog_1083_li
@changelog_1085_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_1084_li
@changelog_1086_li
DROP ALL OBJECTS did not drop user defined aggregate functions and domains.
@changelog_1085_li
@changelog_1087_li
PostgreSQL compatibility: COUNT(T.*) is now supported.
@changelog_1086_li
@changelog_1088_li
LIKE comparisons are now faster.
@changelog_1087_li
@changelog_1089_li
Encrypted databases are now faster.
@changelog_1088_h2
@changelog_1090_h2
Version 1.0.64 (2007-12-27)
@changelog_1089_li
@changelog_1091_li
3-way union queries with prepared statement or views could return the wrong results. Fixed.
@changelog_1090_li
@changelog_1092_li
The PostgreSQL ODBC driver did not work in the last release due to a parser regression. Fixed.
@changelog_1091_li
@changelog_1093_li
CSV tool: some escape/separator character combinations did not work. Fixed.
@changelog_1092_li
@changelog_1094_li
CSV tool: the character # could not be used as a separator when reading.
@changelog_1093_li
@changelog_1095_li
Recovery: when the index file is corrupt, now the database deletes it and re-creates it automatically.
@changelog_1094_li
@changelog_1096_li
The MVCC mode did not work well with in-memory databases. Fixed.
@changelog_1095_li
@changelog_1097_li
The FTP server now supports a event listener. Thanks Fulvio Biondi for the help!
@changelog_1096_li
@changelog_1098_li
New system function CANCEL_SESSION to cancel the currently executing statement of another session.
@changelog_1097_li
@changelog_1099_li
The database now supports an exclusive mode. In exclusive mode, new connections are rejected.
@changelog_1098_li
@changelog_1100_li
H2 Console: when editing result sets, columns can now be set to null. The text 'null' must be escaped using '=null'.
@changelog_1099_li
@changelog_1101_li
New built-in functions RPAD and LPAD.
@changelog_1100_li
@changelog_1102_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_1101_li
@changelog_1103_li
The Ukrainian translation was not working in the last release. Fixed.
@changelog_1102_li
@changelog_1104_li
Creating many tables (many hundreds) was slow. Fixed.
@changelog_1103_li
@changelog_1105_li
Opening a database with many indexes (thousands) was slow. Fixed.
@changelog_1104_li
@changelog_1106_li
H2 Console / autocomplete: Ctrl+Space now shows the list in all modes.
@changelog_1105_li
@changelog_1107_li
The method Trigger.init has been changed: the parameters 'before' and 'type', have been added to the init method.
@changelog_1106_li
@changelog_1108_li
The performance has been improved for ResultSet methods with column name.
@changelog_1107_li
@changelog_1109_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_1108_li
@changelog_1110_li
The H2 Console has been translated to Turkish. Thanks a lot to Ridvan Agar!
@changelog_1109_li
@changelog_1111_li
Improved debugging support: toString methods of most object now return a meaningful text.
@changelog_1110_li
@changelog_1112_li
The classes DbStarter and WebServlet have been moved to src/main.
@changelog_1111_li
@changelog_1113_li
The column INFORMATION_SCHEMA.TRIGGERS.SQL now contains the CREATE TRIGGER statement.
@changelog_1112_li
@changelog_1114_li
Loading classes and calling methods can be restricted using the new system property h2.allowedClasses.
@changelog_1113_li
@changelog_1115_li
The database could not be used in Java applets due to security exceptions. Fixed.
@changelog_1114_h2
@changelog_1116_h2
Version 1.0.63 (2007-12-02)
@changelog_1115_li
@changelog_1117_li
The SecurePassword example has been improved.
@changelog_1116_li
@changelog_1118_li
In timezones 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_1117_li
@changelog_1119_li
The native fulltext search was not working properly after re-connecting.
@changelog_1118_li
@changelog_1120_li
Improved FTP server: now the PORT command is supported.
@changelog_1119_li
@changelog_1121_li
Temporary views (FROM(...)) with UNION didn't work if nested. Fixed.
@changelog_1120_li
@changelog_1122_li
Performance optimization for IN(...) and IN(SELECT...), currently disabled by default. To enable, use java -Dh2.optimizeInJoin=true
@changelog_1121_li
@changelog_1123_li
The H2 Console has been translated to Ukrainian by Igor Dobrovolskyi. Thanks a lot!
@changelog_1122_li
@changelog_1124_li
New function TABLE_DISTINCT.
@changelog_1123_li
@changelog_1125_li
Using LIMIT with values close to Integer.MAX_VALUE didn't work correctly.
@changelog_1124_li
@changelog_1126_li
Certain setting in the Server didn't work (http://code.google.com/p/h2database/issues/detail?id=7).
@changelog_1125_h2
@changelog_1127_h2
Version 1.0.62 (2007-11-25)
@changelog_1126_li
@changelog_1128_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_1127_li
@changelog_1129_li
MVCC: now an exception is thrown when an application tries to change the MVCC setting while the database is already open.
@changelog_1128_li
@changelog_1130_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_1129_li
@changelog_1131_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_1130_li
@changelog_1132_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_1131_li
@changelog_1133_li
Duplicate column names were not detected when renaming columns. Fixed.
@changelog_1132_li
@changelog_1134_li
The console did not display multiple embedded spaces in text correctly. Fixed.
@changelog_1133_li
@changelog_1135_li
Google Android support: use 'ant codeswitchAndroid' to switch the source code to Android.
@changelog_1134_li
@changelog_1136_li
Values of type ARRAY are now sorted as in PostgreSQL.
@changelog_1135_li
@changelog_1137_li
In the cluster mode, could not connect if only one server was running (last release only). Fixed.
@changelog_1136_li
@changelog_1138_li
The performance of large CSV operations has been improved.
@changelog_1137_li
@changelog_1139_li
Now using custom toString() for most JDBC objects and commands.
@changelog_1138_li
@changelog_1140_li
Nested temporary views (SELECT * FROM (SELECT ...)) with parameters didn't work in some cases. Fixed.
@changelog_1139_li
@changelog_1141_li
CSV: Using an empty field delimiter didn't work (a workaround was using char(0)). Fixed.
@changelog_1140_li
@changelog_1142_li
A patch for Apache DDL Utils is available at https://issues.apache.org/jira/browse/DDLUTILS-185
@changelog_1141_li
@changelog_1143_li
The default value for h2.emergencySpaceInitial is now 256 KB (to speed up creating encrypted databases)
@changelog_1142_li
@changelog_1144_li
Eduardo Velasques has translated the H2 Console and the error messages to Brazilian Portuguese. Thanks a lot!
@changelog_1143_li
@changelog_1145_li
Creating a table from GROUP_CONCAT didn't work if the data was longer than 255 characters
@changelog_1144_h2
@changelog_1146_h2
Version 1.0.61 (2007-11-10)
@changelog_1145_li
@changelog_1147_li
The Lucene Fulltext implementation is now compiled and included in the h2.jar. Requires Lucene 2.2.
@changelog_1146_li
@changelog_1148_li
Added more tests. The code coverage is now at 83%.
@changelog_1147_li
@changelog_1149_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_1148_li
@changelog_1150_li
The MODE used to be a global setting, now it is a database level setting.
@changelog_1149_li
@changelog_1151_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_1150_li
@changelog_1152_li
Math operations using unknown data types (for example -? and ?+?) are now interpreted as decimal.
@changelog_1151_li
@changelog_1153_li
INSTR, LOCATE: backward searching is not supported by using a negative start position.
@changelog_1152_li
@changelog_1154_li
Can now open a database stored in a jar or zip file (for example, jdbc:h2:zip:c:/temp/h2.zip!/test).
@changelog_1153_li
@changelog_1155_li
Files access now uses an API (FileSystem, FileObject), this will simplify adding other file systems and features (for example replication).
@changelog_1154_li
@changelog_1156_li
Vlad Alexahin has translated H2 Console to Russian. Thanks a lot!
@changelog_1155_li
@changelog_1157_li
Descending indexes are now supported. This is useful when sorting columns descending, for example by creation date.
@changelog_1156_li
@changelog_1158_li
Solved a Java level deadlock in the DatabaseCloser.
@changelog_1157_li
@changelog_1159_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_1158_li
@changelog_1160_li
MVCC: The system property h2.mvcc has been removed. A few bugs have been fixed, and new tests have been added.
@changelog_1159_h2
@changelog_1161_h2
Version 1.0.60 (2007-10-20)
@changelog_1160_li
@changelog_1162_li
JdbcXAConnection: starting a transaction before getting the connection didn't switch off autocommit.
@changelog_1161_li
@changelog_1163_li
User defined aggregate functions are not supported.
@changelog_1162_li
@changelog_1164_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_1163_li
@changelog_1165_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_1164_li
@changelog_1166_li
Linked tables: now tables in non-default schemas are supported as well
@changelog_1165_li
@changelog_1167_li
New Italian translation from PierPaolo Ucchino. Thanks a lot!
@changelog_1166_li
@changelog_1168_li
CSV: New methods to set the escape character and field delimiter in the Csv tool and the CSVWRITE and CSVREAD methods.
@changelog_1167_li
@changelog_1169_li
Prepared statements could not be used after data definition statements (creating tables and so on). Fixed.
@changelog_1168_li
@changelog_1170_li
PreparedStatement.setMaxRows could not be changed to a higher value after the statement was executed.
@changelog_1169_li
@changelog_1171_li
The H2 Console could not connect twice to the same H2 embedded database at the same time. Fixed.
@changelog_1170_li
@changelog_1172_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_1171_h2
@changelog_1173_h2
Version 1.0.59 (2007-10-03)
@changelog_1172_li
@changelog_1174_li
When the data type was unknown in a subquery, sometimes the wrong exception (ArrayIndexOutOfBounds) was thrown. Fixed.
@changelog_1173_li
@changelog_1175_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_1174_li
@changelog_1176_li
Multi-threaded kernel (MULTI_THREADED=1): A synchronization problem has been fixed.
@changelog_1175_li
@changelog_1177_li
A PreparedStatement that was cancelled could not be reused. Fixed.
@changelog_1176_li
@changelog_1178_li
H2 Console: Progress information when logging into a H2 embedded database (useful when opening a database is slow).
@changelog_1177_li
@changelog_1179_li
When the database was closed while logging was disabled (LOG 0), re-opening the database was slow. Fixed.
@changelog_1178_li
@changelog_1180_li
Fulltext search is now documented (in the Tutorial).
@changelog_1179_li
@changelog_1181_li
The Console did not refresh the table list if the CREATE TABLE statement started with a comment. Fixed.
@changelog_1180_li
@changelog_1182_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_1181_li
@changelog_1183_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_1182_li
@changelog_1184_li
REGEXP compatibility: So far String.matches was used, but for compatibility with MySQL, now Matcher.find is used.
@changelog_1183_li
@changelog_1185_li
SCRIPT: the SQL statements in the result set now include the terminating semicolon as well. Simplifies copy and paste.
@changelog_1184_li
@changelog_1186_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_1185_li
@changelog_1187_li
Views with subqueries as tables and queries with nested subqueries as tables did not always work. Fixed.
@changelog_1186_li
@changelog_1188_li
Compatibility: comparing columns with constants that are out of range does not throw an exception.
@changelog_1187_h2
@changelog_1189_h2
Version 1.0.58 (2007-09-15)
@changelog_1188_li
@changelog_1190_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_1189_li
@changelog_1191_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_1190_li
@changelog_1192_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_1191_li
@changelog_1193_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_1192_li
@changelog_1194_li
When comparing TINYINT or SMALLINT columns against constants, the index was not used. Fixed.
@changelog_1193_li
@changelog_1195_li
Maven 2: new version are now automatically synced with the central repositories.
@changelog_1194_li
@changelog_1196_li
The default value for MAX_MEMORY_UNDO is now 100000.
@changelog_1195_li
@changelog_1197_li
The documentation indexer does no longer index Japanese pages. If somebody knows how to split Japanese into words please post it.
@changelog_1196_li
@changelog_1198_li
Oracle compatibility: SYSDATE now returns a timestamp. CHR(..) is now an alias for CHAR(..).
@changelog_1197_li
@changelog_1199_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_1198_li
@changelog_1200_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_1199_li
@changelog_1201_li
Optimization for COLUMN IN(.., NULL) if the column does not allow NULL values.
@changelog_1200_li
@changelog_1202_li
Using spaces in column and table aliases was not supported when used inside a view or temporary view.
@changelog_1201_li
@changelog_1203_li
The version (build) number is now included in the manifest file.
@changelog_1202_li
@changelog_1204_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_1203_li
@changelog_1205_li
The database file sizes are now increased at most 32 MB at any time.
@changelog_1204_li
@changelog_1206_li
New method DatabaseEventListener.opened that is called just after opening a database.
@changelog_1205_li
@changelog_1207_li
When using the Console with Internet Explorer 6.0 or 7.0, a Javascript error was thrown after clearing the query.
@changelog_1206_li
@changelog_1208_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_1207_li
@changelog_1209_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_1208_li
@changelog_1210_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_1209_li
@changelog_1211_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_1210_li
@changelog_1212_li
For PgServer, character encoding other than UTF-8 did not work correctly. Fixed.
@changelog_1211_li
@changelog_1213_li
Using a function in a GROUP BY expression that is used in a view as a condition did not always work.
@changelog_1212_h2
@changelog_1214_h2
Version 1.0.57 (2007-08-25)
@changelog_1213_li
@changelog_1215_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_1214_li
@changelog_1216_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_1215_li
@changelog_1217_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_1216_li
@changelog_1218_li
Opening large read-only databases was very slow. Fixed.
@changelog_1217_li
@changelog_1219_li
New Japanese translation of the error messages thanks to Ikemoto Masahiro. Thanks a lot!
@changelog_1218_li
@changelog_1220_li
Disabling / enabling referential integrity for a table can now be used inside a transaction.
@changelog_1219_li
@changelog_1221_li
Rights checking for dynamic tables (SELECT * FROM (SELECT ...)) did not work. Fixed.
@changelog_1220_li
@changelog_1222_li
Creating more than 10 views that depend on each other was very slow. Reconnecting was slow as well. Fixed.
@changelog_1221_li
@changelog_1223_li
When used as as Servlet, the H2 Console did not work with SSL (using Tomcat). Fixed.
@changelog_1222_li
@changelog_1224_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_1223_li
@changelog_1225_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_1224_li
@changelog_1226_li
Some unit tests failed on Linux because the file system works differently. The unit tests are fixed and should work now.
@changelog_1225_li
@changelog_1227_li
Can now incrementally translate the documentation. See also FAQ.
@changelog_1226_li
@changelog_1228_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_1227_li
@changelog_1229_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_1228_li
@changelog_1230_li
Google translate did not work for the H2 homepage. It should be fixed now.
@changelog_1229_li
@changelog_1231_li
The CONVERT function did not work with views when using UNION.
@changelog_1230_li
@changelog_1232_li
The build now issues a warning if the source code is switched to the wrong version.
@changelog_1231_li
@changelog_1233_li
The default lock mode is now read committed instead of serialized.
@changelog_1232_li
@changelog_1234_li
PG server: data was truncated when reading large VARCHAR columns and decimal columns.
@changelog_1233_li
@changelog_1235_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_1234_li
@changelog_1236_li
Some file operations didn't work for files in the root directory. Fixed.
@changelog_1235_li
@changelog_1237_li
In the Restore tool, the parameter -file did not work. Fixed.
@changelog_1236_li
@changelog_1238_li
Two-phase commit: commit with transaction name was only supported in the recovery scan. Now it is always supported.
@changelog_1237_li
@changelog_1239_li
The column name C_CURRENT_TIMESTAMP did not work in the last release.
@changelog_1238_li
@changelog_1240_li
OpenOffice compatibility: support database name in column names.
@changelog_1239_h2
@changelog_1241_h2
Version 1.0.56 (2007-08-02)
@changelog_1240_li
@changelog_1242_li
A new tool to help translation has been implemented: src/tools/org/h2/tools/i18n/PrepareTranslation. This tool can detect delta changes in the original (English) and prepends '#' in translation if the original text was changed. It can also extract text from the user documentation (however, it is incomplete).
@changelog_1241_li
@changelog_1243_li
The error messages (src/main/org/h2/res/_*.*) can now be translated.
@changelog_1242_li
@changelog_1244_li
Part of the documentation has been translated to Japanese by Yusuke Fukushima.
@changelog_1243_li
@changelog_1245_li
Some Unicode characters where not supported as identifier name. Thanks Yusuke Fukushima for reporting this problem.
@changelog_1244_li
@changelog_1246_li
The default value DEFAULT_MAX_LENGTH_INPLACE_LOB has been changed from 128 to 1024.
@changelog_1245_li
@changelog_1247_li
A server that implements the PostgreSQL protocol is now included and documented. That means, the PostgreSQL ODBC driver can be used to access a H2 database. See in the documentation for details.
@changelog_1246_li
@changelog_1248_li
The experimental H2 ODBC driver has been removed.
@changelog_1247_li
@changelog_1249_li
The default value for h2.defaultMaxMemoryUndo is now 50000. This avoids out of memory problems when using large transactions, however large transactions are slower because they are buffered to disk. To disable, use -Dh2.defaultMaxMemoryUndo=2000000000.
@changelog_1248_li
@changelog_1250_li
Support for regular expression function REGEXP_REPLACE(expression, regex, replacement) and regular expression LIKE: expression REGEXP matchExpression. However, indexes are not yet used.
@changelog_1249_li
@changelog_1251_li
The old view implementation has been removed.
@changelog_1250_li
@changelog_1252_li
The SysTray tool has been removed, because JDK 1.6 has native support for system tray icons. Use the Console tool (org.h2.tools.Console) automatically installs a system tray icon if JDK 1.6 is used.
@changelog_1251_li
@changelog_1253_li
H2 Console: In the last release, the shutdown button did not work. Fixed.
@changelog_1252_li
@changelog_1254_li
Referential integrity can now be disabled using SET REFERENTIAL_INTEGRITY FALSE. It can also be disable only for one table using ALTER TABLE SET REFERENTIAL_INTEGRITY FALSE.
@changelog_1253_li
@changelog_1255_li
The Backup and Restore tools, and the BACKUP command did not back up LOBs when h2.lobFilesInDirectories was enabled. Fixed.
@changelog_1254_li
@changelog_1256_li
Calculation of cache memory usage has been improved.
@changelog_1255_li
@changelog_1257_li
In some situations record were released too late from the cache. Fixed.
@changelog_1256_li
@changelog_1258_li
The cache size is now measured in KB instead of blocks of 128 byte.
@changelog_1257_li
@changelog_1259_li
CREATE TABLE ... AS SELECT now needs less memory. While inserting the rows, the undo log is temporarily disabled. This avoid out of memory problems when creating large tables.
@changelog_1258_li
@changelog_1260_li
The per session undo log can now be disabled. This setting is useful for bulk operations that don't need to be atomic, like bulk delete or update.
@changelog_1259_li
@changelog_1261_li
The database file could get corrupted when there was an OutOfMemoryException in the middle of inserting a row.
@changelog_1260_li
@changelog_1262_li
Optimization for WHERE NOT(...) and WHERE [NOT] booleanFlagColumn. This can be disabled using the system property h2.optimizeNot.
@changelog_1261_li
@changelog_1263_li
Optimization for conditions like WHERE A=B AND B=X (A=X is added). This often appears in joins. This can be disabled using the system property h2.optimizeTwoEquals.
@changelog_1262_li
@changelog_1264_li
Documentation: the source code in 'Compacting a Database' was incorrect. Fixed.
@changelog_1263_li
@changelog_1265_li
In the H2 Console, result sets could not be modified because the default result set type is now forward only. For H2, now uses scrollable result sets. Also for other databases, but only when the query starts with @EDIT.
@changelog_1264_li
@changelog_1266_li
Views using UNION did not work correctly. Fixed.
@changelog_1265_li
@changelog_1267_li
Function tables did not work with views and EXPLAIN. Fixed.
@download_1000_h1
......@@ -7415,7 +7421,7 @@ When using Java Web Start / JNLP (Java Network Launch Protocol), permissions tag
Using a Connection Pool
@tutorial_1179_p
For many databases, opening a connection is slow, and it is a good idea to use a connection pool to re-use connections. For H2 however opening a connection usually is fast if the database is already open. Using a connection pool manager for H2 actually slows down the process a bit, except if file encryption is used (in this case opening a connection is about half as fast are using a connection pool). A simple connection pool is: <a href="http://www.source-code.biz/snippets/java/8.htm">Mini Connection Pool Manager</a> . There are other, more complex connection pools available, for example <a href="http://jakarta.apache.org/commons/dbcp/">DBCP</a> .
For many databases, opening a connection is slow, and it is a good idea to use a connection pool to re-use connections. For H2 however opening a connection usually is fast if the database is already open. Using a connection pool manager for H2 actually slows down the process a bit, except if file encryption is used (in this case opening a connection is about half as fast as using a connection pool). A simple connection pool manager is included in H2. It is based on the <a href="http://www.source-code.biz/snippets/java/8.htm">Mini Connection Pool Manager</a> from Christian d'Heureuse. There are other, more complex connection pools available, for example <a href="http://jakarta.apache.org/commons/dbcp/">DBCP</a> . The build-in connection pool manager is used as follows:
@tutorial_1180_h2
Fulltext Search
......
......@@ -511,7 +511,7 @@ PGプロトコルサポートの制限
#Create a .dll file using (change the version accordingly): <code>ikvmc.exe -target:library -version:1.0.68.0 h2.jar</code>
@advanced_1170_p
#If you want your C# application use H2, you need to add the h2.dll and the IKVM.OpenJDK.ClassLibrary.dll to your C# solution. See also the short <a href="http://groups.google.com/group/h2-database/browse_thread/thread/400bc5a9bc9de3fd">C# source code example</a> .
#If you want your C# application use H2, you need to add the h2.dll and the IKVM.OpenJDK.ClassLibrary.dll to your C# solution. Here some sample code:
@advanced_1171_h2
ACID
......@@ -991,795 +991,801 @@ Centralリポジトリの利用
#Next Version (unreleased)
@changelog_1002_li
#.
@changelog_1003_h2
#Version 1.0.68 (2008-03-18)
@changelog_1004_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_1003_li
@changelog_1005_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_1004_li
@changelog_1006_li
#Unused LOB files were deleted much too late. Now they are deleted if no longer referenced in memory.
@changelog_1005_li
@changelog_1007_li
#ALTER SEQUENCE and ALTER TABLE ALTER COLUMN RESTART can now be used inside a transaction.
@changelog_1006_li
@changelog_1008_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_1007_li
@changelog_1009_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_1008_li
@changelog_1010_li
#Improved performance when using lob files in directories (however this is still disabled by default)
@changelog_1009_li
@changelog_1011_li
#H2 Console: autocomplete didn't work with very large scripts. Fixed.
@changelog_1010_li
@changelog_1012_li
#Fulltext search: new method SEARCH_DATA that returns the column names and primary keys as arrays.
@changelog_1011_li
@changelog_1013_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_1012_li
@changelog_1014_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_1013_li
@changelog_1015_li
#H2 Console: remote connections were very slow because getHostName/getRemoteHost was used. Fixed (now using getHostAddress/getRemoteAddr.
@changelog_1014_li
@changelog_1016_li
#H2 Console: on Linux, Firefox, Konqueror, or Opera (in this order) are now started if available. This has been tested on Ubuntu.
@changelog_1015_li
@changelog_1017_li
#H2 Console: the start window works better with IKVM
@changelog_1016_li
@changelog_1018_li
#H2 Console: improved compatibility with Safari (Safari requires keep-alive)
@changelog_1017_li
@changelog_1019_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_1018_li
@changelog_1020_li
#SELECT UNION with a different number of ORDER BY columns did throw an ArrayIndexOutOfBoundsException.
@changelog_1019_li
@changelog_1021_li
#When using a view, the column precision was changed to the default scale for some data types.
@changelog_1020_li
@changelog_1022_li
#CSVWRITE now supports a 'null string' that is used for parsing and writing NULL.
@changelog_1021_li
@changelog_1023_li
#Some long running queries could not be cancelled.
@changelog_1022_li
@changelog_1024_li
#Queries with many outer join tables were very slow. Fixed.
@changelog_1023_li
@changelog_1025_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_1024_li
@changelog_1026_li
#UPDATE SET column=DEFAULT is now supported.
@changelog_1025_h2
@changelog_1027_h2
#Version 1.0.67 (2008-02-22)
@changelog_1026_li
@changelog_1028_li
#New function FILE_READ to read a file or from an URL. Both binary and text data is supported.
@changelog_1027_li
@changelog_1029_li
#CREATE TABLE AS SELECT now supports specifying the column list and data types.
@changelog_1028_li
@changelog_1030_li
#Connecting to a TCP server and at shutting it down at the same time could cause a Java level deadlock.
@changelog_1029_li
@changelog_1031_li
#A user now has all rights on his own local temporary tables.
@changelog_1030_li
@changelog_1032_li
#The CSV tool now supports a custom lineSeparator.
@changelog_1031_li
@changelog_1033_li
#When using multiple connections, empty space was reused too early sometimes. This could corrupt the database when recovering.
@changelog_1032_li
@changelog_1034_li
#The H2 Console has been translated to Dutch. Thanks a lot to Remco Schoen!
@changelog_1033_li
@changelog_1035_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_1034_li
@changelog_1036_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_1035_li
@changelog_1037_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_1036_li
@changelog_1038_li
#The value cache is now a soft reference cache. This should help save memory.
@changelog_1037_li
@changelog_1039_li
#CREATE INDEX on a table with many rows could run out of memory. Fixed.
@changelog_1038_li
@changelog_1040_li
#Large result sets are now a bit faster.
@changelog_1039_li
@changelog_1041_li
#ALTER TABLE ALTER COLUMN RESTART and ALTER SEQUENCE now support parameters (any expressions).
@changelog_1040_li
@changelog_1042_li
#When setting the base directory on the command line, the user directory prefix ('~') was ignored.
@changelog_1041_li
@changelog_1043_li
#The DbStarter servlet didn't start the TCP listener even if configured.
@changelog_1042_li
@changelog_1044_li
#Statement.setQueryTimeout() is now supported.
@changelog_1043_li
@changelog_1045_li
#New session setting QUERY_TIMEOUT, and new system property h2.maxQueryTimeout.
@changelog_1044_li
@changelog_1046_li
#Changing the transaction log level (SET LOG) is now written to the trace file by default.
@changelog_1045_li
@changelog_1047_li
#In a SQL script, primary key constraints are now ordered before foreign key constraints.
@changelog_1046_li
@changelog_1048_li
#It was not possible to create a referential constraint to a table in a different schema in some situations.
@changelog_1047_li
@changelog_1049_li
#The H2 Console was slow when the database contains many tables. Now the column names are not shown in this case.
@changelog_1048_h2
@changelog_1050_h2
#Version 1.0.66 (2008-02-02)
@changelog_1049_li
@changelog_1051_li
#There is a new online error analyzer tool.
@changelog_1050_li
@changelog_1052_li
#H2 Console: stack traces are now links to the source code in the source repository (H2 database only).
@changelog_1051_li
@changelog_1053_li
#CHAR data type equals comparison was case insensitive instead of case sensitive.
@changelog_1052_li
@changelog_1054_li
#The exception 'Value too long for column' now includes the data.
@changelog_1053_li
@changelog_1055_li
#The table name was missing in the documentation of CREATE INDEX.
@changelog_1054_li
@changelog_1056_li
#Better support for IKVM (www.ikvm.net): the H2 Console now opens a browser window.
@changelog_1055_li
@changelog_1057_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_1056_li
@changelog_1058_li
#The exception "Hexadecimal string contains non-hex character" was not always thrown when it should have been. Fixed.
@changelog_1057_li
@changelog_1059_li
#The H2 Console now provides a link to the documentation when an error occurs (H2 databases only so far).
@changelog_1058_li
@changelog_1060_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_1059_li
@changelog_1061_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_1060_li
@changelog_1062_li
#For compatibility with other databases the column default (COLUMN_DEF) for columns without default is now null (it was an empty string).
@changelog_1061_li
@changelog_1063_li
#Statements that contain very large subqueries (where the subquery result does not fit in memory) are now faster.
@changelog_1062_li
@changelog_1064_li
#Variables: large objects (CLOB and BLOB) that don't fit in memory did not work correctly when used as variables.
@changelog_1063_li
@changelog_1065_li
#Fulltext search is now supported in named in-memory databases.
@changelog_1064_li
@changelog_1066_li
#H2 Console: multiple consecutive spaces in the setting name did not work. Fixed.
@changelog_1065_h2
@changelog_1067_h2
#Version 1.0.65 (2008-01-18)
@changelog_1066_li
@changelog_1068_li
#The build (ant) now automatically switches the source code to the correct version (JDK 1.4/1.5 or 1.6).
@changelog_1067_li
@changelog_1069_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_1068_li
@changelog_1070_li
#The performance for DROP and DROP ALL OBJECTS has been improved.
@changelog_1069_li
@changelog_1071_li
#The ChangePassword API has been improved.
@changelog_1070_li
@changelog_1072_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_1071_li
@changelog_1073_li
#The Ukrainian translation has been improved.
@changelog_1072_li
@changelog_1074_li
#CALL statements can now be used in batch updates and called using Statement.executeUpdate.
@changelog_1073_li
@changelog_1075_li
#New read-only setting CREATE_BUILD (the build number of the database engine that created the database).
@changelog_1074_li
@changelog_1076_li
#The optimizer did not use multi column indexes for range queries in some cases. Fixed.
@changelog_1075_li
@changelog_1077_li
#The H2 Console now calls DataSource.getConnection() instead of DataSource.getConnection(user, password) when user name and password are not specified.
@changelog_1076_li
@changelog_1078_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_1077_li
@changelog_1079_li
#Batch update: Calling BatchUpdateException.printStackTrace() could result in out of memory. Fixed.
@changelog_1078_li
@changelog_1080_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_1079_li
@changelog_1081_li
#The performance for large result sets in the server mode has been improved.
@changelog_1080_li
@changelog_1082_li
#The setting h2.serverSmallResultSetSize has been renamed to h2.serverResultSetFetchSize.
@changelog_1081_li
@changelog_1083_li
#The SCRIPT command now uses multi-row insert statements to save space except if the option SIMPLE is used.
@changelog_1082_li
@changelog_1084_li
#The SCRIPT command did not split up CLOB data correctly. Fixed.
@changelog_1083_li
@changelog_1085_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_1084_li
@changelog_1086_li
#DROP ALL OBJECTS did not drop user defined aggregate functions and domains.
@changelog_1085_li
@changelog_1087_li
#PostgreSQL compatibility: COUNT(T.*) is now supported.
@changelog_1086_li
@changelog_1088_li
#LIKE comparisons are now faster.
@changelog_1087_li
@changelog_1089_li
#Encrypted databases are now faster.
@changelog_1088_h2
@changelog_1090_h2
#Version 1.0.64 (2007-12-27)
@changelog_1089_li
@changelog_1091_li
#3-way union queries with prepared statement or views could return the wrong results. Fixed.
@changelog_1090_li
@changelog_1092_li
#The PostgreSQL ODBC driver did not work in the last release due to a parser regression. Fixed.
@changelog_1091_li
@changelog_1093_li
#CSV tool: some escape/separator character combinations did not work. Fixed.
@changelog_1092_li
@changelog_1094_li
#CSV tool: the character # could not be used as a separator when reading.
@changelog_1093_li
@changelog_1095_li
#Recovery: when the index file is corrupt, now the database deletes it and re-creates it automatically.
@changelog_1094_li
@changelog_1096_li
#The MVCC mode did not work well with in-memory databases. Fixed.
@changelog_1095_li
@changelog_1097_li
#The FTP server now supports a event listener. Thanks Fulvio Biondi for the help!
@changelog_1096_li
@changelog_1098_li
#New system function CANCEL_SESSION to cancel the currently executing statement of another session.
@changelog_1097_li
@changelog_1099_li
#The database now supports an exclusive mode. In exclusive mode, new connections are rejected.
@changelog_1098_li
@changelog_1100_li
#H2 Console: when editing result sets, columns can now be set to null. The text 'null' must be escaped using '=null'.
@changelog_1099_li
@changelog_1101_li
#New built-in functions RPAD and LPAD.
@changelog_1100_li
@changelog_1102_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_1101_li
@changelog_1103_li
#The Ukrainian translation was not working in the last release. Fixed.
@changelog_1102_li
@changelog_1104_li
#Creating many tables (many hundreds) was slow. Fixed.
@changelog_1103_li
@changelog_1105_li
#Opening a database with many indexes (thousands) was slow. Fixed.
@changelog_1104_li
@changelog_1106_li
#H2 Console / autocomplete: Ctrl+Space now shows the list in all modes.
@changelog_1105_li
@changelog_1107_li
#The method Trigger.init has been changed: the parameters 'before' and 'type', have been added to the init method.
@changelog_1106_li
@changelog_1108_li
#The performance has been improved for ResultSet methods with column name.
@changelog_1107_li
@changelog_1109_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_1108_li
@changelog_1110_li
#The H2 Console has been translated to Turkish. Thanks a lot to Ridvan Agar!
@changelog_1109_li
@changelog_1111_li
#Improved debugging support: toString methods of most object now return a meaningful text.
@changelog_1110_li
@changelog_1112_li
#The classes DbStarter and WebServlet have been moved to src/main.
@changelog_1111_li
@changelog_1113_li
#The column INFORMATION_SCHEMA.TRIGGERS.SQL now contains the CREATE TRIGGER statement.
@changelog_1112_li
@changelog_1114_li
#Loading classes and calling methods can be restricted using the new system property h2.allowedClasses.
@changelog_1113_li
@changelog_1115_li
#The database could not be used in Java applets due to security exceptions. Fixed.
@changelog_1114_h2
@changelog_1116_h2
#Version 1.0.63 (2007-12-02)
@changelog_1115_li
@changelog_1117_li
#The SecurePassword example has been improved.
@changelog_1116_li
@changelog_1118_li
#In timezones 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_1117_li
@changelog_1119_li
#The native fulltext search was not working properly after re-connecting.
@changelog_1118_li
@changelog_1120_li
#Improved FTP server: now the PORT command is supported.
@changelog_1119_li
@changelog_1121_li
#Temporary views (FROM(...)) with UNION didn't work if nested. Fixed.
@changelog_1120_li
@changelog_1122_li
#Performance optimization for IN(...) and IN(SELECT...), currently disabled by default. To enable, use java -Dh2.optimizeInJoin=true
@changelog_1121_li
@changelog_1123_li
#The H2 Console has been translated to Ukrainian by Igor Dobrovolskyi. Thanks a lot!
@changelog_1122_li
@changelog_1124_li
#New function TABLE_DISTINCT.
@changelog_1123_li
@changelog_1125_li
#Using LIMIT with values close to Integer.MAX_VALUE didn't work correctly.
@changelog_1124_li
@changelog_1126_li
#Certain setting in the Server didn't work (http://code.google.com/p/h2database/issues/detail?id=7).
@changelog_1125_h2
@changelog_1127_h2
#Version 1.0.62 (2007-11-25)
@changelog_1126_li
@changelog_1128_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_1127_li
@changelog_1129_li
#MVCC: now an exception is thrown when an application tries to change the MVCC setting while the database is already open.
@changelog_1128_li
@changelog_1130_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_1129_li
@changelog_1131_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_1130_li
@changelog_1132_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_1131_li
@changelog_1133_li
#Duplicate column names were not detected when renaming columns. Fixed.
@changelog_1132_li
@changelog_1134_li
#The console did not display multiple embedded spaces in text correctly. Fixed.
@changelog_1133_li
@changelog_1135_li
#Google Android support: use 'ant codeswitchAndroid' to switch the source code to Android.
@changelog_1134_li
@changelog_1136_li
#Values of type ARRAY are now sorted as in PostgreSQL.
@changelog_1135_li
@changelog_1137_li
#In the cluster mode, could not connect if only one server was running (last release only). Fixed.
@changelog_1136_li
@changelog_1138_li
#The performance of large CSV operations has been improved.
@changelog_1137_li
@changelog_1139_li
#Now using custom toString() for most JDBC objects and commands.
@changelog_1138_li
@changelog_1140_li
#Nested temporary views (SELECT * FROM (SELECT ...)) with parameters didn't work in some cases. Fixed.
@changelog_1139_li
@changelog_1141_li
#CSV: Using an empty field delimiter didn't work (a workaround was using char(0)). Fixed.
@changelog_1140_li
@changelog_1142_li
#A patch for Apache DDL Utils is available at https://issues.apache.org/jira/browse/DDLUTILS-185
@changelog_1141_li
@changelog_1143_li
#The default value for h2.emergencySpaceInitial is now 256 KB (to speed up creating encrypted databases)
@changelog_1142_li
@changelog_1144_li
#Eduardo Velasques has translated the H2 Console and the error messages to Brazilian Portuguese. Thanks a lot!
@changelog_1143_li
@changelog_1145_li
#Creating a table from GROUP_CONCAT didn't work if the data was longer than 255 characters
@changelog_1144_h2
@changelog_1146_h2
#Version 1.0.61 (2007-11-10)
@changelog_1145_li
@changelog_1147_li
#The Lucene Fulltext implementation is now compiled and included in the h2.jar. Requires Lucene 2.2.
@changelog_1146_li
@changelog_1148_li
#Added more tests. The code coverage is now at 83%.
@changelog_1147_li
@changelog_1149_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_1148_li
@changelog_1150_li
#The MODE used to be a global setting, now it is a database level setting.
@changelog_1149_li
@changelog_1151_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_1150_li
@changelog_1152_li
#Math operations using unknown data types (for example -? and ?+?) are now interpreted as decimal.
@changelog_1151_li
@changelog_1153_li
#INSTR, LOCATE: backward searching is not supported by using a negative start position.
@changelog_1152_li
@changelog_1154_li
#Can now open a database stored in a jar or zip file (for example, jdbc:h2:zip:c:/temp/h2.zip!/test).
@changelog_1153_li
@changelog_1155_li
#Files access now uses an API (FileSystem, FileObject), this will simplify adding other file systems and features (for example replication).
@changelog_1154_li
@changelog_1156_li
#Vlad Alexahin has translated H2 Console to Russian. Thanks a lot!
@changelog_1155_li
@changelog_1157_li
#Descending indexes are now supported. This is useful when sorting columns descending, for example by creation date.
@changelog_1156_li
@changelog_1158_li
#Solved a Java level deadlock in the DatabaseCloser.
@changelog_1157_li
@changelog_1159_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_1158_li
@changelog_1160_li
#MVCC: The system property h2.mvcc has been removed. A few bugs have been fixed, and new tests have been added.
@changelog_1159_h2
@changelog_1161_h2
#Version 1.0.60 (2007-10-20)
@changelog_1160_li
@changelog_1162_li
#JdbcXAConnection: starting a transaction before getting the connection didn't switch off autocommit.
@changelog_1161_li
@changelog_1163_li
#User defined aggregate functions are not supported.
@changelog_1162_li
@changelog_1164_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_1163_li
@changelog_1165_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_1164_li
@changelog_1166_li
#Linked tables: now tables in non-default schemas are supported as well
@changelog_1165_li
@changelog_1167_li
#New Italian translation from PierPaolo Ucchino. Thanks a lot!
@changelog_1166_li
@changelog_1168_li
#CSV: New methods to set the escape character and field delimiter in the Csv tool and the CSVWRITE and CSVREAD methods.
@changelog_1167_li
@changelog_1169_li
#Prepared statements could not be used after data definition statements (creating tables and so on). Fixed.
@changelog_1168_li
@changelog_1170_li
#PreparedStatement.setMaxRows could not be changed to a higher value after the statement was executed.
@changelog_1169_li
@changelog_1171_li
#The H2 Console could not connect twice to the same H2 embedded database at the same time. Fixed.
@changelog_1170_li
@changelog_1172_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_1171_h2
@changelog_1173_h2
#Version 1.0.59 (2007-10-03)
@changelog_1172_li
@changelog_1174_li
#When the data type was unknown in a subquery, sometimes the wrong exception (ArrayIndexOutOfBounds) was thrown. Fixed.
@changelog_1173_li
@changelog_1175_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_1174_li
@changelog_1176_li
#Multi-threaded kernel (MULTI_THREADED=1): A synchronization problem has been fixed.
@changelog_1175_li
@changelog_1177_li
#A PreparedStatement that was cancelled could not be reused. Fixed.
@changelog_1176_li
@changelog_1178_li
#H2 Console: Progress information when logging into a H2 embedded database (useful when opening a database is slow).
@changelog_1177_li
@changelog_1179_li
#When the database was closed while logging was disabled (LOG 0), re-opening the database was slow. Fixed.
@changelog_1178_li
@changelog_1180_li
#Fulltext search is now documented (in the Tutorial).
@changelog_1179_li
@changelog_1181_li
#The Console did not refresh the table list if the CREATE TABLE statement started with a comment. Fixed.
@changelog_1180_li
@changelog_1182_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_1181_li
@changelog_1183_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_1182_li
@changelog_1184_li
#REGEXP compatibility: So far String.matches was used, but for compatibility with MySQL, now Matcher.find is used.
@changelog_1183_li
@changelog_1185_li
#SCRIPT: the SQL statements in the result set now include the terminating semicolon as well. Simplifies copy and paste.
@changelog_1184_li
@changelog_1186_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_1185_li
@changelog_1187_li
#Views with subqueries as tables and queries with nested subqueries as tables did not always work. Fixed.
@changelog_1186_li
@changelog_1188_li
#Compatibility: comparing columns with constants that are out of range does not throw an exception.
@changelog_1187_h2
@changelog_1189_h2
#Version 1.0.58 (2007-09-15)
@changelog_1188_li
@changelog_1190_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_1189_li
@changelog_1191_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_1190_li
@changelog_1192_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_1191_li
@changelog_1193_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_1192_li
@changelog_1194_li
#When comparing TINYINT or SMALLINT columns against constants, the index was not used. Fixed.
@changelog_1193_li
@changelog_1195_li
#Maven 2: new version are now automatically synced with the central repositories.
@changelog_1194_li
@changelog_1196_li
#The default value for MAX_MEMORY_UNDO is now 100000.
@changelog_1195_li
@changelog_1197_li
#The documentation indexer does no longer index Japanese pages. If somebody knows how to split Japanese into words please post it.
@changelog_1196_li
@changelog_1198_li
#Oracle compatibility: SYSDATE now returns a timestamp. CHR(..) is now an alias for CHAR(..).
@changelog_1197_li
@changelog_1199_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_1198_li
@changelog_1200_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_1199_li
@changelog_1201_li
#Optimization for COLUMN IN(.., NULL) if the column does not allow NULL values.
@changelog_1200_li
@changelog_1202_li
#Using spaces in column and table aliases was not supported when used inside a view or temporary view.
@changelog_1201_li
@changelog_1203_li
#The version (build) number is now included in the manifest file.
@changelog_1202_li
@changelog_1204_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_1203_li
@changelog_1205_li
#The database file sizes are now increased at most 32 MB at any time.
@changelog_1204_li
@changelog_1206_li
#New method DatabaseEventListener.opened that is called just after opening a database.
@changelog_1205_li
@changelog_1207_li
#When using the Console with Internet Explorer 6.0 or 7.0, a Javascript error was thrown after clearing the query.
@changelog_1206_li
@changelog_1208_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_1207_li
@changelog_1209_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_1208_li
@changelog_1210_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_1209_li
@changelog_1211_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_1210_li
@changelog_1212_li
#For PgServer, character encoding other than UTF-8 did not work correctly. Fixed.
@changelog_1211_li
@changelog_1213_li
#Using a function in a GROUP BY expression that is used in a view as a condition did not always work.
@changelog_1212_h2
@changelog_1214_h2
#Version 1.0.57 (2007-08-25)
@changelog_1213_li
@changelog_1215_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_1214_li
@changelog_1216_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_1215_li
@changelog_1217_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_1216_li
@changelog_1218_li
#Opening large read-only databases was very slow. Fixed.
@changelog_1217_li
@changelog_1219_li
#New Japanese translation of the error messages thanks to Ikemoto Masahiro. Thanks a lot!
@changelog_1218_li
@changelog_1220_li
#Disabling / enabling referential integrity for a table can now be used inside a transaction.
@changelog_1219_li
@changelog_1221_li
#Rights checking for dynamic tables (SELECT * FROM (SELECT ...)) did not work. Fixed.
@changelog_1220_li
@changelog_1222_li
#Creating more than 10 views that depend on each other was very slow. Reconnecting was slow as well. Fixed.
@changelog_1221_li
@changelog_1223_li
#When used as as Servlet, the H2 Console did not work with SSL (using Tomcat). Fixed.
@changelog_1222_li
@changelog_1224_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_1223_li
@changelog_1225_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_1224_li
@changelog_1226_li
#Some unit tests failed on Linux because the file system works differently. The unit tests are fixed and should work now.
@changelog_1225_li
@changelog_1227_li
#Can now incrementally translate the documentation. See also FAQ.
@changelog_1226_li
@changelog_1228_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_1227_li
@changelog_1229_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_1228_li
@changelog_1230_li
#Google translate did not work for the H2 homepage. It should be fixed now.
@changelog_1229_li
@changelog_1231_li
#The CONVERT function did not work with views when using UNION.
@changelog_1230_li
@changelog_1232_li
#The build now issues a warning if the source code is switched to the wrong version.
@changelog_1231_li
@changelog_1233_li
#The default lock mode is now read committed instead of serialized.
@changelog_1232_li
@changelog_1234_li
#PG server: data was truncated when reading large VARCHAR columns and decimal columns.
@changelog_1233_li
@changelog_1235_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_1234_li
@changelog_1236_li
#Some file operations didn't work for files in the root directory. Fixed.
@changelog_1235_li
@changelog_1237_li
#In the Restore tool, the parameter -file did not work. Fixed.
@changelog_1236_li
@changelog_1238_li
#Two-phase commit: commit with transaction name was only supported in the recovery scan. Now it is always supported.
@changelog_1237_li
@changelog_1239_li
#The column name C_CURRENT_TIMESTAMP did not work in the last release.
@changelog_1238_li
@changelog_1240_li
#OpenOffice compatibility: support database name in column names.
@changelog_1239_h2
@changelog_1241_h2
#Version 1.0.56 (2007-08-02)
@changelog_1240_li
@changelog_1242_li
#A new tool to help translation has been implemented: src/tools/org/h2/tools/i18n/PrepareTranslation. This tool can detect delta changes in the original (English) and prepends '#' in translation if the original text was changed. It can also extract text from the user documentation (however, it is incomplete).
@changelog_1241_li
@changelog_1243_li
#The error messages (src/main/org/h2/res/_*.*) can now be translated.
@changelog_1242_li
@changelog_1244_li
#Part of the documentation has been translated to Japanese by Yusuke Fukushima.
@changelog_1243_li
@changelog_1245_li
#Some Unicode characters where not supported as identifier name. Thanks Yusuke Fukushima for reporting this problem.
@changelog_1244_li
@changelog_1246_li
#The default value DEFAULT_MAX_LENGTH_INPLACE_LOB has been changed from 128 to 1024.
@changelog_1245_li
@changelog_1247_li
#A server that implements the PostgreSQL protocol is now included and documented. That means, the PostgreSQL ODBC driver can be used to access a H2 database. See in the documentation for details.
@changelog_1246_li
@changelog_1248_li
#The experimental H2 ODBC driver has been removed.
@changelog_1247_li
@changelog_1249_li
#The default value for h2.defaultMaxMemoryUndo is now 50000. This avoids out of memory problems when using large transactions, however large transactions are slower because they are buffered to disk. To disable, use -Dh2.defaultMaxMemoryUndo=2000000000.
@changelog_1248_li
@changelog_1250_li
#Support for regular expression function REGEXP_REPLACE(expression, regex, replacement) and regular expression LIKE: expression REGEXP matchExpression. However, indexes are not yet used.
@changelog_1249_li
@changelog_1251_li
#The old view implementation has been removed.
@changelog_1250_li
@changelog_1252_li
#The SysTray tool has been removed, because JDK 1.6 has native support for system tray icons. Use the Console tool (org.h2.tools.Console) automatically installs a system tray icon if JDK 1.6 is used.
@changelog_1251_li
@changelog_1253_li
#H2 Console: In the last release, the shutdown button did not work. Fixed.
@changelog_1252_li
@changelog_1254_li
#Referential integrity can now be disabled using SET REFERENTIAL_INTEGRITY FALSE. It can also be disable only for one table using ALTER TABLE SET REFERENTIAL_INTEGRITY FALSE.
@changelog_1253_li
@changelog_1255_li
#The Backup and Restore tools, and the BACKUP command did not back up LOBs when h2.lobFilesInDirectories was enabled. Fixed.
@changelog_1254_li
@changelog_1256_li
#Calculation of cache memory usage has been improved.
@changelog_1255_li
@changelog_1257_li
#In some situations record were released too late from the cache. Fixed.
@changelog_1256_li
@changelog_1258_li
#The cache size is now measured in KB instead of blocks of 128 byte.
@changelog_1257_li
@changelog_1259_li
#CREATE TABLE ... AS SELECT now needs less memory. While inserting the rows, the undo log is temporarily disabled. This avoid out of memory problems when creating large tables.
@changelog_1258_li
@changelog_1260_li
#The per session undo log can now be disabled. This setting is useful for bulk operations that don't need to be atomic, like bulk delete or update.
@changelog_1259_li
@changelog_1261_li
#The database file could get corrupted when there was an OutOfMemoryException in the middle of inserting a row.
@changelog_1260_li
@changelog_1262_li
#Optimization for WHERE NOT(...) and WHERE [NOT] booleanFlagColumn. This can be disabled using the system property h2.optimizeNot.
@changelog_1261_li
@changelog_1263_li
#Optimization for conditions like WHERE A=B AND B=X (A=X is added). This often appears in joins. This can be disabled using the system property h2.optimizeTwoEquals.
@changelog_1262_li
@changelog_1264_li
#Documentation: the source code in 'Compacting a Database' was incorrect. Fixed.
@changelog_1263_li
@changelog_1265_li
#In the H2 Console, result sets could not be modified because the default result set type is now forward only. For H2, now uses scrollable result sets. Also for other databases, but only when the query starts with @EDIT.
@changelog_1264_li
@changelog_1266_li
#Views using UNION did not work correctly. Fixed.
@changelog_1265_li
@changelog_1267_li
#Function tables did not work with views and EXPLAIN. Fixed.
@download_1000_h1
......@@ -7425,7 +7431,7 @@ Java Web Start / JNLP (Java Network Launch Protocol) を使用している時、
#Using a Connection Pool
@tutorial_1179_p
#For many databases, opening a connection is slow, and it is a good idea to use a connection pool to re-use connections. For H2 however opening a connection usually is fast if the database is already open. Using a connection pool manager for H2 actually slows down the process a bit, except if file encryption is used (in this case opening a connection is about half as fast are using a connection pool). A simple connection pool is: <a href="http://www.source-code.biz/snippets/java/8.htm">Mini Connection Pool Manager</a> . There are other, more complex connection pools available, for example <a href="http://jakarta.apache.org/commons/dbcp/">DBCP</a> .
#For many databases, opening a connection is slow, and it is a good idea to use a connection pool to re-use connections. For H2 however opening a connection usually is fast if the database is already open. Using a connection pool manager for H2 actually slows down the process a bit, except if file encryption is used (in this case opening a connection is about half as fast as using a connection pool). A simple connection pool manager is included in H2. It is based on the <a href="http://www.source-code.biz/snippets/java/8.htm">Mini Connection Pool Manager</a> from Christian d'Heureuse. There are other, more complex connection pools available, for example <a href="http://jakarta.apache.org/commons/dbcp/">DBCP</a> . The build-in connection pool manager is used as follows:
@tutorial_1180_h2
フルテキストサーチ
......@@ -7927,6 +7933,81 @@ Wikipedia: Block cipher modes of operation
@~advanced_1280_td
Secure Sockets Layer / Transport Layer Security。こちらもご覧下さい: <a href="http://java.sun.com/products/jsse/">Java Secure Socket Extension (JSSE)</a>
@~changelog_1003_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_1025_h2
#Version 1.0.67 (2008-02-22)
@~changelog_1027_li
#CREATE TABLE AS SELECT now supports specifying the column list and data types.
@~changelog_1048_h2
#Version 1.0.66 (2008-02-02)
@~changelog_1050_li
#H2 Console: stack traces are now links to the source code in the source repository (H2 database only).
@~changelog_1065_h2
#Version 1.0.65 (2008-01-18)
@~changelog_1067_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_1088_h2
#Version 1.0.64 (2007-12-27)
@~changelog_1090_li
#The PostgreSQL ODBC driver did not work in the last release due to a parser regression. Fixed.
@~changelog_1114_h2
#Version 1.0.63 (2007-12-02)
@~changelog_1116_li
#In timezones 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_1125_h2
#Version 1.0.62 (2007-11-25)
@~changelog_1127_li
#MVCC: now an exception is thrown when an application tries to change the MVCC setting while the database is already open.
@~changelog_1144_h2
#Version 1.0.61 (2007-11-10)
@~changelog_1146_li
#Added more tests. The code coverage is now at 83%.
@~changelog_1159_h2
#Version 1.0.60 (2007-10-20)
@~changelog_1161_li
#User defined aggregate functions are not supported.
@~changelog_1171_h2
#Version 1.0.59 (2007-10-03)
@~changelog_1173_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_1187_h2
#Version 1.0.58 (2007-09-15)
@~changelog_1189_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_1212_h2
#Version 1.0.57 (2007-08-25)
@~changelog_1214_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_1239_h2
#Version 1.0.56 (2007-08-02)
@~changelog_1241_li
#The error messages (src/main/org/h2/res/_*.*) can now be translated.
@~roadmap_1362_h2
#Not Planned
......
......@@ -168,7 +168,7 @@ advanced_1166_li=Copy the h2.jar file to ikvm/bin
advanced_1167_li=Run the H2 Console using\: <code>ikvm -jar h2.jar</code>
advanced_1168_li=Convert the H2 Console to an .exe file using\: <code>ikvmc -target\:winexe h2.jar</code> . You may ignore the warnings.
advanced_1169_li=Create a .dll file using (change the version accordingly)\: <code>ikvmc.exe -target\:library -version\:1.0.68.0 h2.jar</code>
advanced_1170_p=If you want your C\# application use H2, you need to add the h2.dll and the IKVM.OpenJDK.ClassLibrary.dll to your C\# solution. See also the short <a href\="http\://groups.google.com/group/h2-database/browse_thread/thread/400bc5a9bc9de3fd">C\# source code example</a> .
advanced_1170_p=If you want your C\# application use H2, you need to add the h2.dll and the IKVM.OpenJDK.ClassLibrary.dll to your C\# solution. Here some sample code\:
advanced_1171_h2=ACID
advanced_1172_p=In the database world, ACID stands for\:
advanced_1173_li=Atomicity\: Transactions must be atomic, meaning either all tasks are performed or none.
......@@ -328,270 +328,272 @@ 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 (&\#..;) 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_1001_h2=Next Version (unreleased)
changelog_1002_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_1003_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_1004_li=Unused LOB files were deleted much too late. Now they are deleted if no longer referenced in memory.
changelog_1005_li=ALTER SEQUENCE and ALTER TABLE ALTER COLUMN RESTART can now be used inside a transaction.
changelog_1006_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_1007_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_1008_li=Improved performance when using lob files in directories (however this is still disabled by default)
changelog_1009_li=H2 Console\: autocomplete didn't work with very large scripts. Fixed.
changelog_1010_li=Fulltext search\: new method SEARCH_DATA that returns the column names and primary keys as arrays.
changelog_1011_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_1012_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_1013_li=H2 Console\: remote connections were very slow because getHostName/getRemoteHost was used. Fixed (now using getHostAddress/getRemoteAddr.
changelog_1014_li=H2 Console\: on Linux, Firefox, Konqueror, or Opera (in this order) are now started if available. This has been tested on Ubuntu.
changelog_1015_li=H2 Console\: the start window works better with IKVM
changelog_1016_li=H2 Console\: improved compatibility with Safari (Safari requires keep-alive)
changelog_1017_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_1018_li=SELECT UNION with a different number of ORDER BY columns did throw an ArrayIndexOutOfBoundsException.
changelog_1019_li=When using a view, the column precision was changed to the default scale for some data types.
changelog_1020_li=CSVWRITE now supports a 'null string' that is used for parsing and writing NULL.
changelog_1021_li=Some long running queries could not be cancelled.
changelog_1022_li=Queries with many outer join tables were very slow. Fixed.
changelog_1023_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_1024_li=UPDATE SET column\=DEFAULT is now supported.
changelog_1025_h2=Version 1.0.67 (2008-02-22)
changelog_1026_li=New function FILE_READ to read a file or from an URL. Both binary and text data is supported.
changelog_1027_li=CREATE TABLE AS SELECT now supports specifying the column list and data types.
changelog_1028_li=Connecting to a TCP server and at shutting it down at the same time could cause a Java level deadlock.
changelog_1029_li=A user now has all rights on his own local temporary tables.
changelog_1030_li=The CSV tool now supports a custom lineSeparator.
changelog_1031_li=When using multiple connections, empty space was reused too early sometimes. This could corrupt the database when recovering.
changelog_1032_li=The H2 Console has been translated to Dutch. Thanks a lot to Remco Schoen\!
changelog_1033_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_1034_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_1035_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_1036_li=The value cache is now a soft reference cache. This should help save memory.
changelog_1037_li=CREATE INDEX on a table with many rows could run out of memory. Fixed.
changelog_1038_li=Large result sets are now a bit faster.
changelog_1039_li=ALTER TABLE ALTER COLUMN RESTART and ALTER SEQUENCE now support parameters (any expressions).
changelog_1040_li=When setting the base directory on the command line, the user directory prefix ('~') was ignored.
changelog_1041_li=The DbStarter servlet didn't start the TCP listener even if configured.
changelog_1042_li=Statement.setQueryTimeout() is now supported.
changelog_1043_li=New session setting QUERY_TIMEOUT, and new system property h2.maxQueryTimeout.
changelog_1044_li=Changing the transaction log level (SET LOG) is now written to the trace file by default.
changelog_1045_li=In a SQL script, primary key constraints are now ordered before foreign key constraints.
changelog_1046_li=It was not possible to create a referential constraint to a table in a different schema in some situations.
changelog_1047_li=The H2 Console was slow when the database contains many tables. Now the column names are not shown in this case.
changelog_1048_h2=Version 1.0.66 (2008-02-02)
changelog_1049_li=There is a new online error analyzer tool.
changelog_1050_li=H2 Console\: stack traces are now links to the source code in the source repository (H2 database only).
changelog_1051_li=CHAR data type equals comparison was case insensitive instead of case sensitive.
changelog_1052_li=The exception 'Value too long for column' now includes the data.
changelog_1053_li=The table name was missing in the documentation of CREATE INDEX.
changelog_1054_li=Better support for IKVM (www.ikvm.net)\: the H2 Console now opens a browser window.
changelog_1055_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_1056_li=The exception "Hexadecimal string contains non-hex character" was not always thrown when it should have been. Fixed.
changelog_1057_li=The H2 Console now provides a link to the documentation when an error occurs (H2 databases only so far).
changelog_1058_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_1059_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_1060_li=For compatibility with other databases the column default (COLUMN_DEF) for columns without default is now null (it was an empty string).
changelog_1061_li=Statements that contain very large subqueries (where the subquery result does not fit in memory) are now faster.
changelog_1062_li=Variables\: large objects (CLOB and BLOB) that don't fit in memory did not work correctly when used as variables.
changelog_1063_li=Fulltext search is now supported in named in-memory databases.
changelog_1064_li=H2 Console\: multiple consecutive spaces in the setting name did not work. Fixed.
changelog_1065_h2=Version 1.0.65 (2008-01-18)
changelog_1066_li=The build (ant) now automatically switches the source code to the correct version (JDK 1.4/1.5 or 1.6).
changelog_1067_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_1068_li=The performance for DROP and DROP ALL OBJECTS has been improved.
changelog_1069_li=The ChangePassword API has been improved.
changelog_1070_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_1071_li=The Ukrainian translation has been improved.
changelog_1072_li=CALL statements can now be used in batch updates and called using Statement.executeUpdate.
changelog_1073_li=New read-only setting CREATE_BUILD (the build number of the database engine that created the database).
changelog_1074_li=The optimizer did not use multi column indexes for range queries in some cases. Fixed.
changelog_1075_li=The H2 Console now calls DataSource.getConnection() instead of DataSource.getConnection(user, password) when user name and password are not specified.
changelog_1076_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_1077_li=Batch update\: Calling BatchUpdateException.printStackTrace() could result in out of memory. Fixed.
changelog_1078_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_1079_li=The performance for large result sets in the server mode has been improved.
changelog_1080_li=The setting h2.serverSmallResultSetSize has been renamed to h2.serverResultSetFetchSize.
changelog_1081_li=The SCRIPT command now uses multi-row insert statements to save space except if the option SIMPLE is used.
changelog_1082_li=The SCRIPT command did not split up CLOB data correctly. Fixed.
changelog_1083_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_1084_li=DROP ALL OBJECTS did not drop user defined aggregate functions and domains.
changelog_1085_li=PostgreSQL compatibility\: COUNT(T.*) is now supported.
changelog_1086_li=LIKE comparisons are now faster.
changelog_1087_li=Encrypted databases are now faster.
changelog_1088_h2=Version 1.0.64 (2007-12-27)
changelog_1089_li=3-way union queries with prepared statement or views could return the wrong results. Fixed.
changelog_1090_li=The PostgreSQL ODBC driver did not work in the last release due to a parser regression. Fixed.
changelog_1091_li=CSV tool\: some escape/separator character combinations did not work. Fixed.
changelog_1092_li=CSV tool\: the character \# could not be used as a separator when reading.
changelog_1093_li=Recovery\: when the index file is corrupt, now the database deletes it and re-creates it automatically.
changelog_1094_li=The MVCC mode did not work well with in-memory databases. Fixed.
changelog_1095_li=The FTP server now supports a event listener. Thanks Fulvio Biondi for the help\!
changelog_1096_li=New system function CANCEL_SESSION to cancel the currently executing statement of another session.
changelog_1097_li=The database now supports an exclusive mode. In exclusive mode, new connections are rejected.
changelog_1098_li=H2 Console\: when editing result sets, columns can now be set to null. The text 'null' must be escaped using '\=null'.
changelog_1099_li=New built-in functions RPAD and LPAD.
changelog_1100_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_1101_li=The Ukrainian translation was not working in the last release. Fixed.
changelog_1102_li=Creating many tables (many hundreds) was slow. Fixed.
changelog_1103_li=Opening a database with many indexes (thousands) was slow. Fixed.
changelog_1104_li=H2 Console / autocomplete\: Ctrl+Space now shows the list in all modes.
changelog_1105_li=The method Trigger.init has been changed\: the parameters 'before' and 'type', have been added to the init method.
changelog_1106_li=The performance has been improved for ResultSet methods with column name.
changelog_1107_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_1108_li=The H2 Console has been translated to Turkish. Thanks a lot to Ridvan Agar\!
changelog_1109_li=Improved debugging support\: toString methods of most object now return a meaningful text.
changelog_1110_li=The classes DbStarter and WebServlet have been moved to src/main.
changelog_1111_li=The column INFORMATION_SCHEMA.TRIGGERS.SQL now contains the CREATE TRIGGER statement.
changelog_1112_li=Loading classes and calling methods can be restricted using the new system property h2.allowedClasses.
changelog_1113_li=The database could not be used in Java applets due to security exceptions. Fixed.
changelog_1114_h2=Version 1.0.63 (2007-12-02)
changelog_1115_li=The SecurePassword example has been improved.
changelog_1116_li=In timezones 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_1117_li=The native fulltext search was not working properly after re-connecting.
changelog_1118_li=Improved FTP server\: now the PORT command is supported.
changelog_1119_li=Temporary views (FROM(...)) with UNION didn't work if nested. Fixed.
changelog_1120_li=Performance optimization for IN(...) and IN(SELECT...), currently disabled by default. To enable, use java -Dh2.optimizeInJoin\=true
changelog_1121_li=The H2 Console has been translated to Ukrainian by Igor Dobrovolskyi. Thanks a lot\!
changelog_1122_li=New function TABLE_DISTINCT.
changelog_1123_li=Using LIMIT with values close to Integer.MAX_VALUE didn't work correctly.
changelog_1124_li=Certain setting in the Server didn't work (http\://code.google.com/p/h2database/issues/detail?id\=7).
changelog_1125_h2=Version 1.0.62 (2007-11-25)
changelog_1126_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_1127_li=MVCC\: now an exception is thrown when an application tries to change the MVCC setting while the database is already open.
changelog_1128_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_1129_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_1130_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_1131_li=Duplicate column names were not detected when renaming columns. Fixed.
changelog_1132_li=The console did not display multiple embedded spaces in text correctly. Fixed.
changelog_1133_li=Google Android support\: use 'ant codeswitchAndroid' to switch the source code to Android.
changelog_1134_li=Values of type ARRAY are now sorted as in PostgreSQL.
changelog_1135_li=In the cluster mode, could not connect if only one server was running (last release only). Fixed.
changelog_1136_li=The performance of large CSV operations has been improved.
changelog_1137_li=Now using custom toString() for most JDBC objects and commands.
changelog_1138_li=Nested temporary views (SELECT * FROM (SELECT ...)) with parameters didn't work in some cases. Fixed.
changelog_1139_li=CSV\: Using an empty field delimiter didn't work (a workaround was using char(0)). Fixed.
changelog_1140_li=A patch for Apache DDL Utils is available at https\://issues.apache.org/jira/browse/DDLUTILS-185
changelog_1141_li=The default value for h2.emergencySpaceInitial is now 256 KB (to speed up creating encrypted databases)
changelog_1142_li=Eduardo Velasques has translated the H2 Console and the error messages to Brazilian Portuguese. Thanks a lot\!
changelog_1143_li=Creating a table from GROUP_CONCAT didn't work if the data was longer than 255 characters
changelog_1144_h2=Version 1.0.61 (2007-11-10)
changelog_1145_li=The Lucene Fulltext implementation is now compiled and included in the h2.jar. Requires Lucene 2.2.
changelog_1146_li=Added more tests. The code coverage is now at 83%.
changelog_1147_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_1148_li=The MODE used to be a global setting, now it is a database level setting.
changelog_1149_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_1150_li=Math operations using unknown data types (for example -? and ?+?) are now interpreted as decimal.
changelog_1151_li=INSTR, LOCATE\: backward searching is not supported by using a negative start position.
changelog_1152_li=Can now open a database stored in a jar or zip file (for example, jdbc\:h2\:zip\:c\:/temp/h2.zip\!/test).
changelog_1153_li=Files access now uses an API (FileSystem, FileObject), this will simplify adding other file systems and features (for example replication).
changelog_1154_li=Vlad Alexahin has translated H2 Console to Russian. Thanks a lot\!
changelog_1155_li=Descending indexes are now supported. This is useful when sorting columns descending, for example by creation date.
changelog_1156_li=Solved a Java level deadlock in the DatabaseCloser.
changelog_1157_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_1158_li=MVCC\: The system property h2.mvcc has been removed. A few bugs have been fixed, and new tests have been added.
changelog_1159_h2=Version 1.0.60 (2007-10-20)
changelog_1160_li=JdbcXAConnection\: starting a transaction before getting the connection didn't switch off autocommit.
changelog_1161_li=User defined aggregate functions are not supported.
changelog_1162_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_1163_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_1164_li=Linked tables\: now tables in non-default schemas are supported as well
changelog_1165_li=New Italian translation from PierPaolo Ucchino. Thanks a lot\!
changelog_1166_li=CSV\: New methods to set the escape character and field delimiter in the Csv tool and the CSVWRITE and CSVREAD methods.
changelog_1167_li=Prepared statements could not be used after data definition statements (creating tables and so on). Fixed.
changelog_1168_li=PreparedStatement.setMaxRows could not be changed to a higher value after the statement was executed.
changelog_1169_li=The H2 Console could not connect twice to the same H2 embedded database at the same time. Fixed.
changelog_1170_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_1171_h2=Version 1.0.59 (2007-10-03)
changelog_1172_li=When the data type was unknown in a subquery, sometimes the wrong exception (ArrayIndexOutOfBounds) was thrown. Fixed.
changelog_1173_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_1174_li=Multi-threaded kernel (MULTI_THREADED\=1)\: A synchronization problem has been fixed.
changelog_1175_li=A PreparedStatement that was cancelled could not be reused. Fixed.
changelog_1176_li=H2 Console\: Progress information when logging into a H2 embedded database (useful when opening a database is slow).
changelog_1177_li=When the database was closed while logging was disabled (LOG 0), re-opening the database was slow. Fixed.
changelog_1178_li=Fulltext search is now documented (in the Tutorial).
changelog_1179_li=The Console did not refresh the table list if the CREATE TABLE statement started with a comment. Fixed.
changelog_1180_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_1181_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_1182_li=REGEXP compatibility\: So far String.matches was used, but for compatibility with MySQL, now Matcher.find is used.
changelog_1183_li=SCRIPT\: the SQL statements in the result set now include the terminating semicolon as well. Simplifies copy and paste.
changelog_1184_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_1185_li=Views with subqueries as tables and queries with nested subqueries as tables did not always work. Fixed.
changelog_1186_li=Compatibility\: comparing columns with constants that are out of range does not throw an exception.
changelog_1187_h2=Version 1.0.58 (2007-09-15)
changelog_1188_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_1189_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_1190_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_1191_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_1192_li=When comparing TINYINT or SMALLINT columns against constants, the index was not used. Fixed.
changelog_1193_li=Maven 2\: new version are now automatically synced with the central repositories.
changelog_1194_li=The default value for MAX_MEMORY_UNDO is now 100000.
changelog_1195_li=The documentation indexer does no longer index Japanese pages. If somebody knows how to split Japanese into words please post it.
changelog_1196_li=Oracle compatibility\: SYSDATE now returns a timestamp. CHR(..) is now an alias for CHAR(..).
changelog_1197_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_1198_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_1199_li=Optimization for COLUMN IN(.., NULL) if the column does not allow NULL values.
changelog_1200_li=Using spaces in column and table aliases was not supported when used inside a view or temporary view.
changelog_1201_li=The version (build) number is now included in the manifest file.
changelog_1202_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_1203_li=The database file sizes are now increased at most 32 MB at any time.
changelog_1204_li=New method DatabaseEventListener.opened that is called just after opening a database.
changelog_1205_li=When using the Console with Internet Explorer 6.0 or 7.0, a Javascript error was thrown after clearing the query.
changelog_1206_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_1207_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_1208_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_1209_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_1210_li=For PgServer, character encoding other than UTF-8 did not work correctly. Fixed.
changelog_1211_li=Using a function in a GROUP BY expression that is used in a view as a condition did not always work.
changelog_1212_h2=Version 1.0.57 (2007-08-25)
changelog_1213_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_1214_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_1215_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_1216_li=Opening large read-only databases was very slow. Fixed.
changelog_1217_li=New Japanese translation of the error messages thanks to Ikemoto Masahiro. Thanks a lot\!
changelog_1218_li=Disabling / enabling referential integrity for a table can now be used inside a transaction.
changelog_1219_li=Rights checking for dynamic tables (SELECT * FROM (SELECT ...)) did not work. Fixed.
changelog_1220_li=Creating more than 10 views that depend on each other was very slow. Reconnecting was slow as well. Fixed.
changelog_1221_li=When used as as Servlet, the H2 Console did not work with SSL (using Tomcat). Fixed.
changelog_1222_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_1223_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_1224_li=Some unit tests failed on Linux because the file system works differently. The unit tests are fixed and should work now.
changelog_1225_li=Can now incrementally translate the documentation. See also FAQ.
changelog_1226_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_1227_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_1228_li=Google translate did not work for the H2 homepage. It should be fixed now.
changelog_1229_li=The CONVERT function did not work with views when using UNION.
changelog_1230_li=The build now issues a warning if the source code is switched to the wrong version.
changelog_1231_li=The default lock mode is now read committed instead of serialized.
changelog_1232_li=PG server\: data was truncated when reading large VARCHAR columns and decimal columns.
changelog_1233_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_1234_li=Some file operations didn't work for files in the root directory. Fixed.
changelog_1235_li=In the Restore tool, the parameter -file did not work. Fixed.
changelog_1236_li=Two-phase commit\: commit with transaction name was only supported in the recovery scan. Now it is always supported.
changelog_1237_li=The column name C_CURRENT_TIMESTAMP did not work in the last release.
changelog_1238_li=OpenOffice compatibility\: support database name in column names.
changelog_1239_h2=Version 1.0.56 (2007-08-02)
changelog_1240_li=A new tool to help translation has been implemented\: src/tools/org/h2/tools/i18n/PrepareTranslation. This tool can detect delta changes in the original (English) and prepends '\#' in translation if the original text was changed. It can also extract text from the user documentation (however, it is incomplete).
changelog_1241_li=The error messages (src/main/org/h2/res/_*.*) can now be translated.
changelog_1242_li=Part of the documentation has been translated to Japanese by Yusuke Fukushima.
changelog_1243_li=Some Unicode characters where not supported as identifier name. Thanks Yusuke Fukushima for reporting this problem.
changelog_1244_li=The default value DEFAULT_MAX_LENGTH_INPLACE_LOB has been changed from 128 to 1024.
changelog_1245_li=A server that implements the PostgreSQL protocol is now included and documented. That means, the PostgreSQL ODBC driver can be used to access a H2 database. See in the documentation for details.
changelog_1246_li=The experimental H2 ODBC driver has been removed.
changelog_1247_li=The default value for h2.defaultMaxMemoryUndo is now 50000. This avoids out of memory problems when using large transactions, however large transactions are slower because they are buffered to disk. To disable, use -Dh2.defaultMaxMemoryUndo\=2000000000.
changelog_1248_li=Support for regular expression function REGEXP_REPLACE(expression, regex, replacement) and regular expression LIKE\: expression REGEXP matchExpression. However, indexes are not yet used.
changelog_1249_li=The old view implementation has been removed.
changelog_1250_li=The SysTray tool has been removed, because JDK 1.6 has native support for system tray icons. Use the Console tool (org.h2.tools.Console) automatically installs a system tray icon if JDK 1.6 is used.
changelog_1251_li=H2 Console\: In the last release, the shutdown button did not work. Fixed.
changelog_1252_li=Referential integrity can now be disabled using SET REFERENTIAL_INTEGRITY FALSE. It can also be disable only for one table using ALTER TABLE SET REFERENTIAL_INTEGRITY FALSE.
changelog_1253_li=The Backup and Restore tools, and the BACKUP command did not back up LOBs when h2.lobFilesInDirectories was enabled. Fixed.
changelog_1254_li=Calculation of cache memory usage has been improved.
changelog_1255_li=In some situations record were released too late from the cache. Fixed.
changelog_1256_li=The cache size is now measured in KB instead of blocks of 128 byte.
changelog_1257_li=CREATE TABLE ... AS SELECT now needs less memory. While inserting the rows, the undo log is temporarily disabled. This avoid out of memory problems when creating large tables.
changelog_1258_li=The per session undo log can now be disabled. This setting is useful for bulk operations that don't need to be atomic, like bulk delete or update.
changelog_1259_li=The database file could get corrupted when there was an OutOfMemoryException in the middle of inserting a row.
changelog_1260_li=Optimization for WHERE NOT(...) and WHERE [NOT] booleanFlagColumn. This can be disabled using the system property h2.optimizeNot.
changelog_1261_li=Optimization for conditions like WHERE A\=B AND B\=X (A\=X is added). This often appears in joins. This can be disabled using the system property h2.optimizeTwoEquals.
changelog_1262_li=Documentation\: the source code in 'Compacting a Database' was incorrect. Fixed.
changelog_1263_li=In the H2 Console, result sets could not be modified because the default result set type is now forward only. For H2, now uses scrollable result sets. Also for other databases, but only when the query starts with @EDIT.
changelog_1264_li=Views using UNION did not work correctly. Fixed.
changelog_1265_li=Function tables did not work with views and EXPLAIN. Fixed.
changelog_1002_li=.
changelog_1003_h2=Version 1.0.68 (2008-03-18)
changelog_1004_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_1005_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_1006_li=Unused LOB files were deleted much too late. Now they are deleted if no longer referenced in memory.
changelog_1007_li=ALTER SEQUENCE and ALTER TABLE ALTER COLUMN RESTART can now be used inside a transaction.
changelog_1008_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_1009_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_1010_li=Improved performance when using lob files in directories (however this is still disabled by default)
changelog_1011_li=H2 Console\: autocomplete didn't work with very large scripts. Fixed.
changelog_1012_li=Fulltext search\: new method SEARCH_DATA that returns the column names and primary keys as arrays.
changelog_1013_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_1014_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_1015_li=H2 Console\: remote connections were very slow because getHostName/getRemoteHost was used. Fixed (now using getHostAddress/getRemoteAddr.
changelog_1016_li=H2 Console\: on Linux, Firefox, Konqueror, or Opera (in this order) are now started if available. This has been tested on Ubuntu.
changelog_1017_li=H2 Console\: the start window works better with IKVM
changelog_1018_li=H2 Console\: improved compatibility with Safari (Safari requires keep-alive)
changelog_1019_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_1020_li=SELECT UNION with a different number of ORDER BY columns did throw an ArrayIndexOutOfBoundsException.
changelog_1021_li=When using a view, the column precision was changed to the default scale for some data types.
changelog_1022_li=CSVWRITE now supports a 'null string' that is used for parsing and writing NULL.
changelog_1023_li=Some long running queries could not be cancelled.
changelog_1024_li=Queries with many outer join tables were very slow. Fixed.
changelog_1025_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_1026_li=UPDATE SET column\=DEFAULT is now supported.
changelog_1027_h2=Version 1.0.67 (2008-02-22)
changelog_1028_li=New function FILE_READ to read a file or from an URL. Both binary and text data is supported.
changelog_1029_li=CREATE TABLE AS SELECT now supports specifying the column list and data types.
changelog_1030_li=Connecting to a TCP server and at shutting it down at the same time could cause a Java level deadlock.
changelog_1031_li=A user now has all rights on his own local temporary tables.
changelog_1032_li=The CSV tool now supports a custom lineSeparator.
changelog_1033_li=When using multiple connections, empty space was reused too early sometimes. This could corrupt the database when recovering.
changelog_1034_li=The H2 Console has been translated to Dutch. Thanks a lot to Remco Schoen\!
changelog_1035_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_1036_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_1037_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_1038_li=The value cache is now a soft reference cache. This should help save memory.
changelog_1039_li=CREATE INDEX on a table with many rows could run out of memory. Fixed.
changelog_1040_li=Large result sets are now a bit faster.
changelog_1041_li=ALTER TABLE ALTER COLUMN RESTART and ALTER SEQUENCE now support parameters (any expressions).
changelog_1042_li=When setting the base directory on the command line, the user directory prefix ('~') was ignored.
changelog_1043_li=The DbStarter servlet didn't start the TCP listener even if configured.
changelog_1044_li=Statement.setQueryTimeout() is now supported.
changelog_1045_li=New session setting QUERY_TIMEOUT, and new system property h2.maxQueryTimeout.
changelog_1046_li=Changing the transaction log level (SET LOG) is now written to the trace file by default.
changelog_1047_li=In a SQL script, primary key constraints are now ordered before foreign key constraints.
changelog_1048_li=It was not possible to create a referential constraint to a table in a different schema in some situations.
changelog_1049_li=The H2 Console was slow when the database contains many tables. Now the column names are not shown in this case.
changelog_1050_h2=Version 1.0.66 (2008-02-02)
changelog_1051_li=There is a new online error analyzer tool.
changelog_1052_li=H2 Console\: stack traces are now links to the source code in the source repository (H2 database only).
changelog_1053_li=CHAR data type equals comparison was case insensitive instead of case sensitive.
changelog_1054_li=The exception 'Value too long for column' now includes the data.
changelog_1055_li=The table name was missing in the documentation of CREATE INDEX.
changelog_1056_li=Better support for IKVM (www.ikvm.net)\: the H2 Console now opens a browser window.
changelog_1057_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_1058_li=The exception "Hexadecimal string contains non-hex character" was not always thrown when it should have been. Fixed.
changelog_1059_li=The H2 Console now provides a link to the documentation when an error occurs (H2 databases only so far).
changelog_1060_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_1061_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_1062_li=For compatibility with other databases the column default (COLUMN_DEF) for columns without default is now null (it was an empty string).
changelog_1063_li=Statements that contain very large subqueries (where the subquery result does not fit in memory) are now faster.
changelog_1064_li=Variables\: large objects (CLOB and BLOB) that don't fit in memory did not work correctly when used as variables.
changelog_1065_li=Fulltext search is now supported in named in-memory databases.
changelog_1066_li=H2 Console\: multiple consecutive spaces in the setting name did not work. Fixed.
changelog_1067_h2=Version 1.0.65 (2008-01-18)
changelog_1068_li=The build (ant) now automatically switches the source code to the correct version (JDK 1.4/1.5 or 1.6).
changelog_1069_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_1070_li=The performance for DROP and DROP ALL OBJECTS has been improved.
changelog_1071_li=The ChangePassword API has been improved.
changelog_1072_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_1073_li=The Ukrainian translation has been improved.
changelog_1074_li=CALL statements can now be used in batch updates and called using Statement.executeUpdate.
changelog_1075_li=New read-only setting CREATE_BUILD (the build number of the database engine that created the database).
changelog_1076_li=The optimizer did not use multi column indexes for range queries in some cases. Fixed.
changelog_1077_li=The H2 Console now calls DataSource.getConnection() instead of DataSource.getConnection(user, password) when user name and password are not specified.
changelog_1078_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_1079_li=Batch update\: Calling BatchUpdateException.printStackTrace() could result in out of memory. Fixed.
changelog_1080_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_1081_li=The performance for large result sets in the server mode has been improved.
changelog_1082_li=The setting h2.serverSmallResultSetSize has been renamed to h2.serverResultSetFetchSize.
changelog_1083_li=The SCRIPT command now uses multi-row insert statements to save space except if the option SIMPLE is used.
changelog_1084_li=The SCRIPT command did not split up CLOB data correctly. Fixed.
changelog_1085_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_1086_li=DROP ALL OBJECTS did not drop user defined aggregate functions and domains.
changelog_1087_li=PostgreSQL compatibility\: COUNT(T.*) is now supported.
changelog_1088_li=LIKE comparisons are now faster.
changelog_1089_li=Encrypted databases are now faster.
changelog_1090_h2=Version 1.0.64 (2007-12-27)
changelog_1091_li=3-way union queries with prepared statement or views could return the wrong results. Fixed.
changelog_1092_li=The PostgreSQL ODBC driver did not work in the last release due to a parser regression. Fixed.
changelog_1093_li=CSV tool\: some escape/separator character combinations did not work. Fixed.
changelog_1094_li=CSV tool\: the character \# could not be used as a separator when reading.
changelog_1095_li=Recovery\: when the index file is corrupt, now the database deletes it and re-creates it automatically.
changelog_1096_li=The MVCC mode did not work well with in-memory databases. Fixed.
changelog_1097_li=The FTP server now supports a event listener. Thanks Fulvio Biondi for the help\!
changelog_1098_li=New system function CANCEL_SESSION to cancel the currently executing statement of another session.
changelog_1099_li=The database now supports an exclusive mode. In exclusive mode, new connections are rejected.
changelog_1100_li=H2 Console\: when editing result sets, columns can now be set to null. The text 'null' must be escaped using '\=null'.
changelog_1101_li=New built-in functions RPAD and LPAD.
changelog_1102_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_1103_li=The Ukrainian translation was not working in the last release. Fixed.
changelog_1104_li=Creating many tables (many hundreds) was slow. Fixed.
changelog_1105_li=Opening a database with many indexes (thousands) was slow. Fixed.
changelog_1106_li=H2 Console / autocomplete\: Ctrl+Space now shows the list in all modes.
changelog_1107_li=The method Trigger.init has been changed\: the parameters 'before' and 'type', have been added to the init method.
changelog_1108_li=The performance has been improved for ResultSet methods with column name.
changelog_1109_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_1110_li=The H2 Console has been translated to Turkish. Thanks a lot to Ridvan Agar\!
changelog_1111_li=Improved debugging support\: toString methods of most object now return a meaningful text.
changelog_1112_li=The classes DbStarter and WebServlet have been moved to src/main.
changelog_1113_li=The column INFORMATION_SCHEMA.TRIGGERS.SQL now contains the CREATE TRIGGER statement.
changelog_1114_li=Loading classes and calling methods can be restricted using the new system property h2.allowedClasses.
changelog_1115_li=The database could not be used in Java applets due to security exceptions. Fixed.
changelog_1116_h2=Version 1.0.63 (2007-12-02)
changelog_1117_li=The SecurePassword example has been improved.
changelog_1118_li=In timezones 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_1119_li=The native fulltext search was not working properly after re-connecting.
changelog_1120_li=Improved FTP server\: now the PORT command is supported.
changelog_1121_li=Temporary views (FROM(...)) with UNION didn't work if nested. Fixed.
changelog_1122_li=Performance optimization for IN(...) and IN(SELECT...), currently disabled by default. To enable, use java -Dh2.optimizeInJoin\=true
changelog_1123_li=The H2 Console has been translated to Ukrainian by Igor Dobrovolskyi. Thanks a lot\!
changelog_1124_li=New function TABLE_DISTINCT.
changelog_1125_li=Using LIMIT with values close to Integer.MAX_VALUE didn't work correctly.
changelog_1126_li=Certain setting in the Server didn't work (http\://code.google.com/p/h2database/issues/detail?id\=7).
changelog_1127_h2=Version 1.0.62 (2007-11-25)
changelog_1128_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_1129_li=MVCC\: now an exception is thrown when an application tries to change the MVCC setting while the database is already open.
changelog_1130_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_1131_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_1132_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_1133_li=Duplicate column names were not detected when renaming columns. Fixed.
changelog_1134_li=The console did not display multiple embedded spaces in text correctly. Fixed.
changelog_1135_li=Google Android support\: use 'ant codeswitchAndroid' to switch the source code to Android.
changelog_1136_li=Values of type ARRAY are now sorted as in PostgreSQL.
changelog_1137_li=In the cluster mode, could not connect if only one server was running (last release only). Fixed.
changelog_1138_li=The performance of large CSV operations has been improved.
changelog_1139_li=Now using custom toString() for most JDBC objects and commands.
changelog_1140_li=Nested temporary views (SELECT * FROM (SELECT ...)) with parameters didn't work in some cases. Fixed.
changelog_1141_li=CSV\: Using an empty field delimiter didn't work (a workaround was using char(0)). Fixed.
changelog_1142_li=A patch for Apache DDL Utils is available at https\://issues.apache.org/jira/browse/DDLUTILS-185
changelog_1143_li=The default value for h2.emergencySpaceInitial is now 256 KB (to speed up creating encrypted databases)
changelog_1144_li=Eduardo Velasques has translated the H2 Console and the error messages to Brazilian Portuguese. Thanks a lot\!
changelog_1145_li=Creating a table from GROUP_CONCAT didn't work if the data was longer than 255 characters
changelog_1146_h2=Version 1.0.61 (2007-11-10)
changelog_1147_li=The Lucene Fulltext implementation is now compiled and included in the h2.jar. Requires Lucene 2.2.
changelog_1148_li=Added more tests. The code coverage is now at 83%.
changelog_1149_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_1150_li=The MODE used to be a global setting, now it is a database level setting.
changelog_1151_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_1152_li=Math operations using unknown data types (for example -? and ?+?) are now interpreted as decimal.
changelog_1153_li=INSTR, LOCATE\: backward searching is not supported by using a negative start position.
changelog_1154_li=Can now open a database stored in a jar or zip file (for example, jdbc\:h2\:zip\:c\:/temp/h2.zip\!/test).
changelog_1155_li=Files access now uses an API (FileSystem, FileObject), this will simplify adding other file systems and features (for example replication).
changelog_1156_li=Vlad Alexahin has translated H2 Console to Russian. Thanks a lot\!
changelog_1157_li=Descending indexes are now supported. This is useful when sorting columns descending, for example by creation date.
changelog_1158_li=Solved a Java level deadlock in the DatabaseCloser.
changelog_1159_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_1160_li=MVCC\: The system property h2.mvcc has been removed. A few bugs have been fixed, and new tests have been added.
changelog_1161_h2=Version 1.0.60 (2007-10-20)
changelog_1162_li=JdbcXAConnection\: starting a transaction before getting the connection didn't switch off autocommit.
changelog_1163_li=User defined aggregate functions are not supported.
changelog_1164_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_1165_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_1166_li=Linked tables\: now tables in non-default schemas are supported as well
changelog_1167_li=New Italian translation from PierPaolo Ucchino. Thanks a lot\!
changelog_1168_li=CSV\: New methods to set the escape character and field delimiter in the Csv tool and the CSVWRITE and CSVREAD methods.
changelog_1169_li=Prepared statements could not be used after data definition statements (creating tables and so on). Fixed.
changelog_1170_li=PreparedStatement.setMaxRows could not be changed to a higher value after the statement was executed.
changelog_1171_li=The H2 Console could not connect twice to the same H2 embedded database at the same time. Fixed.
changelog_1172_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_1173_h2=Version 1.0.59 (2007-10-03)
changelog_1174_li=When the data type was unknown in a subquery, sometimes the wrong exception (ArrayIndexOutOfBounds) was thrown. Fixed.
changelog_1175_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_1176_li=Multi-threaded kernel (MULTI_THREADED\=1)\: A synchronization problem has been fixed.
changelog_1177_li=A PreparedStatement that was cancelled could not be reused. Fixed.
changelog_1178_li=H2 Console\: Progress information when logging into a H2 embedded database (useful when opening a database is slow).
changelog_1179_li=When the database was closed while logging was disabled (LOG 0), re-opening the database was slow. Fixed.
changelog_1180_li=Fulltext search is now documented (in the Tutorial).
changelog_1181_li=The Console did not refresh the table list if the CREATE TABLE statement started with a comment. Fixed.
changelog_1182_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_1183_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_1184_li=REGEXP compatibility\: So far String.matches was used, but for compatibility with MySQL, now Matcher.find is used.
changelog_1185_li=SCRIPT\: the SQL statements in the result set now include the terminating semicolon as well. Simplifies copy and paste.
changelog_1186_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_1187_li=Views with subqueries as tables and queries with nested subqueries as tables did not always work. Fixed.
changelog_1188_li=Compatibility\: comparing columns with constants that are out of range does not throw an exception.
changelog_1189_h2=Version 1.0.58 (2007-09-15)
changelog_1190_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_1191_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_1192_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_1193_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_1194_li=When comparing TINYINT or SMALLINT columns against constants, the index was not used. Fixed.
changelog_1195_li=Maven 2\: new version are now automatically synced with the central repositories.
changelog_1196_li=The default value for MAX_MEMORY_UNDO is now 100000.
changelog_1197_li=The documentation indexer does no longer index Japanese pages. If somebody knows how to split Japanese into words please post it.
changelog_1198_li=Oracle compatibility\: SYSDATE now returns a timestamp. CHR(..) is now an alias for CHAR(..).
changelog_1199_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_1200_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_1201_li=Optimization for COLUMN IN(.., NULL) if the column does not allow NULL values.
changelog_1202_li=Using spaces in column and table aliases was not supported when used inside a view or temporary view.
changelog_1203_li=The version (build) number is now included in the manifest file.
changelog_1204_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_1205_li=The database file sizes are now increased at most 32 MB at any time.
changelog_1206_li=New method DatabaseEventListener.opened that is called just after opening a database.
changelog_1207_li=When using the Console with Internet Explorer 6.0 or 7.0, a Javascript error was thrown after clearing the query.
changelog_1208_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_1209_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_1210_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_1211_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_1212_li=For PgServer, character encoding other than UTF-8 did not work correctly. Fixed.
changelog_1213_li=Using a function in a GROUP BY expression that is used in a view as a condition did not always work.
changelog_1214_h2=Version 1.0.57 (2007-08-25)
changelog_1215_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_1216_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_1217_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_1218_li=Opening large read-only databases was very slow. Fixed.
changelog_1219_li=New Japanese translation of the error messages thanks to Ikemoto Masahiro. Thanks a lot\!
changelog_1220_li=Disabling / enabling referential integrity for a table can now be used inside a transaction.
changelog_1221_li=Rights checking for dynamic tables (SELECT * FROM (SELECT ...)) did not work. Fixed.
changelog_1222_li=Creating more than 10 views that depend on each other was very slow. Reconnecting was slow as well. Fixed.
changelog_1223_li=When used as as Servlet, the H2 Console did not work with SSL (using Tomcat). Fixed.
changelog_1224_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_1225_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_1226_li=Some unit tests failed on Linux because the file system works differently. The unit tests are fixed and should work now.
changelog_1227_li=Can now incrementally translate the documentation. See also FAQ.
changelog_1228_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_1229_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_1230_li=Google translate did not work for the H2 homepage. It should be fixed now.
changelog_1231_li=The CONVERT function did not work with views when using UNION.
changelog_1232_li=The build now issues a warning if the source code is switched to the wrong version.
changelog_1233_li=The default lock mode is now read committed instead of serialized.
changelog_1234_li=PG server\: data was truncated when reading large VARCHAR columns and decimal columns.
changelog_1235_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_1236_li=Some file operations didn't work for files in the root directory. Fixed.
changelog_1237_li=In the Restore tool, the parameter -file did not work. Fixed.
changelog_1238_li=Two-phase commit\: commit with transaction name was only supported in the recovery scan. Now it is always supported.
changelog_1239_li=The column name C_CURRENT_TIMESTAMP did not work in the last release.
changelog_1240_li=OpenOffice compatibility\: support database name in column names.
changelog_1241_h2=Version 1.0.56 (2007-08-02)
changelog_1242_li=A new tool to help translation has been implemented\: src/tools/org/h2/tools/i18n/PrepareTranslation. This tool can detect delta changes in the original (English) and prepends '\#' in translation if the original text was changed. It can also extract text from the user documentation (however, it is incomplete).
changelog_1243_li=The error messages (src/main/org/h2/res/_*.*) can now be translated.
changelog_1244_li=Part of the documentation has been translated to Japanese by Yusuke Fukushima.
changelog_1245_li=Some Unicode characters where not supported as identifier name. Thanks Yusuke Fukushima for reporting this problem.
changelog_1246_li=The default value DEFAULT_MAX_LENGTH_INPLACE_LOB has been changed from 128 to 1024.
changelog_1247_li=A server that implements the PostgreSQL protocol is now included and documented. That means, the PostgreSQL ODBC driver can be used to access a H2 database. See in the documentation for details.
changelog_1248_li=The experimental H2 ODBC driver has been removed.
changelog_1249_li=The default value for h2.defaultMaxMemoryUndo is now 50000. This avoids out of memory problems when using large transactions, however large transactions are slower because they are buffered to disk. To disable, use -Dh2.defaultMaxMemoryUndo\=2000000000.
changelog_1250_li=Support for regular expression function REGEXP_REPLACE(expression, regex, replacement) and regular expression LIKE\: expression REGEXP matchExpression. However, indexes are not yet used.
changelog_1251_li=The old view implementation has been removed.
changelog_1252_li=The SysTray tool has been removed, because JDK 1.6 has native support for system tray icons. Use the Console tool (org.h2.tools.Console) automatically installs a system tray icon if JDK 1.6 is used.
changelog_1253_li=H2 Console\: In the last release, the shutdown button did not work. Fixed.
changelog_1254_li=Referential integrity can now be disabled using SET REFERENTIAL_INTEGRITY FALSE. It can also be disable only for one table using ALTER TABLE SET REFERENTIAL_INTEGRITY FALSE.
changelog_1255_li=The Backup and Restore tools, and the BACKUP command did not back up LOBs when h2.lobFilesInDirectories was enabled. Fixed.
changelog_1256_li=Calculation of cache memory usage has been improved.
changelog_1257_li=In some situations record were released too late from the cache. Fixed.
changelog_1258_li=The cache size is now measured in KB instead of blocks of 128 byte.
changelog_1259_li=CREATE TABLE ... AS SELECT now needs less memory. While inserting the rows, the undo log is temporarily disabled. This avoid out of memory problems when creating large tables.
changelog_1260_li=The per session undo log can now be disabled. This setting is useful for bulk operations that don't need to be atomic, like bulk delete or update.
changelog_1261_li=The database file could get corrupted when there was an OutOfMemoryException in the middle of inserting a row.
changelog_1262_li=Optimization for WHERE NOT(...) and WHERE [NOT] booleanFlagColumn. This can be disabled using the system property h2.optimizeNot.
changelog_1263_li=Optimization for conditions like WHERE A\=B AND B\=X (A\=X is added). This often appears in joins. This can be disabled using the system property h2.optimizeTwoEquals.
changelog_1264_li=Documentation\: the source code in 'Compacting a Database' was incorrect. Fixed.
changelog_1265_li=In the H2 Console, result sets could not be modified because the default result set type is now forward only. For H2, now uses scrollable result sets. Also for other databases, but only when the query starts with @EDIT.
changelog_1266_li=Views using UNION did not work correctly. Fixed.
changelog_1267_li=Function tables did not work with views and EXPLAIN. Fixed.
download_1000_h1=Downloads
download_1001_h3=Version 1.0.67 (2008-03-15, Current)
download_1002_a=Windows Installer
......@@ -2470,7 +2472,7 @@ tutorial_1175_p=This can be done by create it using the NetBeans OpenOffice plug
tutorial_1176_h2=Java Web Start / JNLP
tutorial_1177_p=When using Java Web Start / JNLP (Java Network Launch Protocol), permissions tags must be set in the .jnlp file, and the application .jar file must be signed. Otherwise, when trying to write to the file system, the following exception will occur\: java.security.AccessControlException\: access denied (java.io.FilePermission ... read). Example permission tags\:
tutorial_1178_h2=Using a Connection Pool
tutorial_1179_p=For many databases, opening a connection is slow, and it is a good idea to use a connection pool to re-use connections. For H2 however opening a connection usually is fast if the database is already open. Using a connection pool manager for H2 actually slows down the process a bit, except if file encryption is used (in this case opening a connection is about half as fast are using a connection pool). A simple connection pool is\: <a href\="http\://www.source-code.biz/snippets/java/8.htm">Mini Connection Pool Manager</a> . There are other, more complex connection pools available, for example <a href\="http\://jakarta.apache.org/commons/dbcp/">DBCP</a> .
tutorial_1179_p=For many databases, opening a connection is slow, and it is a good idea to use a connection pool to re-use connections. For H2 however opening a connection usually is fast if the database is already open. Using a connection pool manager for H2 actually slows down the process a bit, except if file encryption is used (in this case opening a connection is about half as fast as using a connection pool). A simple connection pool manager is included in H2. It is based on the <a href\="http\://www.source-code.biz/snippets/java/8.htm">Mini Connection Pool Manager</a> from Christian d'Heureuse. There are other, more complex connection pools available, for example <a href\="http\://jakarta.apache.org/commons/dbcp/">DBCP</a> . The build-in connection pool manager is used as follows\:
tutorial_1180_h2=Fulltext Search
tutorial_1181_p=H2 supports Lucene full text search and native full text search implementation.
tutorial_1182_h3=Using the Native Full Text Search
......
......@@ -5,14 +5,17 @@
*
* This class is dual-licensed LGPL and under the H2 License.
*
* This module is free software: you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation, either version 3 of the License, or (at your option)
* any later version. See http://www.gnu.org/licenses/lgpl.html
* This module is free software: you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation, either
* version 3 of the License, or (at your option) any later version.
* See http://www.gnu.org/licenses/lgpl.html
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A
* PARTICULAR PURPOSE. See the GNU General Public
* License for more details.
*/
package org.h2.jdbcx;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论