提交 5ff0818d authored 作者: Thomas Mueller's avatar Thomas Mueller

--no commit message

--no commit message
上级 783321d4
...@@ -2792,1707 +2792,1716 @@ Mit Maven 2 ...@@ -2792,1707 +2792,1716 @@ Mit Maven 2
#Version 1.0.59 (2007-09-TODO) #Version 1.0.59 (2007-09-TODO)
@history_1010_li @history_1010_li
#H2 Console: Progress information when logging into a H2 embedded database (useful when opening a database is slow). #A PreparedStatement that was cancelled could not be reused. Fixed.
@history_1011_li @history_1011_li
#When the database was closed while logging was disabled (LOG 0), re-opening the database was slow. Fixed. #H2 Console: Progress information when logging into a H2 embedded database (useful when opening a database is slow).
@history_1012_li @history_1012_li
#Fulltext search is now documented (in the Tutorial). #When the database was closed while logging was disabled (LOG 0), re-opening the database was slow. Fixed.
@history_1013_li @history_1013_li
#The Console did not refresh the table list if the CREATE TABLE statement started with a comment. Fixed. #Fulltext search is now documented (in the Tutorial).
@history_1014_li @history_1014_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. #The Console did not refresh the table list if the CREATE TABLE statement started with a comment. Fixed.
@history_1015_li @history_1015_li
#When using the (undocumented) in-memory file system (jdbc:h2:memFS:x or jdbc:h2:memLZF:x), and using multiple connections, a ConcurrentModificationException could occur. Fixed. #When creating a table using CREATE TABLE .. AS SELECT, the precision for some data types (for example VARCHAR) was set to the default precision. Fixed.
@history_1016_li @history_1016_li
#REGEXP compatibility: So far String.matches was used, but for compatibility with MySQL, now Matcher.find is used. #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.
@history_1017_li @history_1017_li
#SCRIPT: the SQL statements in the result set now include the terminating semicolon as well. Simplifies copy and paste. #REGEXP compatibility: So far String.matches was used, but for compatibility with MySQL, now Matcher.find is used.
@history_1018_li @history_1018_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. #SCRIPT: the SQL statements in the result set now include the terminating semicolon as well. Simplifies copy and paste.
@history_1019_li @history_1019_li
#Views with subqueries as tables and queries with nested subqueries as tables did not always work. Fixed. #When using a subquery with group by as a table, some columns could not be used in the where condition in the outer query. Example: SELECT * FROM (SELECT ID, COUNT(*) C FROM TEST) WHERE C > 100. Fixed.
@history_1020_li @history_1020_li
#Views with subqueries as tables and queries with nested subqueries as tables did not always work. Fixed.
@history_1021_li
#Compatibility: comparing columns with constants that are out of range does not throw an exception. #Compatibility: comparing columns with constants that are out of range does not throw an exception.
@history_1021_h3 @history_1022_h3
#Version 1.0.58 (2007-09-15) #Version 1.0.58 (2007-09-15)
@history_1022_li @history_1023_li
#System.exit is no longer called by the WebServer, the Console and the Server tool (except to set the exit code if required). This is important when using OSGi. #System.exit is no longer called by the WebServer, the Console and the Server tool (except to set the exit code if required). This is important when using OSGi.
@history_1023_li @history_1024_li
#Optimization for independent subqueries. For example, this query can now an index: SELECT * FROM TEST WHERE ID = (SELECT MAX(ID) FROM TEST) This can be disabled by setting the system property h2.optimizeSubqueryCache to false. #Optimization for independent subqueries. For example, this query can now an index: SELECT * FROM TEST WHERE ID = (SELECT MAX(ID) FROM TEST) This can be disabled by setting the system property h2.optimizeSubqueryCache to false.
@history_1024_li @history_1025_li
#The explain plan now says: /* direct lookup query */ if the query can be processed directly without reading rows, for example when using MIN(indexed column), MAX(indexed column), or COUNT(*). #The explain plan now says: /* direct lookup query */ if the query can be processed directly without reading rows, for example when using MIN(indexed column), MAX(indexed column), or COUNT(*).
@history_1025_li @history_1026_li
#When using IFNULL, NULLIF, COALESCE, LEAST, or GREATEST, and the first parameter was ?, an exception was thrown. Now the highest data type of all parameters is used. #When using IFNULL, NULLIF, COALESCE, LEAST, or GREATEST, and the first parameter was ?, an exception was thrown. Now the highest data type of all parameters is used.
@history_1026_li @history_1027_li
#When comparing TINYINT or SMALLINT columns against constants, the index was not used. Fixed. #When comparing TINYINT or SMALLINT columns against constants, the index was not used. Fixed.
@history_1027_li @history_1028_li
#Maven 2: new version are now automatically synced with the central repositories. #Maven 2: new version are now automatically synced with the central repositories.
@history_1028_li @history_1029_li
#The default value for MAX_MEMORY_UNDO is now 100000. #The default value for MAX_MEMORY_UNDO is now 100000.
@history_1029_li @history_1030_li
#The documentation indexer does no longer index Japanese pages. If somebody knows how to split Japanese into words please post it. #The documentation indexer does no longer index Japanese pages. If somebody knows how to split Japanese into words please post it.
@history_1030_li @history_1031_li
#Oracle compatibility: SYSDATE now returns a timestamp. CHR(..) is now an alias for CHAR(..). #Oracle compatibility: SYSDATE now returns a timestamp. CHR(..) is now an alias for CHAR(..).
@history_1031_li @history_1032_li
#After deleting data, empty space in the database files was not efficiently reused (but it was reused when opening the database). This has been fixed. #After deleting data, empty space in the database files was not efficiently reused (but it was reused when opening the database). This has been fixed.
@history_1032_li @history_1033_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 an additionally problem, see http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4197876. A workaround has been implemented. #About 230 bytes per database was leaked. This is a problem for applications opening and closing many thousand databases. The main problem: a shutdown hook was added but never removed. Fixed. In JDK 1.4, there is an additionally problem, see http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4197876. A workaround has been implemented.
@history_1033_li @history_1034_li
#Optimization for COLUMN IN(.., NULL) if the column does not allow NULL values. #Optimization for COLUMN IN(.., NULL) if the column does not allow NULL values.
@history_1034_li @history_1035_li
#Using spaces in column and table aliases was not supported when used inside a view or temporary view. #Using spaces in column and table aliases was not supported when used inside a view or temporary view.
@history_1035_li @history_1036_li
#The version (build) number is now included in the manifest file. #The version (build) number is now included in the manifest file.
@history_1036_li @history_1037_li
#In some systems, SecureRandom.generateSeed is very slow (taking one minute or more). For those cases, an alternative method is used that takes less than one second. #In some systems, SecureRandom.generateSeed is very slow (taking one minute or more). For those cases, an alternative method is used that takes less than one second.
@history_1037_li @history_1038_li
#The database file sizes are now increased at most 32 MB at any time. #The database file sizes are now increased at most 32 MB at any time.
@history_1038_li @history_1039_li
#New method DatabaseEventListener.opened that is called just after opening a database. #New method DatabaseEventListener.opened that is called just after opening a database.
@history_1039_li @history_1040_li
#When using the Console with Internet Explorer 6.0 or 7.0, a Javascript error was thrown after clearing the query. #When using the Console with Internet Explorer 6.0 or 7.0, a Javascript error was thrown after clearing the query.
@history_1040_li @history_1041_li
#A database can now be opened even if class of a user defined function is not in the classpath. Trying to call the function will throws an exception. #A database can now be opened even if class of a user defined function is not in the classpath. Trying to call the function will throws an exception.
@history_1041_li @history_1042_li
#User defined functions and constants may not overload built-in functions and constants. This didn't work before, but now trying to create such an object will fail. #User defined functions and constants may not overload built-in functions and constants. This didn't work before, but now trying to create such an object will fail.
@history_1042_li @history_1043_li
#Improved MultiDimension tool (for spatial queries): in the last few releases the tool was actually slower than using a regular query (because index lookup got faster, and because the tool didn't support prepared statements) Now the tool generates prepared statements, and the performance is better again (about 5 times faster for a reasonable amount of data). #Improved MultiDimension tool (for spatial queries): in the last few releases the tool was actually slower than using a regular query (because index lookup got faster, and because the tool didn't support prepared statements) Now the tool generates prepared statements, and the performance is better again (about 5 times faster for a reasonable amount of data).
@history_1043_li @history_1044_li
#Adding a foreign key or when re-enabling referential integrity for a table failed when checking was enabled and the reference contained NULL. #Adding a foreign key or when re-enabling referential integrity for a table failed when checking was enabled and the reference contained NULL.
@history_1044_li @history_1045_li
#For PgServer, character encoding other than UTF-8 did not work correctly. Fixed. #For PgServer, character encoding other than UTF-8 did not work correctly. Fixed.
@history_1045_li @history_1046_li
#Using a function in a GROUP BY expression that is used in a view as a condition did not always work. #Using a function in a GROUP BY expression that is used in a view as a condition did not always work.
@history_1046_h3 @history_1047_h3
#Version 1.0.57 (2007-08-25) #Version 1.0.57 (2007-08-25)
@history_1047_li @history_1048_li
#New experimental feature MVCC (multi version concurrency control). Can be set as a option when opening the database (jdbc:h2:test;MVCC=TRUE) or as a system property (-Dh2.mvcc=true). This is work-in-progress, use it at your own risk. Feedback is welcome. #New experimental feature MVCC (multi version concurrency control). Can be set as a option when opening the database (jdbc:h2:test;MVCC=TRUE) or as a system property (-Dh2.mvcc=true). This is work-in-progress, use it at your own risk. Feedback is welcome.
@history_1048_li @history_1049_li
#The version number is now major.minor.micro where micro is the build number. Not all version are public, so there may be gaps in the micro. The minor changes when there is a file format change. #The version number is now major.minor.micro where micro is the build number. Not all version are public, so there may be gaps in the micro. The minor changes when there is a file format change.
@history_1049_li @history_1050_li
#The backup tool (org.h2.tools.Backup) did not work. The restore tool did not work when the -db parameter was used. Fixed. The documentation of the backup tool has been changed: only one database may be backed up at any time. #The backup tool (org.h2.tools.Backup) did not work. The restore tool did not work when the -db parameter was used. Fixed. The documentation of the backup tool has been changed: only one database may be backed up at any time.
@history_1050_li @history_1051_li
#Opening large read-only databases was very slow. Fixed. #Opening large read-only databases was very slow. Fixed.
@history_1051_li @history_1052_li
#New Japanese translation of the error messages thanks to Ikemoto Masahiro. Thanks a lot! #New Japanese translation of the error messages thanks to Ikemoto Masahiro. Thanks a lot!
@history_1052_li @history_1053_li
#Disabling / enabling referential integrity for a table can now be used inside a transaction. #Disabling / enabling referential integrity for a table can now be used inside a transaction.
@history_1053_li @history_1054_li
#Rights checking for dynamic tables (SELECT * FROM (SELECT ...)) did not work. Fixed. #Rights checking for dynamic tables (SELECT * FROM (SELECT ...)) did not work. Fixed.
@history_1054_li @history_1055_li
#Creating more than 10 views that depend on each other was very slow. Reconnecting was slow as well. Fixed. #Creating more than 10 views that depend on each other was very slow. Reconnecting was slow as well. Fixed.
@history_1055_li @history_1056_li
#When used as as Servlet, the H2 Console did not work with SSL (using Tomcat). Fixed. #When used as as Servlet, the H2 Console did not work with SSL (using Tomcat). Fixed.
@history_1056_li @history_1057_li
#When altering a table with foreign key constraint, if there was no manual index created for the referenced columns, the automatically created index was dropped while still being used. Fixed. #When altering a table with foreign key constraint, if there was no manual index created for the referenced columns, the automatically created index was dropped while still being used. Fixed.
@history_1057_li @history_1058_li
#Check and foreign key constraints now checks if the existing data is consistent (this can be disabled by appending NOCHECK). It is also possible to check existing data when re-enabling referential integrity for a table. #Check and foreign key constraints now checks if the existing data is consistent (this can be disabled by appending NOCHECK). It is also possible to check existing data when re-enabling referential integrity for a table.
@history_1058_li @history_1059_li
#Some unit tests failed on Linux because the file system works differently. The unit tests are fixed and should work now. #Some unit tests failed on Linux because the file system works differently. The unit tests are fixed and should work now.
@history_1059_li @history_1060_li
#Can now incrementally translate the documentation. See also FAQ. #Can now incrementally translate the documentation. See also FAQ.
@history_1060_li @history_1061_li
#Improved error messages: some tools can't show the root cause of an exception. Adding the message of the root cause to the message of the thrown exception now where it makes sense. #Improved error messages: some tools can't show the root cause of an exception. Adding the message of the root cause to the message of the thrown exception now where it makes sense.
@history_1061_li @history_1062_li
#The H2 Console can now connect to databases using JNDI. The driver class name must be a javax.naming.Context, (for example javax.naming.InitialContext), and the URL the resource name (for example java:comp/env/jdbc/Test). This should also work for linked tables. #The H2 Console can now connect to databases using JNDI. The driver class name must be a javax.naming.Context, (for example javax.naming.InitialContext), and the URL the resource name (for example java:comp/env/jdbc/Test). This should also work for linked tables.
@history_1062_li @history_1063_li
#Google translate did not work for the H2 homepage. It should be fixed now. #Google translate did not work for the H2 homepage. It should be fixed now.
@history_1063_li @history_1064_li
#The CONVERT function did not work with views when using UNION. #The CONVERT function did not work with views when using UNION.
@history_1064_li @history_1065_li
#The build now issues a warning if the source code is switched to the wrong version. #The build now issues a warning if the source code is switched to the wrong version.
@history_1065_li @history_1066_li
#The default lock mode is now read committed instead of serialized. #The default lock mode is now read committed instead of serialized.
@history_1066_li @history_1067_li
#PG server: data was truncated when reading large VARCHAR columns and decimal columns. #PG server: data was truncated when reading large VARCHAR columns and decimal columns.
@history_1067_li @history_1068_li
#PG server: when the same database was accessed multiple times using the PostgreSQL ODBC driver, the pg_catalog schema update failed, and connecting to the database was not possible. Fixed. #PG server: when the same database was accessed multiple times using the PostgreSQL ODBC driver, the pg_catalog schema update failed, and connecting to the database was not possible. Fixed.
@history_1068_li @history_1069_li
#Some file operations didn't work for files in the root directory. Fixed. #Some file operations didn't work for files in the root directory. Fixed.
@history_1069_li @history_1070_li
#In the Restore tool, the parameter -file did not work. Fixed. #In the Restore tool, the parameter -file did not work. Fixed.
@history_1070_li @history_1071_li
#Two-phase commit: commit with transaction name was only supported in the recovery scan. Now it is always supported. #Two-phase commit: commit with transaction name was only supported in the recovery scan. Now it is always supported.
@history_1071_li @history_1072_li
#The column name C_CURRENT_TIMESTAMP did not work in the last release. #The column name C_CURRENT_TIMESTAMP did not work in the last release.
@history_1072_li @history_1073_li
#OpenOffice compatibility: support database name in column names. #OpenOffice compatibility: support database name in column names.
@history_1073_h3 @history_1074_h3
#Version 1.0.56 (2007-08-02) #Version 1.0.56 (2007-08-02)
@history_1074_li @history_1075_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). #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).
@history_1075_li @history_1076_li
#The error messages (src/main/org/h2/res/_*.*) can now be translated. #The error messages (src/main/org/h2/res/_*.*) can now be translated.
@history_1076_li @history_1077_li
#Part of the documentation has been translated to Japanese by Yusuke Fukushima. #Part of the documentation has been translated to Japanese by Yusuke Fukushima.
@history_1077_li @history_1078_li
#Some Unicode characters where not supported as identifier name. Thanks Yusuke Fukushima for reporting this problem. #Some Unicode characters where not supported as identifier name. Thanks Yusuke Fukushima for reporting this problem.
@history_1078_li @history_1079_li
#The default value DEFAULT_MAX_LENGTH_INPLACE_LOB has been changed from 128 to 1024. #The default value DEFAULT_MAX_LENGTH_INPLACE_LOB has been changed from 128 to 1024.
@history_1079_li @history_1080_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. #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.
@history_1080_li @history_1081_li
#The experimental H2 ODBC driver has been removed. #The experimental H2 ODBC driver has been removed.
@history_1081_li @history_1082_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. #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.
@history_1082_li @history_1083_li
#Support for regular expression function REGEXP_REPLACE(expression, regex, replacement) and regular expression LIKE: expression REGEXP matchExpression. However, indexes are not yet used. #Support for regular expression function REGEXP_REPLACE(expression, regex, replacement) and regular expression LIKE: expression REGEXP matchExpression. However, indexes are not yet used.
@history_1083_li @history_1084_li
#The old view implementation has been removed. #The old view implementation has been removed.
@history_1084_li @history_1085_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. #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.
@history_1085_li @history_1086_li
#H2 Console: In the last release, the shutdown button did not work. Fixed. #H2 Console: In the last release, the shutdown button did not work. Fixed.
@history_1086_li @history_1087_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. #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.
@history_1087_li @history_1088_li
#The Backup and Restore tools, and the BACKUP command did not back up LOBs when h2.lobFilesInDirectories was enabled. Fixed. #The Backup and Restore tools, and the BACKUP command did not back up LOBs when h2.lobFilesInDirectories was enabled. Fixed.
@history_1088_li @history_1089_li
#Calculation of cache memory usage has been improved. #Calculation of cache memory usage has been improved.
@history_1089_li @history_1090_li
#In some situations record were released too late from the cache. Fixed. #In some situations record were released too late from the cache. Fixed.
@history_1090_li @history_1091_li
#The cache size is now measured in KB instead of blocks of 128 byte. #The cache size is now measured in KB instead of blocks of 128 byte.
@history_1091_li @history_1092_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. #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.
@history_1092_li @history_1093_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. #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.
@history_1093_li @history_1094_li
#The database file could get corrupted when there was an OutOfMemoryException in the middle of inserting a row. #The database file could get corrupted when there was an OutOfMemoryException in the middle of inserting a row.
@history_1094_li @history_1095_li
#Optimization for WHERE NOT(...) and WHERE [NOT] booleanFlagColumn. This can be disabled using the system property h2.optimizeNot. #Optimization for WHERE NOT(...) and WHERE [NOT] booleanFlagColumn. This can be disabled using the system property h2.optimizeNot.
@history_1095_li @history_1096_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. #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.
@history_1096_li @history_1097_li
#Documentation: the source code in 'Compacting a Database' was incorrect. Fixed. #Documentation: the source code in 'Compacting a Database' was incorrect. Fixed.
@history_1097_li @history_1098_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. #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.
@history_1098_li @history_1099_li
#Views using UNION did not work correctly. Fixed. #Views using UNION did not work correctly. Fixed.
@history_1099_li @history_1100_li
#Function tables did not work with views and EXPLAIN. Fixed. #Function tables did not work with views and EXPLAIN. Fixed.
@history_1100_h3 @history_1101_h3
#Version 1.0.55 (2007-07-12) #Version 1.0.55 (2007-07-12)
@history_1101_li @history_1102_li
#Support for the system property baseDir. This works for embedded databases as well. The setting is supported by the H2 Console using -Dh2.baseDir or -baseDir #Support for the system property baseDir. This works for embedded databases as well. The setting is supported by the H2 Console using -Dh2.baseDir or -baseDir
@history_1102_li @history_1103_li
#LIKE ESCAPE did not work correctly if the pattern was % or _, followed by an escape character, followed by %. Fixed. #LIKE ESCAPE did not work correctly if the pattern was % or _, followed by an escape character, followed by %. Fixed.
@history_1103_li @history_1104_li
#PostgreSQL compatibility: SET SEARCH_PATH, SERIAL, CURRENT_USER, E'text', $1. #PostgreSQL compatibility: SET SEARCH_PATH, SERIAL, CURRENT_USER, E'text', $1.
@history_1104_li @history_1105_li
#In some situations, when many tables with LOB columns were modified (ALTER TABLE), large objects were deleted. Fixed. #In some situations, when many tables with LOB columns were modified (ALTER TABLE), large objects were deleted. Fixed.
@history_1105_li @history_1106_li
#CREATE TABLE AS SELECT .. UNION .. did not work. Fixed. #CREATE TABLE AS SELECT .. UNION .. did not work. Fixed.
@history_1106_li @history_1107_li
#New column ID for INFORMATION_SCHEMA.INDEXES, SEQUENCES, USERS, ROLES, RIGHTS, FUNCTION_ALIASES, SCHEMATA, VIEWS, CONSTRAINTS, CONSTANTS, DOMAINS, TRIGGERS. #New column ID for INFORMATION_SCHEMA.INDEXES, SEQUENCES, USERS, ROLES, RIGHTS, FUNCTION_ALIASES, SCHEMATA, VIEWS, CONSTRAINTS, CONSTANTS, DOMAINS, TRIGGERS.
@history_1107_li @history_1108_li
#If large result sets (backed by a temporary file) where not closed, the file was not deleted. Now, the default result set type is FETCH_FORWARD. This means temp files are deleted automatically (without having to close the result set explicitly). But it also means ResultSet.beforeFirst can only be called for scrollable result sets. To create a scrollable result set, use Statement stat = conn.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY). #If large result sets (backed by a temporary file) where not closed, the file was not deleted. Now, the default result set type is FETCH_FORWARD. This means temp files are deleted automatically (without having to close the result set explicitly). But it also means ResultSet.beforeFirst can only be called for scrollable result sets. To create a scrollable result set, use Statement stat = conn.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY).
@history_1108_li @history_1109_li
#PreparedStatement.getMetaData is now implemented. #PreparedStatement.getMetaData is now implemented.
@history_1109_li @history_1110_li
#Now PreparedStatement.setBigDecimal(..) can be called with an object of a derived class if the system property h2.allowBigDecimalExtensions is set to true. #Now PreparedStatement.setBigDecimal(..) can be called with an object of a derived class if the system property h2.allowBigDecimalExtensions is set to true.
@history_1110_li @history_1111_li
#The default database name in the documentation is now jdbc:h2:~/test. Like this, the database is stored in the user home directory (system property user.home). Of course storing the database in the current working directory (as in jdbc:h2:test) still works. Using the user directory avoids the problem that the database is not found if the application runs in another directory than the console. #The default database name in the documentation is now jdbc:h2:~/test. Like this, the database is stored in the user home directory (system property user.home). Of course storing the database in the current working directory (as in jdbc:h2:test) still works. Using the user directory avoids the problem that the database is not found if the application runs in another directory than the console.
@history_1111_li @history_1112_li
#The SQL statement SET ASSERT has been deprecated, because Constants.CHECK is now final. To disable assertions (and improve performance), the system property h2.check can be used. Executing SET ASSERT still works, but has no effect. #The SQL statement SET ASSERT has been deprecated, because Constants.CHECK is now final. To disable assertions (and improve performance), the system property h2.check can be used. Executing SET ASSERT still works, but has no effect.
@history_1112_li @history_1113_li
#In the READ_COMMITTED mode, when the multi-threaded kernel is enabled, read locks are now acquired but released immediately after a query. #In the READ_COMMITTED mode, when the multi-threaded kernel is enabled, read locks are now acquired but released immediately after a query.
@history_1113_li @history_1114_li
#The default trace level for JdbcDataSourceFactory was DEBUG, so when using data sources a trace file was always created. Now the default trace level is ERROR, and the file is only created if necessary. #The default trace level for JdbcDataSourceFactory was DEBUG, so when using data sources a trace file was always created. Now the default trace level is ERROR, and the file is only created if necessary.
@history_1114_li @history_1115_li
#PooledConnection.getConnection took a long time if only one connection was open at any time. Fixed. #PooledConnection.getConnection took a long time if only one connection was open at any time. Fixed.
@history_1115_li @history_1116_li
#Referential integrity violation: Two different SQL states are now used for missing parent / existing child. #Referential integrity violation: Two different SQL states are now used for missing parent / existing child.
@history_1116_li @history_1117_li
#DatabaseEventListener.exceptionThrown has a new parameter: SQL #DatabaseEventListener.exceptionThrown has a new parameter: SQL
@history_1117_li @history_1118_li
#For compatibility reasons, the catalog name can now be used in queries: SELECT * FROM TESTDB.PUBLIC.TEST #For compatibility reasons, the catalog name can now be used in queries: SELECT * FROM TESTDB.PUBLIC.TEST
@history_1118_li @history_1119_li
#If SHUTDOWN IMMEDIATELY was called, then the connection was not closed and the database opened from somebody else at the same time, in some cases this could result in errors with LOB files. Fixed. #If SHUTDOWN IMMEDIATELY was called, then the connection was not closed and the database opened from somebody else at the same time, in some cases this could result in errors with LOB files. Fixed.
@history_1119_li @history_1120_li
#The new view implementation is now enabled by default. To use the old implementation, set the system property 'h2.indexOld' to true (java -Dh2.indexOld=true ..., or in source code Constants.INDEX_OLD = true). If no problems are found, the old implementation will be removed in the next release. The old implementation does not work with multi-level nested temporary views (select * from (select * from (select * from test))). #The new view implementation is now enabled by default. To use the old implementation, set the system property 'h2.indexOld' to true (java -Dh2.indexOld=true ..., or in source code Constants.INDEX_OLD = true). If no problems are found, the old implementation will be removed in the next release. The old implementation does not work with multi-level nested temporary views (select * from (select * from (select * from test))).
@history_1120_li @history_1121_li
#The new view implementation did not work with < and <= comparison, and did not allow conditions on aggregates or grouped columns (HAVING). Fixed.. Fixed. #The new view implementation did not work with < and <= comparison, and did not allow conditions on aggregates or grouped columns (HAVING). Fixed.. Fixed.
@history_1121_li @history_1122_li
#Both view implementations did not work with multiple levels of nested temporary views (FROM (SELECT...)). Fixed. #Both view implementations did not work with multiple levels of nested temporary views (FROM (SELECT...)). Fixed.
@history_1122_li @history_1123_li
#The H2 Console can now be run as a standalone web application, or it can be embedded as a servlet into any existing web application. To build the 'H2 Console' web application, execute 'ant warConsole'. See src/tools/org/h2/server/web and src/tools/WEB-INF for details. This web application has been tested with Tomcat and Jetty. #The H2 Console can now be run as a standalone web application, or it can be embedded as a servlet into any existing web application. To build the 'H2 Console' web application, execute 'ant warConsole'. See src/tools/org/h2/server/web and src/tools/WEB-INF for details. This web application has been tested with Tomcat and Jetty.
@history_1123_li @history_1124_li
#Deleting database files didn't work for Windows if the database was on the root directory of a drive. #Deleting database files didn't work for Windows if the database was on the root directory of a drive.
@history_1124_li @history_1125_li
#The Polish translation is available. Thanks a lot to Tomek! #The Polish translation is available. Thanks a lot to Tomek!
@history_1125_li @history_1126_li
#Windows service: the CLASSPATH was not included when starting the service. Fixed. #Windows service: the CLASSPATH was not included when starting the service. Fixed.
@history_1126_h3 @history_1127_h3
#Version 1.0.50 (2007-06-17) #Version 1.0.50 (2007-06-17)
@history_1127_li @history_1128_li
#File names starting with ~ are now in the user directory (Java system property user.home) #File names starting with ~ are now in the user directory (Java system property user.home)
@history_1128_li @history_1129_li
#New Console starter application uses the JDK 1.6 system tray functionality if available, or a simple AWT frame for other platforms. To try it out, execute java org.h2.tools.Console. Feedback is welcome. This console starter application is not the default yet, but the plan is to remove the SysTray tool in the future. #New Console starter application uses the JDK 1.6 system tray functionality if available, or a simple AWT frame for other platforms. To try it out, execute java org.h2.tools.Console. Feedback is welcome. This console starter application is not the default yet, but the plan is to remove the SysTray tool in the future.
@history_1129_li @history_1130_li
#New method Csv.write(Writer writer, ResultSet rs) #New method Csv.write(Writer writer, ResultSet rs)
@history_1130_li @history_1131_li
#If a Reader or InputStream of a LOB is not closed, the LOB can not be deleted (embedded mode only). The exception is typically 'Error while renaming file'). As a workaround, set the system property 'h2.lobCloseBetweenReads' to true to close the LOB files between read operations. However this slows down reading. #If a Reader or InputStream of a LOB is not closed, the LOB can not be deleted (embedded mode only). The exception is typically 'Error while renaming file'). As a workaround, set the system property 'h2.lobCloseBetweenReads' to true to close the LOB files between read operations. However this slows down reading.
@history_1131_li @history_1132_li
#Server mode: the server stack trace was included in SQLException messages. Fixed. #Server mode: the server stack trace was included in SQLException messages. Fixed.
@history_1132_li @history_1133_li
#Views support has been partially re-implemented. Views are up to 6 times faster. Compared to regular queries, only 20% overhead. Because this is a bigger change, it is not enabled by default. To enable it, set the system property 'h2.indexNew' to true (java -Dh2.indexNew=true ..., or in source code Constants.INDEX_NEW = true). If no problems are found, this will be enabled by default in the next release. #Views support has been partially re-implemented. Views are up to 6 times faster. Compared to regular queries, only 20% overhead. Because this is a bigger change, it is not enabled by default. To enable it, set the system property 'h2.indexNew' to true (java -Dh2.indexNew=true ..., or in source code Constants.INDEX_NEW = true). If no problems are found, this will be enabled by default in the next release.
@history_1133_li @history_1134_li
#In INSERT and MERGE statements, each column may only be specified once now. #In INSERT and MERGE statements, each column may only be specified once now.
@history_1134_li @history_1135_li
#For most IOExceptions now the file name is included in the error message. #For most IOExceptions now the file name is included in the error message.
@history_1135_li @history_1136_li
#A java.util.Date object is now converted to a TIMESTAMP in the JDBC API. Previously it was converted to a DATE. #A java.util.Date object is now converted to a TIMESTAMP in the JDBC API. Previously it was converted to a DATE.
@history_1136_li @history_1137_li
#After calling SHUTDOWN and closing the connection and a superfluous error message appeared in the trace file. Fixed. #After calling SHUTDOWN and closing the connection and a superfluous error message appeared in the trace file. Fixed.
@history_1137_li @history_1138_li
#In many situations, views did not use an index if they could have. Fixed. Also the explain plan for views works now. #In many situations, views did not use an index if they could have. Fixed. Also the explain plan for views works now.
@history_1138_li @history_1139_li
#The table id (important for LOB files) is now included in INFORMATION_SCHEMA.TABLES. #The table id (important for LOB files) is now included in INFORMATION_SCHEMA.TABLES.
@history_1139_li @history_1140_li
#When using DISTINCT, ORDER BY a function works now as long as it is in the column list. #When using DISTINCT, ORDER BY a function works now as long as it is in the column list.
@history_1140_li @history_1141_li
#Support for the data type CHAR. The difference to VARCHAR is: trailing spaces are ignored. This data type is supported for compatibility with other databases and older applications. #Support for the data type CHAR. The difference to VARCHAR is: trailing spaces are ignored. This data type is supported for compatibility with other databases and older applications.
@history_1141_li @history_1142_li
#The aggregate function COUNT(...) now returns a long instead of an int. #The aggregate function COUNT(...) now returns a long instead of an int.
@history_1142_li @history_1143_li
#The 'ordering' of data types was not always correct, for example an operation involving REAL and DOUBLE produced a result of type REAL. Fixed. #The 'ordering' of data types was not always correct, for example an operation involving REAL and DOUBLE produced a result of type REAL. Fixed.
@history_1143_li @history_1144_li
#CSV tool: If the same instance was used for reading and writing, the tool wrote the column names twice. Fixed. #CSV tool: If the same instance was used for reading and writing, the tool wrote the column names twice. Fixed.
@history_1144_li @history_1145_li
#Compatibility: Support for the data type notation CHARACTER VARYING. #Compatibility: Support for the data type notation CHARACTER VARYING.
@history_1145_li @history_1146_li
#Can now ORDER BY -1 (meaning order by first column, descending), and ORDER BY ? (parameterized column number). #Can now ORDER BY -1 (meaning order by first column, descending), and ORDER BY ? (parameterized column number).
@history_1146_li @history_1147_li
#Databases with invalid linked tables (for example, because the target database is not accessible) can now be opened. Old table links don't work however. #Databases with invalid linked tables (for example, because the target database is not accessible) can now be opened. Old table links don't work however.
@history_1147_li @history_1148_li
#There was a small memory leak in the trace module. One object per opened connection was kept in a hash map. #There was a small memory leak in the trace module. One object per opened connection was kept in a hash map.
@history_1148_li @history_1149_li
#Linked tables can now emit UPDATE statements if 'EMIT UPDATES' is specified in the CREATE LINKED TABLE statement. So far, updating a row always deleted the old row and then inserted the new row. #Linked tables can now emit UPDATE statements if 'EMIT UPDATES' is specified in the CREATE LINKED TABLE statement. So far, updating a row always deleted the old row and then inserted the new row.
@history_1149_li @history_1150_li
#In the last release, the H2 Console opened two connection when logging into a database, and only closed one connection when logging out. Fixed. #In the last release, the H2 Console opened two connection when logging into a database, and only closed one connection when logging out. Fixed.
@history_1150_li @history_1151_li
#New functions LEAST and GREATEST to get the smallest or largest value from a list. #New functions LEAST and GREATEST to get the smallest or largest value from a list.
@history_1151_h3 @history_1152_h3
#Version 1.0.46 (2007-04-29) #Version 1.0.46 (2007-04-29)
@history_1152_li @history_1153_li
#Unnamed private in-memory database (jdbc:h2:mem:) were not 'private' as documented. Fixed. #Unnamed private in-memory database (jdbc:h2:mem:) were not 'private' as documented. Fixed.
@history_1153_li @history_1154_li
#Autocomplete in the Console application: now the result frame scrolls to the top when the list is updated. #Autocomplete in the Console application: now the result frame scrolls to the top when the list is updated.
@history_1154_li @history_1155_li
#GROUP BY expressions did not work correctly in subqueries. Fixed. #GROUP BY expressions did not work correctly in subqueries. Fixed.
@history_1155_li @history_1156_li
#New function TABLE to define ad-hoc (temporary) tables in a query. This also solves problems with variable-size IN(...) queries: instead of SELECT * FROM TEST WHERE ID IN(?, ?, ...) you can now write: SELECT * FROM TABLE(ID INT=?) X, TEST WHERE X.ID=TEST.ID In this case, the index is used. #New function TABLE to define ad-hoc (temporary) tables in a query. This also solves problems with variable-size IN(...) queries: instead of SELECT * FROM TEST WHERE ID IN(?, ?, ...) you can now write: SELECT * FROM TABLE(ID INT=?) X, TEST WHERE X.ID=TEST.ID In this case, the index is used.
@history_1156_li @history_1157_li
#New data type ARRAY. Actually it was there before, but is now documented and better tested (however it must still be considered experimental). The java.sql.Array implementation is incomplete, but setObject(1, new Object[]{...}) and getObject(..) can be used. New functions ARRAY_GET and ARRAY_LENGTH. #New data type ARRAY. Actually it was there before, but is now documented and better tested (however it must still be considered experimental). The java.sql.Array implementation is incomplete, but setObject(1, new Object[]{...}) and getObject(..) can be used. New functions ARRAY_GET and ARRAY_LENGTH.
@history_1157_li @history_1158_li
#SimpleResultSet now has some basic data type conversion features. #SimpleResultSet now has some basic data type conversion features.
@history_1158_li @history_1159_li
#When using JDK 1.5 or later, and switching on h2.lobFilesInDirectories, the performance for creating LOBs was bad. This has been fixed, however creating lots of LOBs it is still faster when the setting is switched off. #When using JDK 1.5 or later, and switching on h2.lobFilesInDirectories, the performance for creating LOBs was bad. This has been fixed, however creating lots of LOBs it is still faster when the setting is switched off.
@history_1159_li @history_1160_li
#A problem with multiple unnamed dynamic tables (FROM (SELECT...)) has been fixed. #A problem with multiple unnamed dynamic tables (FROM (SELECT...)) has been fixed.
@history_1160_li @history_1161_li
#Appending 'Z' to a timestamp did not have an effect. Now it is interpreted as +00:00 (GMT). #Appending 'Z' to a timestamp did not have an effect. Now it is interpreted as +00:00 (GMT).
@history_1161_li @history_1162_li
#The BACKUP command is better tested and documented. This means hot backup (online backup) is now possible. #The BACKUP command is better tested and documented. This means hot backup (online backup) is now possible.
@history_1162_li @history_1163_li
#The old 'Backup' tool is now called 'Script' (as the SQL statement). #The old 'Backup' tool is now called 'Script' (as the SQL statement).
@history_1163_li @history_1164_li
#There are new 'Backup' and 'Restore' tools that work with database files directly. #There are new 'Backup' and 'Restore' tools that work with database files directly.
@history_1164_li @history_1165_li
#The complete syntax for referential and check constraints is now supported when written as part of the column definition, behind PRIMARY KEY. #The complete syntax for referential and check constraints is now supported when written as part of the column definition, behind PRIMARY KEY.
@history_1165_li @history_1166_li
#CASE WHEN ... returned the wrong result when the condition evaluated to NULL. #CASE WHEN ... returned the wrong result when the condition evaluated to NULL.
@history_1166_li @history_1167_li
#The new function LINK_SCHEMA simplifies linking all tables of a schema. #The new function LINK_SCHEMA simplifies linking all tables of a schema.
@history_1167_li @history_1168_li
#SCRIPT DROP now also drops aliases (Java functions) if they exist. #SCRIPT DROP now also drops aliases (Java functions) if they exist.
@history_1168_li @history_1169_li
#For encrypted databases, the trace option can no longer be enabled manually by creating a file. #For encrypted databases, the trace option can no longer be enabled manually by creating a file.
@history_1169_li @history_1170_li
#For linked tables, NULL in the unique key is now supported. #For linked tables, NULL in the unique key is now supported.
@history_1170_li @history_1171_li
#For read-only databases, temp files are now created in the default temp directory instead of the database directory. #For read-only databases, temp files are now created in the default temp directory instead of the database directory.
@history_1171_li @history_1172_li
#Sending CLOB data was slow in some systems when using the server version. Fixed. #Sending CLOB data was slow in some systems when using the server version. Fixed.
@history_1172_li @history_1173_li
#CSVWRITE now returns the number of rows written. #CSVWRITE now returns the number of rows written.
@history_1173_li @history_1174_li
#The data type of NULLIF was NULL if the first expression was a column. Now the data type is set correctly. #The data type of NULLIF was NULL if the first expression was a column. Now the data type is set correctly.
@history_1174_li @history_1175_li
#Indexes (and other related objects) for local temporary tables where not dropped when the session was closed. Fixed. #Indexes (and other related objects) for local temporary tables where not dropped when the session was closed. Fixed.
@history_1175_li @history_1176_li
#ALTER TABLE did not work for tables with computed columns. #ALTER TABLE did not work for tables with computed columns.
@history_1176_li @history_1177_li
#SQLException.getCause of the now works for JDK 1.4 and higher. #SQLException.getCause of the now works for JDK 1.4 and higher.
@history_1177_li @history_1178_li
#If the index file was deleted, an error was logged in the .trace.db file. This is no longer done. #If the index file was deleted, an error was logged in the .trace.db file. This is no longer done.
@history_1178_li @history_1179_li
#The Portuguese (Europe) translation is available. Thanks a lot to Antonio Casqueiro! #The Portuguese (Europe) translation is available. Thanks a lot to Antonio Casqueiro!
@history_1179_li @history_1180_li
#The error message for invalid views has been improved (the root cause is included in the message now). #The error message for invalid views has been improved (the root cause is included in the message now).
@history_1180_li @history_1181_li
#IN(SELECT ...) was not working correctly if the subquery returned a NULL value. Fixed. #IN(SELECT ...) was not working correctly if the subquery returned a NULL value. Fixed.
@history_1181_li @history_1182_li
#DROP ALL OBJECTS did not drop constants. #DROP ALL OBJECTS did not drop constants.
@history_1182_li @history_1183_li
#DROP ALL OBJECTS dropped the role PUBLIC, which was wrong. Fixed. #DROP ALL OBJECTS dropped the role PUBLIC, which was wrong. Fixed.
@history_1183_li @history_1184_li
#CASE was parsed as a function if the expression was in (). Fixed. #CASE was parsed as a function if the expression was in (). Fixed.
@history_1184_li @history_1185_li
#When ORDER BY was used together with DISTINCT, it was required to type the column name exactly in the select list and the order list exactly in the same way. This is not required any longer. #When ORDER BY was used together with DISTINCT, it was required to type the column name exactly in the select list and the order list exactly in the same way. This is not required any longer.
@history_1185_h3 @history_1186_h3
#Version 1.0.44 (2007-03-04) #Version 1.0.44 (2007-03-04)
@history_1186_li @history_1187_li
#System sequences (automatically created sequences for IDENTITY or AUTO_INCREMENT columns) are now random (UUIDs) to avoid clashes when merging databases using RUNSCRIPT. #System sequences (automatically created sequences for IDENTITY or AUTO_INCREMENT columns) are now random (UUIDs) to avoid clashes when merging databases using RUNSCRIPT.
@history_1187_li @history_1188_li
#The precision for linked tables was not correct for some data types, for example VARCHAR. Fixed. #The precision for linked tables was not correct for some data types, for example VARCHAR. Fixed.
@history_1188_li @history_1189_li
#Many problems and bugs in the XA support (package javax.sql) have been fixed. #Many problems and bugs in the XA support (package javax.sql) have been fixed.
@history_1189_li @history_1190_li
#Now the server tool (org.h2.tools.Server) terminates with an exit code if a problem occured. #Now the server tool (org.h2.tools.Server) terminates with an exit code if a problem occured.
@history_1190_li @history_1191_li
#The JDBC driver is now loaded if the JdbcDataSource class is loaded. #The JDBC driver is now loaded if the JdbcDataSource class is loaded.
@history_1191_li @history_1192_li
#After renaming a user the password becomes invalid. This is now documented. #After renaming a user the password becomes invalid. This is now documented.
@history_1192_li @history_1193_li
#XAResource.recover didn't work. Fixed. #XAResource.recover didn't work. Fixed.
@history_1193_li @history_1194_li
#XAResource.recover did throw an exception with the code XAER_OUTSIDE if there was no connection. Now the code is XAER_RMERR. #XAResource.recover did throw an exception with the code XAER_OUTSIDE if there was no connection. Now the code is XAER_RMERR.
@history_1194_li @history_1195_li
#SCRIPT did not work correctly with BLOB or CLOB data. Fixed. #SCRIPT did not work correctly with BLOB or CLOB data. Fixed.
@history_1195_li @history_1196_li
#BACKUP TO 'test.zip' now works with encrypted databases and CLOB and BLOB data. #BACKUP TO 'test.zip' now works with encrypted databases and CLOB and BLOB data.
@history_1196_li @history_1197_li
#The function CASE WHEN ... didn't convert the returned value to the same data type, resulting in unexpected behavior in many cases. Fixed. #The function CASE WHEN ... didn't convert the returned value to the same data type, resulting in unexpected behavior in many cases. Fixed.
@history_1197_li @history_1198_li
#Truncating a table is now allowed if the table references another table (but still not allowed if the table is references by another table). #Truncating a table is now allowed if the table references another table (but still not allowed if the table is references by another table).
@history_1198_li @history_1199_li
#ORDER BY picked the wrong column if the same column name (but with a different table name) was used twice in the select list. #ORDER BY picked the wrong column if the same column name (but with a different table name) was used twice in the select list.
@history_1199_li @history_1200_li
#When a subquery was used in the select list of a query, and GROUP BY was used at the same time, a NullPointerException could occur. Fixed. #When a subquery was used in the select list of a query, and GROUP BY was used at the same time, a NullPointerException could occur. Fixed.
@history_1200_li @history_1201_li
#ORDER BY did not work when DISTINCT was used at the same time in some situations. Fixed. #ORDER BY did not work when DISTINCT was used at the same time in some situations. Fixed.
@history_1201_li @history_1202_li
#When using IN(...) on a case insensitive column (VARCHAR_IGNORECASE), an incorrect optimization was made and the result was wrong sometimes. #When using IN(...) on a case insensitive column (VARCHAR_IGNORECASE), an incorrect optimization was made and the result was wrong sometimes.
@history_1202_h3 @history_1203_h3
#Version 1.0.41 (2007-01-30) #Version 1.0.41 (2007-01-30)
@history_1203_li @history_1204_li
#Experimental online backup feature using the SQL statement BACKUP TO 'fileName'. This creates a backup in the form of a zip file. Unlike the SCRIPT TO command, the data tables are not locked. #Experimental online backup feature using the SQL statement BACKUP TO 'fileName'. This creates a backup in the form of a zip file. Unlike the SCRIPT TO command, the data tables are not locked.
@history_1204_li @history_1205_li
#When using the server mode, temporary files for large LOB values are now deleted when the result set is closed. This also means that LOBs become unavailable after closing the result, however this is according to the specs. #When using the server mode, temporary files for large LOB values are now deleted when the result set is closed. This also means that LOBs become unavailable after closing the result, however this is according to the specs.
@history_1205_li @history_1206_li
#It was possible that SUM throws a class cast exception if the parameter was a conditional expression. #It was possible that SUM throws a class cast exception if the parameter was a conditional expression.
@history_1206_li @history_1207_li
#Benchmark: Added a multi-client test case, BenchB (similar to TPC-B). #Benchmark: Added a multi-client test case, BenchB (similar to TPC-B).
@history_1207_li @history_1208_li
#Compatibility: SCHEMA_NAME.SEQUENCE_NAME.NEXTVAL now works as expected. #Compatibility: SCHEMA_NAME.SEQUENCE_NAME.NEXTVAL now works as expected.
@history_1208_li @history_1209_li
#The Console is now translated to Hungarian thanks to Andras Hideg, and to Indonesian thanks to Joko Yuliantoro #The Console is now translated to Hungarian thanks to Andras Hideg, and to Indonesian thanks to Joko Yuliantoro
@history_1209_li @history_1210_li
#XAConnection: A NullPointerException was thrown if addConnectionEventListener was called before opening the connection. #XAConnection: A NullPointerException was thrown if addConnectionEventListener was called before opening the connection.
@history_1210_li @history_1211_li
#In case the result set of a subquery was re-used, an exception was throws if the subquery result did not fit in memory. Now the result is not re-used in this case. Generally, large subqueries should be avoided for performance reasons. #In case the result set of a subquery was re-used, an exception was throws if the subquery result did not fit in memory. Now the result is not re-used in this case. Generally, large subqueries should be avoided for performance reasons.
@history_1211_li @history_1212_li
#The command "drop all objects delete files" did not work on linux if the database name was lower case. #The command "drop all objects delete files" did not work on linux if the database name was lower case.
@history_1212_li @history_1213_li
#When setting the URL to an empty string the DataSource now throws an better exception. #When setting the URL to an empty string the DataSource now throws an better exception.
@history_1213_li @history_1214_li
#Parsing of LIKE .. ESCAPE did not stop at the expected point. Fixed. #Parsing of LIKE .. ESCAPE did not stop at the expected point. Fixed.
@history_1214_li @history_1215_li
#Can now use UUID columns as generated key values. However, the UUID column must be the primary key. #Can now use UUID columns as generated key values. However, the UUID column must be the primary key.
@history_1215_li @history_1216_li
#Improved the Javadoc documentation. Now unsupported features are marked with [Not supported], and partially supported features are [Partially supported]. #Improved the Javadoc documentation. Now unsupported features are marked with [Not supported], and partially supported features are [Partially supported].
@history_1216_li @history_1217_li
#The forum subscriptions (the emails sent from the forum) now works. #The forum subscriptions (the emails sent from the forum) now works.
@history_1217_h3 @history_1218_h3
#Version 1.0.40 (2007-01-17) #Version 1.0.40 (2007-01-17)
@history_1218_li @history_1219_li
#Setting the collation (SET COLLATOR) was very slow on some systems (up to 24 seconds). Thanks a lot to Martina Nissler for finding this problem! #Setting the collation (SET COLLATOR) was very slow on some systems (up to 24 seconds). Thanks a lot to Martina Nissler for finding this problem!
@history_1219_li @history_1220_li
#The Console is now translated to Japanese thanks to IKEMOTO, Masahiro (ikeyan (at) arizona (dot) ne (dot) jp) #The Console is now translated to Japanese thanks to IKEMOTO, Masahiro (ikeyan (at) arizona (dot) ne (dot) jp)
@history_1220_li @history_1221_li
#The database engine can now be compiled with JDK 1.3 using ant codeswitch. There are still some limitations, and the ant script to build the jar does not work yet. #The database engine can now be compiled with JDK 1.3 using ant codeswitch. There are still some limitations, and the ant script to build the jar does not work yet.
@history_1221_li @history_1222_li
#Fixed a problem where data in the log file was not written to the data file (recovery failure) after a crash, if an index was deleted previously. #Fixed a problem where data in the log file was not written to the data file (recovery failure) after a crash, if an index was deleted previously.
@history_1222_li @history_1223_li
#SCRIPT NODATA now writes the row count for each table (this simplifies comparing databases). #SCRIPT NODATA now writes the row count for each table (this simplifies comparing databases).
@history_1223_li @history_1224_li
#Selecting a column using the syntax schemaName.tableName.columnName did not work in all cases. #Selecting a column using the syntax schemaName.tableName.columnName did not work in all cases.
@history_1224_li @history_1225_li
#Can now parse timestamps with timezone information (Z or +/-hh:mm) and dates before year 1. However dates before year 1 are not formatted correctly (this is a Java problem). #Can now parse timestamps with timezone information (Z or +/-hh:mm) and dates before year 1. However dates before year 1 are not formatted correctly (this is a Java problem).
@history_1225_li @history_1226_li
#When stopping the TCP server from an application and immediately afterwards staring it again using a different TCP password, an exception was thrown sometimes. #When stopping the TCP server from an application and immediately afterwards staring it again using a different TCP password, an exception was thrown sometimes.
@history_1226_li @history_1227_li
#Now PreparedStatement.setBigDecimal(..) can only be called with an object of type java.math.BigDecimal. Derived classes are not allowed any more. Many thanks to Maciej Wegorkiewicz for finding this problem. #Now PreparedStatement.setBigDecimal(..) can only be called with an object of type java.math.BigDecimal. Derived classes are not allowed any more. Many thanks to Maciej Wegorkiewicz for finding this problem.
@history_1227_li @history_1228_li
#It was possible to manipulate values in the byte array after calling PreparedStatement.setBytes, and this could lead to problems if the same byte array was used again. Now the byte array is copied if required. #It was possible to manipulate values in the byte array after calling PreparedStatement.setBytes, and this could lead to problems if the same byte array was used again. Now the byte array is copied if required.
@history_1228_li @history_1229_li
#Date, time and timestamp objects were cloned in cases where it was not required. Fixed. #Date, time and timestamp objects were cloned in cases where it was not required. Fixed.
@history_1229_h3 @history_1230_h3
#Version 1.0.36 (2007-01-02) #Version 1.0.36 (2007-01-02)
@history_1230_li @history_1231_li
#It was possible to drop the sequence of a temporary tables with DROP ALL OBJECTS, resulting in a null pointer exception afterwards. #It was possible to drop the sequence of a temporary tables with DROP ALL OBJECTS, resulting in a null pointer exception afterwards.
@history_1231_li @history_1232_li
#Prepared statements with non-constant functions such as CURRENT_TIMESTAMP() did not get re-evaluated if the result of the function changed. Fixed. #Prepared statements with non-constant functions such as CURRENT_TIMESTAMP() did not get re-evaluated if the result of the function changed. Fixed.
@history_1232_li @history_1233_li
#The (relative or absolute) directory where the script files are stored or read can now be changed using the system property h2.scriptDirectory #The (relative or absolute) directory where the script files are stored or read can now be changed using the system property h2.scriptDirectory
@history_1233_li @history_1234_li
#Client trace files now created in the directory 'trace.db' and no longer the application directory. This can be changed using the system property h2.clientTraceDirectory. #Client trace files now created in the directory 'trace.db' and no longer the application directory. This can be changed using the system property h2.clientTraceDirectory.
@history_1234_li @history_1235_li
#In some situations the log file got corrupt if the process was terminated while the database was opening. #In some situations the log file got corrupt if the process was terminated while the database was opening.
@history_1235_li @history_1236_li
#Using ;RECOVER=1 in the database URL threw a syntax exception. Fixed. #Using ;RECOVER=1 in the database URL threw a syntax exception. Fixed.
@history_1236_li @history_1237_li
#If a CLOB or BLOB was deleted in a transaction and the database crashed before the transaction was committed or rolled back, the object was lost if it was large. Fixed. #If a CLOB or BLOB was deleted in a transaction and the database crashed before the transaction was committed or rolled back, the object was lost if it was large. Fixed.
@history_1237_li @history_1238_li
#Now using ant-build.properties. The jdk is automatically updated when using ant codeswitch... #Now using ant-build.properties. The jdk is automatically updated when using ant codeswitch...
@history_1238_li @history_1239_li
#Cluster: Now the server can detect if a query is read-only, and in this case the result is only read from the first cluster node. However, there is currently no load balancing made to avoid problems with transactions / locking. #Cluster: Now the server can detect if a query is read-only, and in this case the result is only read from the first cluster node. However, there is currently no load balancing made to avoid problems with transactions / locking.
@history_1239_li @history_1240_li
#Many settings are now initialized from system properties and can be changed on the command line without having recompile the database. See Advances / Settings Read from System Properties. #Many settings are now initialized from system properties and can be changed on the command line without having recompile the database. See Advances / Settings Read from System Properties.
@history_1240_li @history_1241_li
#H2 is now available in Maven. The groupId is com.h2database, the artifactId h2 and the version 1.0.20061217. To create the maven artifacts yourself, use 'ant mavenUploadLocal' and 'ant mavenBuildCentral'. #H2 is now available in Maven. The groupId is com.h2database, the artifactId h2 and the version 1.0.20061217. To create the maven artifacts yourself, use 'ant mavenUploadLocal' and 'ant mavenBuildCentral'.
@history_1241_h3 @history_1242_h3
#Version 1.0.25 (2006-08-31) #Version 1.0.25 (2006-08-31)
@history_1242_li @history_1243_li
#In some situations, wide b-tree indexes (with large VARCHAR columns for example) could get corrupted. Fixed. #In some situations, wide b-tree indexes (with large VARCHAR columns for example) could get corrupted. Fixed.
@history_1243_li @history_1244_li
#ORDER BY was broken in the last release when using table aliases. Fixed. #ORDER BY was broken in the last release when using table aliases. Fixed.
@history_1244_h3 @history_1245_h3
#Version 0.9 (2005-12-13) #Version 0.9 (2005-12-13)
@history_1245_li @history_1246_li
#First public release. #First public release.
@history_1246_h2 @history_1247_h2
#Roadmap #Roadmap
@history_1247_h3 @history_1248_h3
#Highest Priority #Highest Priority
@history_1248_li @history_1249_li
#Improve test code coverage #Improve test code coverage
@history_1249_li @history_1250_li
#More fuzz tests #More fuzz tests
@history_1250_li @history_1251_li
#Test very large databases and LOBs (up to 256 GB) #Test very large databases and LOBs (up to 256 GB)
@history_1251_li @history_1252_li
#Test multi-threaded in-memory db access #Test multi-threaded in-memory db access
@history_1252_h3 @history_1253_h3
#In Version 1.1 #In Version 1.1
@history_1253_li @history_1254_li
#Add version number. Install directory: h2-1.0, jar file: h2-1.0.jar. Micro version: use build number, staring with 1.1.100 #Add version number. Install directory: h2-1.0, jar file: h2-1.0.jar. Micro version: use build number, staring with 1.1.100
@history_1254_li @history_1255_li
#Automatic upgrade if there is a file format change #Automatic upgrade if there is a file format change
@history_1255_li @history_1256_li
#ALTER TABLE on a table with a LOB could result in 'Cannot delete file' on some systems. Fixed. #ALTER TABLE on a table with a LOB could result in 'Cannot delete file' on some systems. Fixed.
@history_1256_li @history_1257_li
#Change Constants.DEFAULT_MAX_MEMORY_UNDO to 10000 (and change the docs). Test. #Change Constants.DEFAULT_MAX_MEMORY_UNDO to 10000 (and change the docs). Test.
@history_1257_li @history_1258_li
#Enable and document optimizations, LOB files in directories #Enable and document optimizations, LOB files in directories
@history_1258_li @history_1259_li
#Special methods for DataPage.writeByte / writeShort and so on #Special methods for DataPage.writeByte / writeShort and so on
@history_1259_li @history_1260_li
#Index organized tables CREATE TABLE...(...) ORGANIZATION INDEX (store in data file) (probably file format changes are required for rowId) #Index organized tables CREATE TABLE...(...) ORGANIZATION INDEX (store in data file) (probably file format changes are required for rowId)
@history_1260_li @history_1261_li
#Change the default for NULL || 'x' to NULL #Change the default for NULL || 'x' to NULL
@history_1261_h3 @history_1262_h3
#Priority 1 #Priority 1
@history_1262_li @history_1263_li
#MVCC (Multi Version Concurrency Control) #MVCC (Multi Version Concurrency Control)
@history_1263_li @history_1264_li
#Read-only databases inside a jar (splitting large files to speed up random access) #Read-only databases inside a jar (splitting large files to speed up random access)
@history_1264_li @history_1265_li
#RECOVER=1 should automatically recover, =2 should run the recovery tool if required #RECOVER=1 should automatically recover, =2 should run the recovery tool if required
@history_1265_li @history_1266_li
#More tests with MULTI_THREADED=1 #More tests with MULTI_THREADED=1
@history_1266_li @history_1267_li
#Improve performance for create table (if this is possible) #Improve performance for create table (if this is possible)
@history_1267_li @history_1268_li
#Test with Spatial DB in a box / JTS (http://docs.codehaus.org/display/GEOS/SpatialDBBox) #Test with Spatial DB in a box / JTS (http://docs.codehaus.org/display/GEOS/SpatialDBBox)
@history_1268_li @history_1269_li
#Document how to use H2 with PHP (generic database API) #Document how to use H2 with PHP (generic database API)
@history_1269_li @history_1270_li
#Optimization: result set caching (like MySQL) #Optimization: result set caching (like MySQL)
@history_1270_li @history_1271_li
#Server side cursors #Server side cursors
@history_1271_li @history_1272_li
#Row level locking #Row level locking
@history_1272_li @history_1273_li
#System table: open sessions and locks of a database #System table: open sessions and locks of a database
@history_1273_li @history_1274_li
#Function in management db: list open connections and databases of a (TCP) server #Function in management db: list open connections and databases of a (TCP) server
@history_1274_li @history_1275_li
#Fix right outer joins #Fix right outer joins
@history_1275_li @history_1276_li
#Full outer joins #Full outer joins
@history_1276_li @history_1277_li
#Long running queries / errors / trace system table #Long running queries / errors / trace system table
@history_1277_li @history_1278_li
#Migrate database tool (also from other database engines) #Migrate database tool (also from other database engines)
@history_1278_li @history_1279_li
#Shutdown compact #Shutdown compact
@history_1279_li @history_1280_li
#Optimization of distinct with index: select distinct name from test #Optimization of distinct with index: select distinct name from test
@history_1280_li @history_1281_li
#Document server mode, embedded mode, web app mode, dual mode (server+embedded) #Document server mode, embedded mode, web app mode, dual mode (server+embedded)
@history_1281_li @history_1282_li
#Stop the server: close all open databases first #Stop the server: close all open databases first
@history_1282_li @history_1283_li
#SET variable { TO | = } { value | 'value' | DEFAULT } #SET variable { TO | = } { value | 'value' | DEFAULT }
@history_1283_li @history_1284_li
#Running totals: select @running:=if(@previous=t.ID,@running,0)+t.NUM as TOTAL, @previous:=t.ID #Running totals: select @running:=if(@previous=t.ID,@running,0)+t.NUM as TOTAL, @previous:=t.ID
@history_1284_li @history_1285_li
#Better support large transactions, large updates / deletes: use less memory #Better support large transactions, large updates / deletes: use less memory
@history_1285_li @history_1286_li
#Better support large transactions, large updates / deletes: allow tables without primary key #Better support large transactions, large updates / deletes: allow tables without primary key
@history_1286_li @history_1287_li
#Support Oracle RPAD and LPAD(string, n[, pad]) (truncate the end if longer) #Support Oracle RPAD and LPAD(string, n[, pad]) (truncate the end if longer)
@history_1287_li @history_1288_li
#Allow editing NULL values in the Console #Allow editing NULL values in the Console
@history_1288_li @history_1289_li
#Updatable result sets: DatabaseMetaData.ownUpdatesAreVisible = true (for insert, delete, update) Simple solution: automatically calls 'refresh' when the result was changed. Compare with other databases. #Updatable result sets: DatabaseMetaData.ownUpdatesAreVisible = true (for insert, delete, update) Simple solution: automatically calls 'refresh' when the result was changed. Compare with other databases.
@history_1289_h3 @history_1290_h3
#Priority 2 #Priority 2
@history_1290_li @history_1291_li
#Support OSGi: http://oscar-osgi.sourceforge.net, http://incubator.apache.org/felix/index.html #Support OSGi: http://oscar-osgi.sourceforge.net, http://incubator.apache.org/felix/index.html
@history_1291_li @history_1292_li
#Procedural language / script language (Javascript) #Procedural language / script language (Javascript)
@history_1292_li @history_1293_li
#Change LOB mechanism (less files, keep index of lob files, point to files and row, delete unused files earlier, maybe bundle files into a tar file) #Change LOB mechanism (less files, keep index of lob files, point to files and row, delete unused files earlier, maybe bundle files into a tar file)
@history_1293_li @history_1294_li
#Set the database in an 'exclusive' mode (restrict to one user at a time) #Set the database in an 'exclusive' mode (restrict to one user at a time)
@history_1294_li @history_1295_li
#Clustering: recovery needs to becomes fully automatic. Global write lock feature. #Clustering: recovery needs to becomes fully automatic. Global write lock feature.
@history_1295_li @history_1296_li
#Deferred integrity checking (DEFERRABLE INITIALLY DEFERRED) #Deferred integrity checking (DEFERRABLE INITIALLY DEFERRED)
@history_1296_li @history_1297_li
#Groovy Stored Procedures (http://groovy.codehaus.org/Groovy+SQL) #Groovy Stored Procedures (http://groovy.codehaus.org/Groovy+SQL)
@history_1297_li @history_1298_li
#System table / function: cache usage #System table / function: cache usage
@history_1298_li @history_1299_li
#User defined aggregate functions #User defined aggregate functions
@history_1299_li
#Add a migration guide (list differences between databases)
@history_1300_li @history_1300_li
#Optimization: automatic index creation suggestion using the trace file? #Add a migration guide (list differences between databases)
@history_1301_li @history_1301_li
#Compression performance: don't allocate buffers, compress / expand in to out buffer #Optimization: automatic index creation suggestion using the trace file?
@history_1302_li @history_1302_li
#Connection pool manager #Compression performance: don't allocate buffers, compress / expand in to out buffer
@history_1303_li @history_1303_li
#Implement Statement.cancel for server connections #Connection pool manager
@history_1304_li @history_1304_li
#Start / stop server with database URL #Implement Statement.cancel for server connections
@history_1305_li @history_1305_li
#Rebuild index functionality (other than delete the index file) #Start / stop server with database URL
@history_1306_li @history_1306_li
#Don't use deleteOnExit (bug 4513817: File.deleteOnExit consumes memory) #Rebuild index functionality (other than delete the index file)
@history_1307_li @history_1307_li
#Console: add accesskey to most important commands (A, AREA, BUTTON, INPUT, LABEL, LEGEND, TEXTAREA) #Don't use deleteOnExit (bug 4513817: File.deleteOnExit consumes memory)
@history_1308_li @history_1308_li
#Feature: a setting to delete the the log or not (for backup) #Console: add accesskey to most important commands (A, AREA, BUTTON, INPUT, LABEL, LEGEND, TEXTAREA)
@history_1309_li @history_1309_li
#Test with Sun ASPE1_4; JEE Sun AS PE1.4 #Feature: a setting to delete the the log or not (for backup)
@history_1310_li @history_1310_li
#Test performance again with SQL Server, Oracle, DB2 #Test with Sun ASPE1_4; JEE Sun AS PE1.4
@history_1311_li @history_1311_li
#Test with dbmonster (http://dbmonster.kernelpanic.pl/) #Test performance again with SQL Server, Oracle, DB2
@history_1312_li @history_1312_li
#Test with dbcopy (http://dbcopyplugin.sourceforge.net) #Test with dbmonster (http://dbmonster.kernelpanic.pl/)
@history_1313_li @history_1313_li
#Find a tool to view a text file >100 MB, with find, page up and down (like less) #Test with dbcopy (http://dbcopyplugin.sourceforge.net)
@history_1314_li @history_1314_li
#Implement, test, document XAConnection and so on #Find a tool to view a text file >100 MB, with find, page up and down (like less)
@history_1315_li @history_1315_li
#Web site: meta keywords, description, get rid of frame set #Implement, test, document XAConnection and so on
@history_1316_li @history_1316_li
#Pluggable data type (for compression, validation, conversion, encryption) #Web site: meta keywords, description, get rid of frame set
@history_1317_li @history_1317_li
#CHECK: find out what makes CHECK=TRUE slow, move to CHECK2 #Pluggable data type (for compression, validation, conversion, encryption)
@history_1318_li @history_1318_li
#Improve recovery: improve code for log recovery problems (less try/catch) #CHECK: find out what makes CHECK=TRUE slow, move to CHECK2
@history_1319_li @history_1319_li
#Log linear hash index changes, fast open / close #Improve recovery: improve code for log recovery problems (less try/catch)
@history_1320_li @history_1320_li
#Index usage for (ID, NAME)=(1, 'Hi'); document #Log linear hash index changes, fast open / close
@history_1321_li @history_1321_li
#Suggestion: include jetty as Servlet Container (like LAMP) #Index usage for (ID, NAME)=(1, 'Hi'); document
@history_1322_li @history_1322_li
#Trace shipping to server #Suggestion: include jetty as Servlet Container (like LAMP)
@history_1323_li @history_1323_li
#Performance / server mode: use UDP optionally? #Trace shipping to server
@history_1324_li @history_1324_li
#Version check: docs / web console (using javascript), and maybe in the library (using TCP/IP) #Performance / server mode: use UDP optionally?
@history_1325_li @history_1325_li
#Aggregates: support MEDIAN #Version check: docs / web console (using javascript), and maybe in the library (using TCP/IP)
@history_1326_li @history_1326_li
#Web server classloader: override findResource / getResourceFrom #Aggregates: support MEDIAN
@history_1327_li @history_1327_li
#Cost for embedded temporary view is calculated wrong, if result is constant #Web server classloader: override findResource / getResourceFrom
@history_1328_li @history_1328_li
#Comparison: pluggable sort order: natural sort #Cost for embedded temporary view is calculated wrong, if result is constant
@history_1329_li @history_1329_li
#Count index range query (count(*) where id between 10 and 20) #Comparison: pluggable sort order: natural sort
@history_1330_li @history_1330_li
#Eclipse plugin #Count index range query (count(*) where id between 10 and 20)
@history_1331_li @history_1331_li
#iReport to support H2 #Eclipse plugin
@history_1332_li @history_1332_li
#Implement missing JDBC API (CallableStatement,...) #iReport to support H2
@history_1333_li @history_1333_li
#Compression of the cache #Implement missing JDBC API (CallableStatement,...)
@history_1334_li @history_1334_li
#Run H2 Console inside servlet (pass-through servlet of fix the JSP / app) #Compression of the cache
@history_1335_li @history_1335_li
#Include SMPT (mail) server (at least client) (alert on cluster failure, low disk space,...) #Run H2 Console inside servlet (pass-through servlet of fix the JSP / app)
@history_1336_li @history_1336_li
#Make the jar more modular #Include SMPT (mail) server (at least client) (alert on cluster failure, low disk space,...)
@history_1337_li @history_1337_li
#Drop with restrict (currently cascade is the default) #Make the jar more modular
@history_1338_li @history_1338_li
#JSON parser and functions #Drop with restrict (currently cascade is the default)
@history_1339_li @history_1339_li
#Option for Java functions: constant/isDeterministic to allow early evaluation when all parameters are constant #JSON parser and functions
@history_1340_li @history_1340_li
#Automatic collection of statistics (auto ANALYZE) #Option for Java functions: constant/isDeterministic to allow early evaluation when all parameters are constant
@history_1341_li @history_1341_li
#Server: client ping from time to time (to avoid timeout - is timeout a problem?) #Automatic collection of statistics (auto ANALYZE)
@history_1342_li @history_1342_li
#Copy database: Tool with config GUI and batch mode, extensible (example: compare) #Server: client ping from time to time (to avoid timeout - is timeout a problem?)
@history_1343_li @history_1343_li
#Document, implement tool for long running transactions using user defined compensation statements #Copy database: Tool with config GUI and batch mode, extensible (example: compare)
@history_1344_li @history_1344_li
#Support SET TABLE DUAL READONLY #Document, implement tool for long running transactions using user defined compensation statements
@history_1345_li @history_1345_li
#Linked schema using CSV files: one schema for a directory of files; support indexes for CSV files #Support SET TABLE DUAL READONLY
@history_1346_li @history_1346_li
#Don't write stack traces for common exceptions like duplicate key to the log by default #Linked schema using CSV files: one schema for a directory of files; support indexes for CSV files
@history_1347_li @history_1347_li
#Setting for MAX_QUERY_TIME (default no limit?) #Don't write stack traces for common exceptions like duplicate key to the log by default
@history_1348_li @history_1348_li
#GCJ: what is the state now? #Setting for MAX_QUERY_TIME (default no limit?)
@history_1349_li @history_1349_li
#Convert large byte[]/Strings to streams in the JDBC API (asap). #GCJ: what is the state now?
@history_1350_li @history_1350_li
#Use Janino to convert Java to C++ #Convert large byte[]/Strings to streams in the JDBC API (asap).
@history_1351_li @history_1351_li
#Reduce disk space usage (Derby uses less disk space?) #Use Janino to convert Java to C++
@history_1352_li @history_1352_li
#Events for: Database Startup, Connections, Login attempts, Disconnections, Prepare (after parsing), Web Server (see http://docs.openlinksw.com/virtuoso/fn_dbev_startup.html) #Reduce disk space usage (Derby uses less disk space?)
@history_1353_li @history_1353_li
#Optimization: Log compression #Events for: Database Startup, Connections, Login attempts, Disconnections, Prepare (after parsing), Web Server (see http://docs.openlinksw.com/virtuoso/fn_dbev_startup.html)
@history_1354_li @history_1354_li
#Compatibility: in MySQL, HSQLDB, /0.0 is NULL; in PostgreSQL, Derby: Division by zero #Optimization: Log compression
@history_1355_li @history_1355_li
#Functional tables should accept parameters from other tables (see FunctionMultiReturn) SELECT * FROM TEST T, P2C(T.A, T.R) #Compatibility: in MySQL, HSQLDB, /0.0 is NULL; in PostgreSQL, Derby: Division by zero
@history_1356_li @history_1356_li
#Custom class loader to reload functions on demand #Functional tables should accept parameters from other tables (see FunctionMultiReturn) SELECT * FROM TEST T, P2C(T.A, T.R)
@history_1357_li @history_1357_li
#Test http://mysql-je.sourceforge.net/ #Custom class loader to reload functions on demand
@history_1358_li @history_1358_li
#Close all files when closing the database (including LOB files that are open on the client side) #Test http://mysql-je.sourceforge.net/
@history_1359_li @history_1359_li
#Test Connection Pool http://jakarta.apache.org/commons/dbcp #Close all files when closing the database (including LOB files that are open on the client side)
@history_1360_li @history_1360_li
#Profiler option or profiling tool to find long running and often repeated queries (using DatabaseEventListener API) #Test Connection Pool http://jakarta.apache.org/commons/dbcp
@history_1361_li @history_1361_li
#Function to read/write a file from/to LOB #Profiler option or profiling tool to find long running and often repeated queries (using DatabaseEventListener API)
@history_1362_li @history_1362_li
#Allow custom settings (@PATH for RUNSCRIPT for example) #Function to read/write a file from/to LOB
@history_1363_li @history_1363_li
#Performance test: read the data (getString) and use column names to get the data #Allow custom settings (@PATH for RUNSCRIPT for example)
@history_1364_li @history_1364_li
#EXE file: maybe use http://jsmooth.sourceforge.net #Performance test: read the data (getString) and use column names to get the data
@history_1365_li @history_1365_li
#SELECT ... FOR READ WAIT [maxMillisToWait] #EXE file: maybe use http://jsmooth.sourceforge.net
@history_1366_li @history_1366_li
#Automatically delete the index file if opening it fails #SELECT ... FOR READ WAIT [maxMillisToWait]
@history_1367_li @history_1367_li
#Performance: Automatically build in-memory indexes if the whole table is in memory #Automatically delete the index file if opening it fails
@history_1368_li @history_1368_li
#H2 Console: The webclient could support more features like phpMyAdmin. #Performance: Automatically build in-memory indexes if the whole table is in memory
@history_1369_li @history_1369_li
#The HELP information schema can be directly exposed in the Console #H2 Console: The webclient could support more features like phpMyAdmin.
@history_1370_li @history_1370_li
#Maybe use the 0x1234 notation for binary fields, see MS SQL Server #The HELP information schema can be directly exposed in the Console
@history_1371_li @history_1371_li
#KEY_COLUMN_USAGE (http://dev.mysql.com/doc/refman/5.0/en/information-schema.html, http://www.xcdsql.org/Misc/INFORMATION_SCHEMA%20With%20Rolenames.gif) #Maybe use the 0x1234 notation for binary fields, see MS SQL Server
@history_1372_li @history_1372_li
#Support Oracle CONNECT BY in some way: http://www.adp-gmbh.ch/ora/sql/connect_by.html, http://philip.greenspun.com/sql/trees.html #KEY_COLUMN_USAGE (http://dev.mysql.com/doc/refman/5.0/en/information-schema.html, http://www.xcdsql.org/Misc/INFORMATION_SCHEMA%20With%20Rolenames.gif)
@history_1373_li @history_1373_li
#SQL 2003 (http://www.wiscorp.com/sql_2003_standard.zip) #Support Oracle CONNECT BY in some way: http://www.adp-gmbh.ch/ora/sql/connect_by.html, http://philip.greenspun.com/sql/trees.html
@history_1374_li @history_1374_li
#http://www.jpackage.org #SQL 2003 (http://www.wiscorp.com/sql_2003_standard.zip)
@history_1375_li @history_1375_li
#Version column (number/sequence and timestamp based) #http://www.jpackage.org
@history_1376_li @history_1376_li
#Optimize getGeneratedKey: send last identity after each execute (server). #Version column (number/sequence and timestamp based)
@history_1377_li @history_1377_li
#Date: default date is '1970-01-01' (is it 1900-01-01 in the standard / other databases?) #Optimize getGeneratedKey: send last identity after each execute (server).
@history_1378_li @history_1378_li
#Test and document UPDATE TEST SET (ID, NAME) = (SELECT ID*10, NAME || '!' FROM TEST T WHERE T.ID=TEST.ID); #Date: default date is '1970-01-01' (is it 1900-01-01 in the standard / other databases?)
@history_1379_li @history_1379_li
#Better space re-use in the files after deleting data (shrink the files) #Test and document UPDATE TEST SET (ID, NAME) = (SELECT ID*10, NAME || '!' FROM TEST T WHERE T.ID=TEST.ID);
@history_1380_li @history_1380_li
#Max memory rows / max undo log size: use block count / row size not row count #Better space re-use in the files after deleting data (shrink the files)
@history_1381_li @history_1381_li
#Index summary is only written if log=2; maybe write it also when log=1 and everything is fine (and no in doubt transactions) #Max memory rows / max undo log size: use block count / row size not row count
@history_1382_li @history_1382_li
#Support 123L syntax as in Java; example: SELECT (2000000000*2) #Index summary is only written if log=2; maybe write it also when log=1 and everything is fine (and no in doubt transactions)
@history_1383_li @history_1383_li
#Implement point-in-time recovery #Support 123L syntax as in Java; example: SELECT (2000000000*2)
@history_1384_li @history_1384_li
#Memory database: add a feature to keep named database open until 'shutdown' #Implement point-in-time recovery
@history_1385_li @history_1385_li
#Use the directory of the first script as the default directory for any scripts run inside that script #Memory database: add a feature to keep named database open until 'shutdown'
@history_1386_li @history_1386_li
#Include the version name in the jar file name #Use the directory of the first script as the default directory for any scripts run inside that script
@history_1387_li @history_1387_li
#Optimize IN(...), IN(select), ID=? OR ID=?: create temp table and use join #Include the version name in the jar file name
@history_1388_li @history_1388_li
#LIKE: improved version for larger texts (currently using naive search) #Optimize IN(...), IN(select), ID=? OR ID=?: create temp table and use join
@history_1389_li @history_1389_li
#Auto-reconnect on lost connection to server (even if the server was re-started) except if autocommit was off and there was pending transaction #LIKE: improved version for larger texts (currently using naive search)
@history_1390_li @history_1390_li
#The Script tool should work with other databases as well #Auto-reconnect on lost connection to server (even if the server was re-started) except if autocommit was off and there was pending transaction
@history_1391_li @history_1391_li
#Automatically convert to the next 'higher' data type whenever there is an overflow. #The Script tool should work with other databases as well
@history_1392_li @history_1392_li
#Throw an exception when the application calls getInt on a Long (optional) #Automatically convert to the next 'higher' data type whenever there is an overflow.
@history_1393_li @history_1393_li
#Default date format for input and output (local date constants) #Throw an exception when the application calls getInt on a Long (optional)
@history_1394_li @history_1394_li
#Cache collation keys for performance #Default date format for input and output (local date constants)
@history_1395_li @history_1395_li
#Convert OR condition to UNION or IN if possible #Cache collation keys for performance
@history_1396_li @history_1396_li
#ValueInt.convertToString and so on (remove Value.convertTo) #Convert OR condition to UNION or IN if possible
@history_1397_li @history_1397_li
#Support custom Collators #ValueInt.convertToString and so on (remove Value.convertTo)
@history_1398_li @history_1398_li
#Document ROWNUM usage for reports: SELECT ROWNUM, * FROM (subquery) #Support custom Collators
@history_1399_li @history_1399_li
#Clustering: Reads should be randomly distributed or to a designated database on RAM #Document ROWNUM usage for reports: SELECT ROWNUM, * FROM (subquery)
@history_1400_li @history_1400_li
#Clustering: When a database is back alive, automatically synchronize with the master #Clustering: Reads should be randomly distributed or to a designated database on RAM
@history_1401_li @history_1401_li
#Standalone tool to get relevant system properties and add it to the trace output. #Clustering: When a database is back alive, automatically synchronize with the master
@history_1402_li @history_1402_li
#Support mixed clustering mode (one embedded, the other server mode) #Standalone tool to get relevant system properties and add it to the trace output.
@history_1403_li @history_1403_li
#Support 'call proc($1=value)' (PostgreSQL, Oracle) #Support mixed clustering mode (one embedded, the other server mode)
@history_1404_li @history_1404_li
#HSQLDB compatibility: "INSERT INTO TEST(name) VALUES(?); SELECT IDENTITY()" #Support 'call proc($1=value)' (PostgreSQL, Oracle)
@history_1405_li @history_1405_li
#Shutdown lock (shutdown can only start if there are no logins pending, and logins are delayed until shutdown ends) #HSQLDB compatibility: "INSERT INTO TEST(name) VALUES(?); SELECT IDENTITY()"
@history_1406_li @history_1406_li
#Automatically delete the index file if opening it fails #Shutdown lock (shutdown can only start if there are no logins pending, and logins are delayed until shutdown ends)
@history_1407_li @history_1407_li
#DbAdapters http://incubator.apache.org/cayenne/ #Automatically delete the index file if opening it fails
@history_1408_li @history_1408_li
#JAMon (proxy jdbc driver) #DbAdapters http://incubator.apache.org/cayenne/
@history_1409_li @history_1409_li
#Console: Allow setting Null value; Alternative display format two column (for copy and paste as well) #JAMon (proxy jdbc driver)
@history_1410_li @history_1410_li
#Console: Improve editing data (Tab, Shift-Tab, Enter, Up, Down, Shift+Del?) #Console: Allow setting Null value; Alternative display format two column (for copy and paste as well)
@history_1411_li @history_1411_li
#Console: Autocomplete Ctrl+Space inserts template #Console: Improve editing data (Tab, Shift-Tab, Enter, Up, Down, Shift+Del?)
@history_1412_li @history_1412_li
#Google Code http://code.google.com/p/h2database/issues/list# #Console: Autocomplete Ctrl+Space inserts template
@history_1413_li @history_1413_li
#Simplify translation ('Donate a translation') #Google Code http://code.google.com/p/h2database/issues/list#
@history_1414_li @history_1414_li
#Option to encrypt .trace.db file #Simplify translation ('Donate a translation')
@history_1415_li @history_1415_li
#Write Behind Cache on SATA leads to data corruption See also http://sr5tech.com/write_back_cache_experiments.htm and http://www.jasonbrome.com/blog/archives/2004/04/03/writecache_enabled.html #Option to encrypt .trace.db file
@history_1416_li @history_1416_li
#Functions with unknown return or parameter data types: serialize / deserialize #Write Behind Cache on SATA leads to data corruption See also http://sr5tech.com/write_back_cache_experiments.htm and http://www.jasonbrome.com/blog/archives/2004/04/03/writecache_enabled.html
@history_1417_li @history_1417_li
#Test if idle TCP connections are closed, and how to disable that #Functions with unknown return or parameter data types: serialize / deserialize
@history_1418_li @history_1418_li
#Try using a factory for Row, Value[] (faster?), http://javolution.org/, alternative ObjectArray / IntArray #Test if idle TCP connections are closed, and how to disable that
@history_1419_li @history_1419_li
#Auto-Update feature for database, .jar file #Try using a factory for Row, Value[] (faster?), http://javolution.org/, alternative ObjectArray / IntArray
@history_1420_li @history_1420_li
#ResultSet SimpleResultSet.readFromURL(String url): id varchar, state varchar, released timestamp #Auto-Update feature for database, .jar file
@history_1421_li @history_1421_li
#RANK() and DENSE_RANK(), Partition using OVER() #ResultSet SimpleResultSet.readFromURL(String url): id varchar, state varchar, released timestamp
@history_1422_li @history_1422_li
#ROW_NUMBER (not the same as ROWNUM) #RANK() and DENSE_RANK(), Partition using OVER()
@history_1423_li @history_1423_li
#Partial indexing (see PostgreSQL) #ROW_NUMBER (not the same as ROWNUM)
@history_1424_li @history_1424_li
#BUILD should fail if ant test fails #Partial indexing (see PostgreSQL)
@history_1425_li @history_1425_li
#http://rubyforge.org/projects/hypersonic/ #BUILD should fail if ant test fails
@history_1426_li @history_1426_li
#DbVisualizer profile for H2 #http://rubyforge.org/projects/hypersonic/
@history_1427_li @history_1427_li
#Add comparator (x === y) : (x = y or (x is null and y is null)) #DbVisualizer profile for H2
@history_1428_li @history_1428_li
#Try to create trace file even for read only databases #Add comparator (x === y) : (x = y or (x is null and y is null))
@history_1429_li @history_1429_li
#Add a sample application that runs the H2 unit test and writes the result to a file (so it can be included in the user app) #Try to create trace file even for read only databases
@history_1430_li @history_1430_li
#Count on a column that can not be null would be optimized to COUNT(*) #Add a sample application that runs the H2 unit test and writes the result to a file (so it can be included in the user app)
@history_1431_li @history_1431_li
#Table order: ALTER TABLE TEST ORDER BY NAME DESC (MySQL compatibility) #Count on a column that can not be null would be optimized to COUNT(*)
@history_1432_li @history_1432_li
#Backup tool should work with other databases as well #Table order: ALTER TABLE TEST ORDER BY NAME DESC (MySQL compatibility)
@history_1433_li @history_1433_li
#Console: -ifExists doesn't work for the console. Add a flag to disable other dbs #Backup tool should work with other databases as well
@history_1434_li @history_1434_li
#Maybe use Fowler Noll Vo hash function #Console: -ifExists doesn't work for the console. Add a flag to disable other dbs
@history_1435_li @history_1435_li
#Improved full text search (supports LOBs, reader / tokenizer / filter). #Maybe use Fowler Noll Vo hash function
@history_1436_li @history_1436_li
#Performance: Update in-place #Improved full text search (supports LOBs, reader / tokenizer / filter).
@history_1437_li @history_1437_li
#Check if 'FSUTIL behavior set disablelastaccess 1' improves the performance (fsutil behavior query disablelastaccess) #Performance: Update in-place
@history_1438_li @history_1438_li
#Java static code analysis: http://pmd.sourceforge.net/ #Check if 'FSUTIL behavior set disablelastaccess 1' improves the performance (fsutil behavior query disablelastaccess)
@history_1439_li @history_1439_li
#Java static code analysis: http://www.eclipse.org/tptp/ #Java static code analysis: http://pmd.sourceforge.net/
@history_1440_li @history_1440_li
#Compatibility for CREATE SCHEMA AUTHORIZATION #Java static code analysis: http://www.eclipse.org/tptp/
@history_1441_li @history_1441_li
#Implement Clob / Blob truncate and the remaining functionality #Compatibility for CREATE SCHEMA AUTHORIZATION
@history_1442_li @history_1442_li
#Maybe close LOBs after closing connection #Implement Clob / Blob truncate and the remaining functionality
@history_1443_li @history_1443_li
#Tree join functionality #Maybe close LOBs after closing connection
@history_1444_li @history_1444_li
#Support alter table add column if table has views defined #Tree join functionality
@history_1445_li @history_1445_li
#Add multiple columns at the same time with ALTER TABLE .. ADD .. ADD .. #Support alter table add column if table has views defined
@history_1446_li @history_1446_li
#Support trigger on the tables information_schema.tables and ...columns #Add multiple columns at the same time with ALTER TABLE .. ADD .. ADD ..
@history_1447_li @history_1447_li
#Add H2 to Gem (Ruby install system) #Support trigger on the tables information_schema.tables and ...columns
@history_1448_li @history_1448_li
#API for functions / user tables #Add H2 to Gem (Ruby install system)
@history_1449_li @history_1449_li
#Order conditions inside AND / OR to optimize the performance #API for functions / user tables
@history_1450_li @history_1450_li
#Support linked JCR tables #Order conditions inside AND / OR to optimize the performance
@history_1451_li @history_1451_li
#Make sure H2 is supported by Execute Query: http://executequery.org/ #Support linked JCR tables
@history_1452_li @history_1452_li
#Read InputStream when executing, as late as possible (maybe only embedded mode). Problem with re-execute. #Make sure H2 is supported by Execute Query: http://executequery.org/
@history_1453_li @history_1453_li
#Full text search: min word length; store word positions #Read InputStream when executing, as late as possible (maybe only embedded mode). Problem with re-execute.
@history_1454_li @history_1454_li
#FTP Server: Implement a client to send / receive files to server (dir, get, put) #Full text search: min word length; store word positions
@history_1455_li @history_1455_li
#FTP Server: Implement SFTP / FTPS #FTP Server: Implement a client to send / receive files to server (dir, get, put)
@history_1456_li @history_1456_li
#Add an option to the SCRIPT command to generate only portable / standard SQL #FTP Server: Implement SFTP / FTPS
@history_1457_li @history_1457_li
#Test Dezign for Databases (http://www.datanamic.com) #Add an option to the SCRIPT command to generate only portable / standard SQL
@history_1458_li @history_1458_li
#Fast library for parsing / formatting: http://javolution.org/ #Test Dezign for Databases (http://www.datanamic.com)
@history_1459_li @history_1459_li
#Updatable Views (simple cases first) #Fast library for parsing / formatting: http://javolution.org/
@history_1460_li @history_1460_li
#Improve create index performance #Updatable Views (simple cases first)
@history_1461_li @history_1461_li
#Support ARRAY data type #Improve create index performance
@history_1462_li @history_1462_li
#Implement more JDBC 4.0 features #Support ARRAY data type
@history_1463_li @history_1463_li
#H2 Console: implement a servlet to allow simple web app integration #Implement more JDBC 4.0 features
@history_1464_li @history_1464_li
#Support TRANSFORM / PIVOT as in MS Access #H2 Console: implement a servlet to allow simple web app integration
@history_1465_li @history_1465_li
#Sequence: PostgreSQL compatibility (rename, create) (http://www.postgresql.org/docs/8.2/static/sql-altersequence.html) #Support TRANSFORM / PIVOT as in MS Access
@history_1466_li @history_1466_li
#SELECT * FROM (VALUES (...), (...), ....) AS alias(f1, ...) #Sequence: PostgreSQL compatibility (rename, create) (http://www.postgresql.org/docs/8.2/static/sql-altersequence.html)
@history_1467_li @history_1467_li
#Support updatable views with join on primary keys (to extend a table) #SELECT * FROM (VALUES (...), (...), ....) AS alias(f1, ...)
@history_1468_li @history_1468_li
#File_Read / File_Store funktionen: FILE_STORE('test.sql', ?), FILE_READ('test.sql') #Support updatable views with join on primary keys (to extend a table)
@history_1469_li @history_1469_li
#Public interface for functions (not public static) #File_Read / File_Store funktionen: FILE_STORE('test.sql', ?), FILE_READ('test.sql')
@history_1470_li @history_1470_li
#Autocomplete: if I type the name of a table that does not exist (should say: syntax not supported) #Public interface for functions (not public static)
@history_1471_li @history_1471_li
#Autocomplete: schema support: "Other Grammar","Table Expression","{[schemaName.]tableName | (select)} [[AS] newTableAlias] #Autocomplete: if I type the name of a table that does not exist (should say: syntax not supported)
@history_1472_li @history_1472_li
#Functions: options readonly, deterministic (pure, always return the same value) #Autocomplete: schema support: "Other Grammar","Table Expression","{[schemaName.]tableName | (select)} [[AS] newTableAlias]
@history_1473_li @history_1473_li
#Document FTP server, including -ftpTask option to execute / kill remote processes #Functions: options readonly, deterministic (pure, always return the same value)
@history_1474_li @history_1474_li
#Add jdbcx to the javadocs #Document FTP server, including -ftpTask option to execute / kill remote processes
@history_1475_li @history_1475_li
#Shrink the data file without closing the database (if the end of the file is empty) #Add jdbcx to the javadocs
@history_1476_li @history_1476_li
#Delay reading the row if data is not required #Shrink the data file without closing the database (if the end of the file is empty)
@history_1477_li @history_1477_li
#Eliminate undo log records if stored on disk (just one pointer per block, not per record) #Delay reading the row if data is not required
@history_1478_li @history_1478_li
#Feature matrix like here: http://www.inetsoftware.de/products/jdbc/mssql/features/default.asp. #Eliminate undo log records if stored on disk (just one pointer per block, not per record)
@history_1479_li @history_1479_li
#Updatable result set on table without primary key or unique index #Feature matrix like here: http://www.inetsoftware.de/products/jdbc/mssql/features/default.asp.
@history_1480_li @history_1480_li
#Use LinkedList instead of ArrayList where applicable #Updatable result set on table without primary key or unique index
@history_1481_li @history_1481_li
#Optimization: (A=B AND B=C) > (A=B AND B=C AND A=C) #Use LinkedList instead of ArrayList where applicable
@history_1482_li @history_1482_li
#Support % operator (modulo) #Optimization: (A=B AND B=C) > (A=B AND B=C AND A=C)
@history_1483_li @history_1483_li
#Large subqueries: close them when the main query is closed, not earlier (so result can be reused) #Support % operator (modulo)
@history_1484_li @history_1484_li
#Support 1+'2'=3, '1'+'2'='12' (MS SQL Server compatibility) #Large subqueries: close them when the main query is closed, not earlier (so result can be reused)
@history_1485_li @history_1485_li
#Support nested transactions #Support 1+'2'=3, '1'+'2'='12' (MS SQL Server compatibility)
@history_1486_li @history_1486_li
#Add a benchmark for big databases, and one for many users #Support nested transactions
@history_1487_li @history_1487_li
#Compression in the result set (repeating values in the same column) #Add a benchmark for big databases, and one for many users
@history_1488_li @history_1488_li
#Improve command line consistency (+/- options, or true false options) #Compression in the result set (repeating values in the same column)
@history_1489_li @history_1489_li
#Allow to use the catalog name in statements: [[catalog.]schema.]object #Improve command line consistency (+/- options, or true false options)
@history_1490_li @history_1490_li
#Support curtimestamp (like curtime, curdate) #Allow to use the catalog name in statements: [[catalog.]schema.]object
@history_1491_li @history_1491_li
#Support ANALYZE {TABLE|INDEX} tableName COMPUTE|ESTIMATE|DELETE STATISTICS ptnOption options #Support curtimestamp (like curtime, curdate)
@history_1492_li @history_1492_li
#Support Sequoia (Continuent.org) #Support ANALYZE {TABLE|INDEX} tableName COMPUTE|ESTIMATE|DELETE STATISTICS ptnOption options
@history_1493_li @history_1493_li
#Dynamic length numbers / special methods for DataPage.writeByte / writeShort / Ronni Nielsen #Support Sequoia (Continuent.org)
@history_1494_li @history_1494_li
#Pluggable tracing system, ThreadPool, (AvalonDB / deebee / Paul Hammant) #Dynamic length numbers / special methods for DataPage.writeByte / writeShort / Ronni Nielsen
@history_1495_li @history_1495_li
#Recursive Queries (see details) #Pluggable tracing system, ThreadPool, (AvalonDB / deebee / Paul Hammant)
@history_1496_li @history_1496_li
#Use index on boolean flag (see details) #Recursive Queries (see details)
@history_1497_li @history_1497_li
#Add build for embedded database only #Use index on boolean flag (see details)
@history_1498_li @history_1498_li
#Release locks (shared or exclusive) on demand #Add build for embedded database only
@history_1499_li @history_1499_li
#Support catalog names #Release locks (shared or exclusive) on demand
@history_1500_li @history_1500_li
#Add object id to metadata tables #Support catalog names
@history_1501_li @history_1501_li
#Support OUTER UNION #Add object id to metadata tables
@history_1502_li @history_1502_li
#Support Parameterized Views (similar to CSVREAD, but using just SQL for the definition) #Support OUTER UNION
@history_1503_li @history_1503_li
#Implement a command line SQL utility similar to HenPlus: http://henplus.sourceforge.net #Support Parameterized Views (similar to CSVREAD, but using just SQL for the definition)
@history_1504_li @history_1504_li
#A way (JDBC driver) to map an URL (jdbc:h2map:c1) to a connection object #Implement a command line SQL utility similar to HenPlus: http://henplus.sourceforge.net
@history_1505_li @history_1505_li
#Build script for the embedded functionality only (h2embedded.jar) #A way (JDBC driver) to map an URL (jdbc:h2map:c1) to a connection object
@history_1506_li @history_1506_li
#Option for SCRIPT to only process one or a set of tables, and append to a file #Build script for the embedded functionality only (h2embedded.jar)
@history_1507_li @history_1507_li
#Support using a unique index for IS NULL (including linked tables) #Option for SCRIPT to only process one or a set of tables, and append to a file
@history_1508_li @history_1508_li
#Support linked tables to the current database #Support using a unique index for IS NULL (including linked tables)
@history_1509_li @history_1509_li
#Support dynamic linked schema (automatically adding/updating/removing tables) #Support linked tables to the current database
@history_1510_li @history_1510_li
#Compatibility with Derby: VALUES(1), (2); SELECT * FROM (VALUES (1), (2)) AS myTable(c1) #Support dynamic linked schema (automatically adding/updating/removing tables)
@history_1511_li @history_1511_li
#Compatibility: # is the start of a single line comment (MySQL) but date quote (Access). Mode specific #Compatibility with Derby: VALUES(1), (2); SELECT * FROM (VALUES (1), (2)) AS myTable(c1)
@history_1512_li @history_1512_li
#Run benchmarks with JDK 1.5, JDK 1.6, java -server #Compatibility: # is the start of a single line comment (MySQL) but date quote (Access). Mode specific
@history_1513_li @history_1513_li
#Optimizations: Faster hash function for strings, byte arrays, big decimal #Run benchmarks with JDK 1.5, JDK 1.6, java -server
@history_1514_li @history_1514_li
#Improve trace feature: add replay functionality #Optimizations: Faster hash function for strings, byte arrays, big decimal
@history_1515_li @history_1515_li
#DatabaseEventListener: callback for all operations (including expected time, RUNSCRIPT) and cancel functionality #Improve trace feature: add replay functionality
@history_1516_li @history_1516_li
#H2 Console / large result sets: use 'streaming' instead of building the page in-memory #DatabaseEventListener: callback for all operations (including expected time, RUNSCRIPT) and cancel functionality
@history_1517_li @history_1517_li
#Benchmark: add a graph to show how databases scale (performance/database size) #H2 Console / large result sets: use 'streaming' instead of building the page in-memory
@history_1518_li @history_1518_li
#Implement a SQLData interface to map your data over to a custom object #Benchmark: add a graph to show how databases scale (performance/database size)
@history_1519_li @history_1519_li
#Extend H2 Console to run tools (show command line as well) #Implement a SQLData interface to map your data over to a custom object
@history_1520_li @history_1520_li
#Make DDL (Data Definition) operations transactional #Extend H2 Console to run tools (show command line as well)
@history_1521_li @history_1521_li
#Sequence: add features [NO] MINVALUE, MAXVALUE, CACHE, CYCLE #Make DDL (Data Definition) operations transactional
@history_1522_li @history_1522_li
#Allow execution time prepare for SELECT * FROM CSVREAD(?, 'columnNameString') #Sequence: add features [NO] MINVALUE, MAXVALUE, CACHE, CYCLE
@history_1523_li @history_1523_li
#Support multiple directories (on different hard drives) for the same database #Allow execution time prepare for SELECT * FROM CSVREAD(?, 'columnNameString')
@history_1524_li @history_1524_li
#Server protocol: use challenge response authentication, but client sends hash(user+password) encrypted with response #Support multiple directories (on different hard drives) for the same database
@history_1525_li @history_1525_li
#Support EXEC[UTE] (doesn't return a result set, compatible to MS SQL Server) #Server protocol: use challenge response authentication, but client sends hash(user+password) encrypted with response
@history_1526_li @history_1526_li
#GROUP BY and DISTINCT: support large groups (buffer to disk), do not keep large sets in memory #Support EXEC[UTE] (doesn't return a result set, compatible to MS SQL Server)
@history_1527_li @history_1527_li
#Support native XML data type #GROUP BY and DISTINCT: support large groups (buffer to disk), do not keep large sets in memory
@history_1528_li @history_1528_li
#Support triggers with a string property or option: SpringTrigger, OSGITrigger #Support native XML data type
@history_1529_li @history_1529_li
#Clustering: adding a node should be very fast and without interrupting clients (very short lock) #Support triggers with a string property or option: SpringTrigger, OSGITrigger
@history_1530_li @history_1530_li
#Support materialized views (using triggers) #Clustering: adding a node should be very fast and without interrupting clients (very short lock)
@history_1531_li @history_1531_li
#Store dates in local timezone (portability of database files) #Support materialized views (using triggers)
@history_1532_li @history_1532_li
#Ability to resize the cache array when resizing the cache #Store dates in local timezone (portability of database files)
@history_1533_li @history_1533_li
#Automatic conversion from WHERE X>10 AND X>20 to X>20 #Ability to resize the cache array when resizing the cache
@history_1534_li @history_1534_li
#Time based cache writing (one second after writing the log) #Automatic conversion from WHERE X>10 AND X>20 to X>20
@history_1535_li @history_1535_li
#Write a H2 driver for http://db.apache.org/ddlutils/ #Time based cache writing (one second after writing the log)
@history_1536_li @history_1536_li
#Index usage for REGEXP LIKE. #Write a H2 driver for http://db.apache.org/ddlutils/
@history_1537_li @history_1537_li
#Add a role DBA (like ADMIN). #Index usage for REGEXP LIKE.
@history_1538_li @history_1538_li
#Automatic mode: jdbc:h2:auto: (embedded mode if possible, if not use server mode). Problem: what to do when server stops while others are connected to it. #Add a role DBA (like ADMIN).
@history_1539_li @history_1539_li
#Access rights: remember the owner of an object. COMMENT: allow owner of object to change it. #Automatic mode: jdbc:h2:auto: (embedded mode if possible, if not use server mode). Problem: what to do when server stops while others are connected to it.
@history_1540_li @history_1540_li
#Implement INSTEAD OF trigger. #Access rights: remember the owner of an object. COMMENT: allow owner of object to change it.
@history_1541_li @history_1541_li
#Access rights: Finer grained access control (grant access for specific functions) #Implement INSTEAD OF trigger.
@history_1542_li @history_1542_li
#Support N'text' #Access rights: Finer grained access control (grant access for specific functions)
@history_1543_li @history_1543_li
#Support SCOPE_IDENTITY() to avoid problems when inserting rows in a trigger #Support N'text'
@history_1544_li @history_1544_li
#Support DESCRIBE like MySQL or Oracle (DESC|DESCRIBE {[schema.]object[@connect_identifier]}) #Support SCOPE_IDENTITY() to avoid problems when inserting rows in a trigger
@history_1545_li @history_1545_li
#Set a connection read only (Connection.setReadOnly) #Support DESCRIBE like MySQL or Oracle (DESC|DESCRIBE {[schema.]object[@connect_identifier]})
@history_1546_li @history_1546_li
#In MySQL mode, for AUTO_INCREMENT columns, don't set the primary key #Set a connection read only (Connection.setReadOnly)
@history_1547_li @history_1547_li
#Use JDK 1.4 file locking to create the lock file (but not yet by default); writing a system property to detect concurrent access from the same VM (different classloaders). #In MySQL mode, for AUTO_INCREMENT columns, don't set the primary key
@history_1548_li @history_1548_li
#Read-only sessions (Connection.setReadOnly) #Use JDK 1.4 file locking to create the lock file (but not yet by default); writing a system property to detect concurrent access from the same VM (different classloaders).
@history_1549_li @history_1549_li
#Support compatibility for jdbc:hsqldb:res: #Read-only sessions (Connection.setReadOnly)
@history_1550_li @history_1550_li
#In the MySQL and PostgreSQL, use lower case identifiers by default (DatabaseMetaData.storesLowerCaseIdentifiers = true) #Support compatibility for jdbc:hsqldb:res:
@history_1551_li @history_1551_li
#Provide a simple, lightweight O/R mapping tool #In the MySQL and PostgreSQL, use lower case identifiers by default (DatabaseMetaData.storesLowerCaseIdentifiers = true)
@history_1552_li @history_1552_li
#Provide an Java SQL builder with standard and H2 syntax #Provide a simple, lightweight O/R mapping tool
@history_1553_li @history_1553_li
#Data compression for in-memory database #Provide an Java SQL builder with standard and H2 syntax
@history_1554_li @history_1554_li
#Trace: write os, file system, vm,... when opening the database #Data compression for in-memory database
@history_1555_li @history_1555_li
#Trace: write dangerous operations (set log 0,...) in every case (including when opening the database) #Trace: write os, file system, vm,... when opening the database
@history_1556_li @history_1556_li
#ParameterMetaData should return correct data type where possible (INSERT for example) #Trace: write dangerous operations (set log 0,...) in every case (including when opening the database)
@history_1557_li @history_1557_li
#Support indexes for views (probably requires materialized views) #ParameterMetaData should return correct data type where possible (INSERT for example)
@history_1558_li @history_1558_li
#Linked tables that point to the same database should share the connection #Support indexes for views (probably requires materialized views)
@history_1559_li @history_1559_li
#Use log for rollback #Linked tables that point to the same database should share the connection
@history_1560_li @history_1560_li
#Document SET SEARCH_PATH, BEGIN, EXECUTE, $ parameters #Use log for rollback
@history_1561_li @history_1561_li
#Complete Javadocs for ErrorCode messages and add to docs #Document SET SEARCH_PATH, BEGIN, EXECUTE, $ parameters
@history_1562_li @history_1562_li
#Browser: use Desktop.isDesktopSupported and browse when using JDK 1.6 #Complete Javadocs for ErrorCode messages and add to docs
@history_1563_li @history_1563_li
#Document org.h2.samples.MixedMode #Browser: use Desktop.isDesktopSupported and browse when using JDK 1.6
@history_1564_li @history_1564_li
#Server: use one listener (detect if the request comes from an PG or TCP client) #Document org.h2.samples.MixedMode
@history_1565_li @history_1565_li
#Store dates as 'local'. Existing files use GMT. Use escape syntax for compatibility) #Server: use one listener (detect if the request comes from an PG or TCP client)
@history_1566_li @history_1566_li
#Support data type INTERVAL #Store dates as 'local'. Existing files use GMT. Use escape syntax for compatibility)
@history_1567_li @history_1567_li
#Support data type INTERVAL
@history_1568_li
#NATURAL JOIN: MySQL and PostgreSQL don't repeat columns when using SELECT * ... #NATURAL JOIN: MySQL and PostgreSQL don't repeat columns when using SELECT * ...
@history_1568_h3 @history_1569_li
#Optimize SELECT MIN(ID), MAX(ID), COUNT(*) FROM TEST WHERE ID BETWEEN 100 AND 200
@history_1570_li
#Support Oracle functions: TRUNC, NVL2, TO_CHAR, TO_DATE, TO_NUMBER
@history_1571_h3
#Not Planned #Not Planned
@history_1569_li @history_1572_li
#HSQLDB (did) support this: select id i from test where i>0 (other databases don't) #HSQLDB (did) support this: select id i from test where i>0 (other databases don't)
@history_1570_li @history_1573_li
#String.intern (so that Strings can be compared with ==) will not be used because some VMs have problems when used extensively #String.intern (so that Strings can be compared with ==) will not be used because some VMs have problems when used extensively
@history_1571_h2 @history_1574_h2
#Supporters #Supporters
@history_1572_p @history_1575_p
#Many thanks for those who helped by finding and reporting bugs, gave valuable feedback, spread the word and have translated this project. Also many thanks to the donors who contributed via PayPal: #Many thanks for those who helped by finding and reporting bugs, gave valuable feedback, spread the word and have translated this project. Also many thanks to the donors who contributed via PayPal:
@history_1573_li @history_1576_li
#Florent Ramiere, France #Florent Ramiere, France
@history_1574_li @history_1577_li
#Pete Haidinyak, USA #Pete Haidinyak, USA
@history_1575_li @history_1578_li
#Jun Iyama, Japan #Jun Iyama, Japan
@history_1576_li @history_1579_li
#Antonio Casqueiro, Portugal #Antonio Casqueiro, Portugal
@history_1577_li @history_1580_li
#lumber-mill.co.jp, Japan #lumber-mill.co.jp, Japan
@installation_1000_h1 @installation_1000_h1
...@@ -6856,54 +6865,114 @@ Kompilieren ...@@ -6856,54 +6865,114 @@ Kompilieren
@tutorial_1144_p @tutorial_1144_p
#You can also call the index from within a Java application: #You can also call the index from within a Java application:
@~history_1021_h3
#Version 1.0.58 (2007-09-15)
@~history_1021_li @~history_1021_li
#Optimization for COLUMN IN(.., NULL) if the column does not allow NULL values. #Optimization for COLUMN IN(.., NULL) if the column does not allow NULL values.
@~history_1022_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.
@~history_1034_h3 @~history_1034_h3
#Version 1.0.57 (2007-08-25) #Version 1.0.57 (2007-08-25)
@~history_1046_h3
#Version 1.0.57 (2007-08-25)
@~history_1046_li @~history_1046_li
#Some unit tests failed on Linux because the file system works differently. The unit tests are fixed and should work now. #Some unit tests failed on Linux because the file system works differently. The unit tests are fixed and should work now.
@~history_1047_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.
@~history_1061_h3 @~history_1061_h3
#Version 1.0.56 (2007-08-02) #Version 1.0.56 (2007-08-02)
@~history_1073_h3
#Version 1.0.56 (2007-08-02)
@~history_1073_li @~history_1073_li
#H2 Console: In the last release, the shutdown button did not work. Fixed. #H2 Console: In the last release, the shutdown button did not work. Fixed.
@~history_1074_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).
@~history_1088_h3 @~history_1088_h3
#Version 1.0.55 (2007-07-12) #Version 1.0.55 (2007-07-12)
@~history_1100_h3
#Version 1.0.55 (2007-07-12)
@~history_1100_li @~history_1100_li
#In the READ_COMMITTED mode, when the multi-threaded kernel is enabled, read locks are now acquired but released immediately after a query. #In the READ_COMMITTED mode, when the multi-threaded kernel is enabled, read locks are now acquired but released immediately after a query.
@~history_1101_li
#Support for the system property baseDir. This works for embedded databases as well. The setting is supported by the H2 Console using -Dh2.baseDir or -baseDir
@~history_1114_h3 @~history_1114_h3
#Version 1.0.50 (2007-06-17) #Version 1.0.50 (2007-06-17)
@~history_1126_h3
#Version 1.0.50 (2007-06-17)
@~history_1126_li @~history_1126_li
#The table id (important for LOB files) is now included in INFORMATION_SCHEMA.TABLES. #The table id (important for LOB files) is now included in INFORMATION_SCHEMA.TABLES.
@~history_1127_li
#File names starting with ~ are now in the user directory (Java system property user.home)
@~history_1139_h3 @~history_1139_h3
#Version 1.0.46 (2007-04-29) #Version 1.0.46 (2007-04-29)
@~history_1151_h3
#Version 1.0.46 (2007-04-29)
@~history_1151_li @~history_1151_li
#There are new 'Backup' and 'Restore' tools that work with database files directly. #There are new 'Backup' and 'Restore' tools that work with database files directly.
@~history_1152_li
#Unnamed private in-memory database (jdbc:h2:mem:) were not 'private' as documented. Fixed.
@~history_1173_h3 @~history_1173_h3
#Version 1.0.44 (2007-03-04) #Version 1.0.44 (2007-03-04)
@~history_1185_h3
#Version 1.0.44 (2007-03-04)
@~history_1185_li @~history_1185_li
#Truncating a table is now allowed if the table references another table (but still not allowed if the table is references by another table). #Truncating a table is now allowed if the table references another table (but still not allowed if the table is references by another table).
@~history_1186_li
#System sequences (automatically created sequences for IDENTITY or AUTO_INCREMENT columns) are now random (UUIDs) to avoid clashes when merging databases using RUNSCRIPT.
@~history_1190_h3 @~history_1190_h3
#Version 1.0.41 (2007-01-30) #Version 1.0.41 (2007-01-30)
@~history_1202_h3
#Version 1.0.41 (2007-01-30)
@~history_1202_li @~history_1202_li
#Can now use UUID columns as generated key values. However, the UUID column must be the primary key. #Can now use UUID columns as generated key values. However, the UUID column must be the primary key.
@~history_1203_li
#Experimental online backup feature using the SQL statement BACKUP TO 'fileName'. This creates a backup in the form of a zip file. Unlike the SCRIPT TO command, the data tables are not locked.
@~history_1205_h3 @~history_1205_h3
#Version 1.0.40 (2007-01-17) #Version 1.0.40 (2007-01-17)
@~history_1217_h3
#Version 1.0.40 (2007-01-17)
@~history_1218_li
#Setting the collation (SET COLLATOR) was very slow on some systems (up to 24 seconds). Thanks a lot to Martina Nissler for finding this problem!
@~history_1229_h3
#Version 1.0.36 (2007-01-02)
@~history_1230_li
#It was possible to drop the sequence of a temporary tables with DROP ALL OBJECTS, resulting in a null pointer exception afterwards.
@~history_1232_h3 @~history_1232_h3
#Version 0.9 (2005-12-13) #Version 0.9 (2005-12-13)
...@@ -6916,33 +6985,72 @@ Kompilieren ...@@ -6916,33 +6985,72 @@ Kompilieren
@~history_1240_h3 @~history_1240_h3
#In Version 1.1 #In Version 1.1
@~history_1241_h3
#Version 1.0.25 (2006-08-31)
@~history_1241_li @~history_1241_li
#Add version number. Install directory: h2-1.0, jar file: h2-1.0.jar. Micro version: use build number, staring with 1.1.100 #Add version number. Install directory: h2-1.0, jar file: h2-1.0.jar. Micro version: use build number, staring with 1.1.100
@~history_1242_li
#In some situations, wide b-tree indexes (with large VARCHAR columns for example) could get corrupted. Fixed.
@~history_1244_h3
#Version 0.9 (2005-12-13)
@~history_1244_li @~history_1244_li
#Change Constants.DEFAULT_MAX_MEMORY_UNDO to 10000 (and change the docs). Test. #Change Constants.DEFAULT_MAX_MEMORY_UNDO to 10000 (and change the docs). Test.
@~history_1245_li
#First public release.
@~history_1246_h2
#Roadmap
@~history_1246_li @~history_1246_li
#Special methods for DataPage.writeByte / writeShort and so on #Special methods for DataPage.writeByte / writeShort and so on
@~history_1247_h3
#Highest Priority
@~history_1247_li @~history_1247_li
#Index organized tables CREATE TABLE...(...) ORGANIZATION INDEX (store in data file) (probably file format changes are required for rowId) #Index organized tables CREATE TABLE...(...) ORGANIZATION INDEX (store in data file) (probably file format changes are required for rowId)
@~history_1248_li
#Improve test code coverage
@~history_1249_h3 @~history_1249_h3
#Priority 1 #Priority 1
@~history_1252_h3
#In Version 1.1
@~history_1252_li @~history_1252_li
#RECOVER=1 should automatically recover, =2 should run the recovery tool if required #RECOVER=1 should automatically recover, =2 should run the recovery tool if required
@~history_1253_li
#Add version number. Install directory: h2-1.0, jar file: h2-1.0.jar. Micro version: use build number, staring with 1.1.100
@~history_1261_h3
#Priority 1
@~history_1261_li @~history_1261_li
#Function in management db: list open connections and databases of a (TCP) server #Function in management db: list open connections and databases of a (TCP) server
@~history_1262_li
#MVCC (Multi Version Concurrency Control)
@~history_1277_h3 @~history_1277_h3
#Priority 2 #Priority 2
@~history_1289_h3
#Priority 2
@~history_1289_li @~history_1289_li
#Compression performance: don't allocate buffers, compress / expand in to out buffer #Compression performance: don't allocate buffers, compress / expand in to out buffer
@~history_1290_li
#Support OSGi: http://oscar-osgi.sourceforge.net, http://incubator.apache.org/felix/index.html
@~history_1555_h3 @~history_1555_h3
#Not Planned #Not Planned
...@@ -6952,6 +7060,21 @@ Kompilieren ...@@ -6952,6 +7060,21 @@ Kompilieren
@~history_1559_p @~history_1559_p
#Many thanks for those who helped by finding and reporting bugs, gave valuable feedback, spread the word and have translated this project. Also many thanks to the donors who contributed via PayPal: #Many thanks for those who helped by finding and reporting bugs, gave valuable feedback, spread the word and have translated this project. Also many thanks to the donors who contributed via PayPal:
@~history_1568_h3
#Not Planned
@~history_1571_h2
#Supporters
@~history_1572_p
#Many thanks for those who helped by finding and reporting bugs, gave valuable feedback, spread the word and have translated this project. Also many thanks to the donors who contributed via PayPal:
@~history_1574_li
#Pete Haidinyak, USA
@~history_1575_li
#Jun Iyama, Japan
@~tutorial_1011_h2 @~tutorial_1011_h2
#Starting and Using the H2 Console #Starting and Using the H2 Console
......
...@@ -2792,1707 +2792,1716 @@ Version 1.0 (Current) ...@@ -2792,1707 +2792,1716 @@ Version 1.0 (Current)
Version 1.0.59 (2007-09-TODO) Version 1.0.59 (2007-09-TODO)
@history_1010_li @history_1010_li
H2 Console: Progress information when logging into a H2 embedded database (useful when opening a database is slow). A PreparedStatement that was cancelled could not be reused. Fixed.
@history_1011_li @history_1011_li
When the database was closed while logging was disabled (LOG 0), re-opening the database was slow. Fixed. H2 Console: Progress information when logging into a H2 embedded database (useful when opening a database is slow).
@history_1012_li @history_1012_li
Fulltext search is now documented (in the Tutorial). When the database was closed while logging was disabled (LOG 0), re-opening the database was slow. Fixed.
@history_1013_li @history_1013_li
The Console did not refresh the table list if the CREATE TABLE statement started with a comment. Fixed. Fulltext search is now documented (in the Tutorial).
@history_1014_li @history_1014_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. The Console did not refresh the table list if the CREATE TABLE statement started with a comment. Fixed.
@history_1015_li @history_1015_li
When using the (undocumented) in-memory file system (jdbc:h2:memFS:x or jdbc:h2:memLZF:x), and using multiple connections, a ConcurrentModificationException could occur. Fixed. When creating a table using CREATE TABLE .. AS SELECT, the precision for some data types (for example VARCHAR) was set to the default precision. Fixed.
@history_1016_li @history_1016_li
REGEXP compatibility: So far String.matches was used, but for compatibility with MySQL, now Matcher.find is used. 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.
@history_1017_li @history_1017_li
SCRIPT: the SQL statements in the result set now include the terminating semicolon as well. Simplifies copy and paste. REGEXP compatibility: So far String.matches was used, but for compatibility with MySQL, now Matcher.find is used.
@history_1018_li @history_1018_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. SCRIPT: the SQL statements in the result set now include the terminating semicolon as well. Simplifies copy and paste.
@history_1019_li @history_1019_li
Views with subqueries as tables and queries with nested subqueries as tables did not always work. Fixed. When using a subquery with group by as a table, some columns could not be used in the where condition in the outer query. Example: SELECT * FROM (SELECT ID, COUNT(*) C FROM TEST) WHERE C > 100. Fixed.
@history_1020_li @history_1020_li
Views with subqueries as tables and queries with nested subqueries as tables did not always work. Fixed.
@history_1021_li
Compatibility: comparing columns with constants that are out of range does not throw an exception. Compatibility: comparing columns with constants that are out of range does not throw an exception.
@history_1021_h3 @history_1022_h3
Version 1.0.58 (2007-09-15) Version 1.0.58 (2007-09-15)
@history_1022_li @history_1023_li
System.exit is no longer called by the WebServer, the Console and the Server tool (except to set the exit code if required). This is important when using OSGi. System.exit is no longer called by the WebServer, the Console and the Server tool (except to set the exit code if required). This is important when using OSGi.
@history_1023_li @history_1024_li
Optimization for independent subqueries. For example, this query can now an index: SELECT * FROM TEST WHERE ID = (SELECT MAX(ID) FROM TEST) This can be disabled by setting the system property h2.optimizeSubqueryCache to false. Optimization for independent subqueries. For example, this query can now an index: SELECT * FROM TEST WHERE ID = (SELECT MAX(ID) FROM TEST) This can be disabled by setting the system property h2.optimizeSubqueryCache to false.
@history_1024_li @history_1025_li
The explain plan now says: /* direct lookup query */ if the query can be processed directly without reading rows, for example when using MIN(indexed column), MAX(indexed column), or COUNT(*). The explain plan now says: /* direct lookup query */ if the query can be processed directly without reading rows, for example when using MIN(indexed column), MAX(indexed column), or COUNT(*).
@history_1025_li @history_1026_li
When using IFNULL, NULLIF, COALESCE, LEAST, or GREATEST, and the first parameter was ?, an exception was thrown. Now the highest data type of all parameters is used. When using IFNULL, NULLIF, COALESCE, LEAST, or GREATEST, and the first parameter was ?, an exception was thrown. Now the highest data type of all parameters is used.
@history_1026_li @history_1027_li
When comparing TINYINT or SMALLINT columns against constants, the index was not used. Fixed. When comparing TINYINT or SMALLINT columns against constants, the index was not used. Fixed.
@history_1027_li @history_1028_li
Maven 2: new version are now automatically synced with the central repositories. Maven 2: new version are now automatically synced with the central repositories.
@history_1028_li @history_1029_li
The default value for MAX_MEMORY_UNDO is now 100000. The default value for MAX_MEMORY_UNDO is now 100000.
@history_1029_li @history_1030_li
The documentation indexer does no longer index Japanese pages. If somebody knows how to split Japanese into words please post it. The documentation indexer does no longer index Japanese pages. If somebody knows how to split Japanese into words please post it.
@history_1030_li @history_1031_li
Oracle compatibility: SYSDATE now returns a timestamp. CHR(..) is now an alias for CHAR(..). Oracle compatibility: SYSDATE now returns a timestamp. CHR(..) is now an alias for CHAR(..).
@history_1031_li @history_1032_li
After deleting data, empty space in the database files was not efficiently reused (but it was reused when opening the database). This has been fixed. After deleting data, empty space in the database files was not efficiently reused (but it was reused when opening the database). This has been fixed.
@history_1032_li @history_1033_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 an additionally problem, see http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4197876. A workaround has been implemented. About 230 bytes per database was leaked. This is a problem for applications opening and closing many thousand databases. The main problem: a shutdown hook was added but never removed. Fixed. In JDK 1.4, there is an additionally problem, see http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4197876. A workaround has been implemented.
@history_1033_li @history_1034_li
Optimization for COLUMN IN(.., NULL) if the column does not allow NULL values. Optimization for COLUMN IN(.., NULL) if the column does not allow NULL values.
@history_1034_li @history_1035_li
Using spaces in column and table aliases was not supported when used inside a view or temporary view. Using spaces in column and table aliases was not supported when used inside a view or temporary view.
@history_1035_li @history_1036_li
The version (build) number is now included in the manifest file. The version (build) number is now included in the manifest file.
@history_1036_li @history_1037_li
In some systems, SecureRandom.generateSeed is very slow (taking one minute or more). For those cases, an alternative method is used that takes less than one second. In some systems, SecureRandom.generateSeed is very slow (taking one minute or more). For those cases, an alternative method is used that takes less than one second.
@history_1037_li @history_1038_li
The database file sizes are now increased at most 32 MB at any time. The database file sizes are now increased at most 32 MB at any time.
@history_1038_li @history_1039_li
New method DatabaseEventListener.opened that is called just after opening a database. New method DatabaseEventListener.opened that is called just after opening a database.
@history_1039_li @history_1040_li
When using the Console with Internet Explorer 6.0 or 7.0, a Javascript error was thrown after clearing the query. When using the Console with Internet Explorer 6.0 or 7.0, a Javascript error was thrown after clearing the query.
@history_1040_li @history_1041_li
A database can now be opened even if class of a user defined function is not in the classpath. Trying to call the function will throws an exception. A database can now be opened even if class of a user defined function is not in the classpath. Trying to call the function will throws an exception.
@history_1041_li @history_1042_li
User defined functions and constants may not overload built-in functions and constants. This didn't work before, but now trying to create such an object will fail. User defined functions and constants may not overload built-in functions and constants. This didn't work before, but now trying to create such an object will fail.
@history_1042_li @history_1043_li
Improved MultiDimension tool (for spatial queries): in the last few releases the tool was actually slower than using a regular query (because index lookup got faster, and because the tool didn't support prepared statements) Now the tool generates prepared statements, and the performance is better again (about 5 times faster for a reasonable amount of data). Improved MultiDimension tool (for spatial queries): in the last few releases the tool was actually slower than using a regular query (because index lookup got faster, and because the tool didn't support prepared statements) Now the tool generates prepared statements, and the performance is better again (about 5 times faster for a reasonable amount of data).
@history_1043_li @history_1044_li
Adding a foreign key or when re-enabling referential integrity for a table failed when checking was enabled and the reference contained NULL. Adding a foreign key or when re-enabling referential integrity for a table failed when checking was enabled and the reference contained NULL.
@history_1044_li @history_1045_li
For PgServer, character encoding other than UTF-8 did not work correctly. Fixed. For PgServer, character encoding other than UTF-8 did not work correctly. Fixed.
@history_1045_li @history_1046_li
Using a function in a GROUP BY expression that is used in a view as a condition did not always work. Using a function in a GROUP BY expression that is used in a view as a condition did not always work.
@history_1046_h3 @history_1047_h3
Version 1.0.57 (2007-08-25) Version 1.0.57 (2007-08-25)
@history_1047_li @history_1048_li
New experimental feature MVCC (multi version concurrency control). Can be set as a option when opening the database (jdbc:h2:test;MVCC=TRUE) or as a system property (-Dh2.mvcc=true). This is work-in-progress, use it at your own risk. Feedback is welcome. New experimental feature MVCC (multi version concurrency control). Can be set as a option when opening the database (jdbc:h2:test;MVCC=TRUE) or as a system property (-Dh2.mvcc=true). This is work-in-progress, use it at your own risk. Feedback is welcome.
@history_1048_li @history_1049_li
The version number is now major.minor.micro where micro is the build number. Not all version are public, so there may be gaps in the micro. The minor changes when there is a file format change. The version number is now major.minor.micro where micro is the build number. Not all version are public, so there may be gaps in the micro. The minor changes when there is a file format change.
@history_1049_li @history_1050_li
The backup tool (org.h2.tools.Backup) did not work. The restore tool did not work when the -db parameter was used. Fixed. The documentation of the backup tool has been changed: only one database may be backed up at any time. The backup tool (org.h2.tools.Backup) did not work. The restore tool did not work when the -db parameter was used. Fixed. The documentation of the backup tool has been changed: only one database may be backed up at any time.
@history_1050_li @history_1051_li
Opening large read-only databases was very slow. Fixed. Opening large read-only databases was very slow. Fixed.
@history_1051_li @history_1052_li
New Japanese translation of the error messages thanks to Ikemoto Masahiro. Thanks a lot! New Japanese translation of the error messages thanks to Ikemoto Masahiro. Thanks a lot!
@history_1052_li @history_1053_li
Disabling / enabling referential integrity for a table can now be used inside a transaction. Disabling / enabling referential integrity for a table can now be used inside a transaction.
@history_1053_li @history_1054_li
Rights checking for dynamic tables (SELECT * FROM (SELECT ...)) did not work. Fixed. Rights checking for dynamic tables (SELECT * FROM (SELECT ...)) did not work. Fixed.
@history_1054_li @history_1055_li
Creating more than 10 views that depend on each other was very slow. Reconnecting was slow as well. Fixed. Creating more than 10 views that depend on each other was very slow. Reconnecting was slow as well. Fixed.
@history_1055_li @history_1056_li
When used as as Servlet, the H2 Console did not work with SSL (using Tomcat). Fixed. When used as as Servlet, the H2 Console did not work with SSL (using Tomcat). Fixed.
@history_1056_li @history_1057_li
When altering a table with foreign key constraint, if there was no manual index created for the referenced columns, the automatically created index was dropped while still being used. Fixed. When altering a table with foreign key constraint, if there was no manual index created for the referenced columns, the automatically created index was dropped while still being used. Fixed.
@history_1057_li @history_1058_li
Check and foreign key constraints now checks if the existing data is consistent (this can be disabled by appending NOCHECK). It is also possible to check existing data when re-enabling referential integrity for a table. Check and foreign key constraints now checks if the existing data is consistent (this can be disabled by appending NOCHECK). It is also possible to check existing data when re-enabling referential integrity for a table.
@history_1058_li @history_1059_li
Some unit tests failed on Linux because the file system works differently. The unit tests are fixed and should work now. Some unit tests failed on Linux because the file system works differently. The unit tests are fixed and should work now.
@history_1059_li @history_1060_li
Can now incrementally translate the documentation. See also FAQ. Can now incrementally translate the documentation. See also FAQ.
@history_1060_li @history_1061_li
Improved error messages: some tools can't show the root cause of an exception. Adding the message of the root cause to the message of the thrown exception now where it makes sense. Improved error messages: some tools can't show the root cause of an exception. Adding the message of the root cause to the message of the thrown exception now where it makes sense.
@history_1061_li @history_1062_li
The H2 Console can now connect to databases using JNDI. The driver class name must be a javax.naming.Context, (for example javax.naming.InitialContext), and the URL the resource name (for example java:comp/env/jdbc/Test). This should also work for linked tables. The H2 Console can now connect to databases using JNDI. The driver class name must be a javax.naming.Context, (for example javax.naming.InitialContext), and the URL the resource name (for example java:comp/env/jdbc/Test). This should also work for linked tables.
@history_1062_li @history_1063_li
Google translate did not work for the H2 homepage. It should be fixed now. Google translate did not work for the H2 homepage. It should be fixed now.
@history_1063_li @history_1064_li
The CONVERT function did not work with views when using UNION. The CONVERT function did not work with views when using UNION.
@history_1064_li @history_1065_li
The build now issues a warning if the source code is switched to the wrong version. The build now issues a warning if the source code is switched to the wrong version.
@history_1065_li @history_1066_li
The default lock mode is now read committed instead of serialized. The default lock mode is now read committed instead of serialized.
@history_1066_li @history_1067_li
PG server: data was truncated when reading large VARCHAR columns and decimal columns. PG server: data was truncated when reading large VARCHAR columns and decimal columns.
@history_1067_li @history_1068_li
PG server: when the same database was accessed multiple times using the PostgreSQL ODBC driver, the pg_catalog schema update failed, and connecting to the database was not possible. Fixed. PG server: when the same database was accessed multiple times using the PostgreSQL ODBC driver, the pg_catalog schema update failed, and connecting to the database was not possible. Fixed.
@history_1068_li @history_1069_li
Some file operations didn't work for files in the root directory. Fixed. Some file operations didn't work for files in the root directory. Fixed.
@history_1069_li @history_1070_li
In the Restore tool, the parameter -file did not work. Fixed. In the Restore tool, the parameter -file did not work. Fixed.
@history_1070_li @history_1071_li
Two-phase commit: commit with transaction name was only supported in the recovery scan. Now it is always supported. Two-phase commit: commit with transaction name was only supported in the recovery scan. Now it is always supported.
@history_1071_li @history_1072_li
The column name C_CURRENT_TIMESTAMP did not work in the last release. The column name C_CURRENT_TIMESTAMP did not work in the last release.
@history_1072_li @history_1073_li
OpenOffice compatibility: support database name in column names. OpenOffice compatibility: support database name in column names.
@history_1073_h3 @history_1074_h3
Version 1.0.56 (2007-08-02) Version 1.0.56 (2007-08-02)
@history_1074_li @history_1075_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). 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).
@history_1075_li @history_1076_li
The error messages (src/main/org/h2/res/_*.*) can now be translated. The error messages (src/main/org/h2/res/_*.*) can now be translated.
@history_1076_li @history_1077_li
Part of the documentation has been translated to Japanese by Yusuke Fukushima. Part of the documentation has been translated to Japanese by Yusuke Fukushima.
@history_1077_li @history_1078_li
Some Unicode characters where not supported as identifier name. Thanks Yusuke Fukushima for reporting this problem. Some Unicode characters where not supported as identifier name. Thanks Yusuke Fukushima for reporting this problem.
@history_1078_li @history_1079_li
The default value DEFAULT_MAX_LENGTH_INPLACE_LOB has been changed from 128 to 1024. The default value DEFAULT_MAX_LENGTH_INPLACE_LOB has been changed from 128 to 1024.
@history_1079_li @history_1080_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. 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.
@history_1080_li @history_1081_li
The experimental H2 ODBC driver has been removed. The experimental H2 ODBC driver has been removed.
@history_1081_li @history_1082_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. 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.
@history_1082_li @history_1083_li
Support for regular expression function REGEXP_REPLACE(expression, regex, replacement) and regular expression LIKE: expression REGEXP matchExpression. However, indexes are not yet used. Support for regular expression function REGEXP_REPLACE(expression, regex, replacement) and regular expression LIKE: expression REGEXP matchExpression. However, indexes are not yet used.
@history_1083_li @history_1084_li
The old view implementation has been removed. The old view implementation has been removed.
@history_1084_li @history_1085_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. 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.
@history_1085_li @history_1086_li
H2 Console: In the last release, the shutdown button did not work. Fixed. H2 Console: In the last release, the shutdown button did not work. Fixed.
@history_1086_li @history_1087_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. 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.
@history_1087_li @history_1088_li
The Backup and Restore tools, and the BACKUP command did not back up LOBs when h2.lobFilesInDirectories was enabled. Fixed. The Backup and Restore tools, and the BACKUP command did not back up LOBs when h2.lobFilesInDirectories was enabled. Fixed.
@history_1088_li @history_1089_li
Calculation of cache memory usage has been improved. Calculation of cache memory usage has been improved.
@history_1089_li @history_1090_li
In some situations record were released too late from the cache. Fixed. In some situations record were released too late from the cache. Fixed.
@history_1090_li @history_1091_li
The cache size is now measured in KB instead of blocks of 128 byte. The cache size is now measured in KB instead of blocks of 128 byte.
@history_1091_li @history_1092_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. 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.
@history_1092_li @history_1093_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. 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.
@history_1093_li @history_1094_li
The database file could get corrupted when there was an OutOfMemoryException in the middle of inserting a row. The database file could get corrupted when there was an OutOfMemoryException in the middle of inserting a row.
@history_1094_li @history_1095_li
Optimization for WHERE NOT(...) and WHERE [NOT] booleanFlagColumn. This can be disabled using the system property h2.optimizeNot. Optimization for WHERE NOT(...) and WHERE [NOT] booleanFlagColumn. This can be disabled using the system property h2.optimizeNot.
@history_1095_li @history_1096_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. 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.
@history_1096_li @history_1097_li
Documentation: the source code in 'Compacting a Database' was incorrect. Fixed. Documentation: the source code in 'Compacting a Database' was incorrect. Fixed.
@history_1097_li @history_1098_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. 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.
@history_1098_li @history_1099_li
Views using UNION did not work correctly. Fixed. Views using UNION did not work correctly. Fixed.
@history_1099_li @history_1100_li
Function tables did not work with views and EXPLAIN. Fixed. Function tables did not work with views and EXPLAIN. Fixed.
@history_1100_h3 @history_1101_h3
Version 1.0.55 (2007-07-12) Version 1.0.55 (2007-07-12)
@history_1101_li @history_1102_li
Support for the system property baseDir. This works for embedded databases as well. The setting is supported by the H2 Console using -Dh2.baseDir or -baseDir Support for the system property baseDir. This works for embedded databases as well. The setting is supported by the H2 Console using -Dh2.baseDir or -baseDir
@history_1102_li @history_1103_li
LIKE ESCAPE did not work correctly if the pattern was % or _, followed by an escape character, followed by %. Fixed. LIKE ESCAPE did not work correctly if the pattern was % or _, followed by an escape character, followed by %. Fixed.
@history_1103_li @history_1104_li
PostgreSQL compatibility: SET SEARCH_PATH, SERIAL, CURRENT_USER, E'text', $1. PostgreSQL compatibility: SET SEARCH_PATH, SERIAL, CURRENT_USER, E'text', $1.
@history_1104_li @history_1105_li
In some situations, when many tables with LOB columns were modified (ALTER TABLE), large objects were deleted. Fixed. In some situations, when many tables with LOB columns were modified (ALTER TABLE), large objects were deleted. Fixed.
@history_1105_li @history_1106_li
CREATE TABLE AS SELECT .. UNION .. did not work. Fixed. CREATE TABLE AS SELECT .. UNION .. did not work. Fixed.
@history_1106_li @history_1107_li
New column ID for INFORMATION_SCHEMA.INDEXES, SEQUENCES, USERS, ROLES, RIGHTS, FUNCTION_ALIASES, SCHEMATA, VIEWS, CONSTRAINTS, CONSTANTS, DOMAINS, TRIGGERS. New column ID for INFORMATION_SCHEMA.INDEXES, SEQUENCES, USERS, ROLES, RIGHTS, FUNCTION_ALIASES, SCHEMATA, VIEWS, CONSTRAINTS, CONSTANTS, DOMAINS, TRIGGERS.
@history_1107_li @history_1108_li
If large result sets (backed by a temporary file) where not closed, the file was not deleted. Now, the default result set type is FETCH_FORWARD. This means temp files are deleted automatically (without having to close the result set explicitly). But it also means ResultSet.beforeFirst can only be called for scrollable result sets. To create a scrollable result set, use Statement stat = conn.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY). If large result sets (backed by a temporary file) where not closed, the file was not deleted. Now, the default result set type is FETCH_FORWARD. This means temp files are deleted automatically (without having to close the result set explicitly). But it also means ResultSet.beforeFirst can only be called for scrollable result sets. To create a scrollable result set, use Statement stat = conn.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY).
@history_1108_li @history_1109_li
PreparedStatement.getMetaData is now implemented. PreparedStatement.getMetaData is now implemented.
@history_1109_li @history_1110_li
Now PreparedStatement.setBigDecimal(..) can be called with an object of a derived class if the system property h2.allowBigDecimalExtensions is set to true. Now PreparedStatement.setBigDecimal(..) can be called with an object of a derived class if the system property h2.allowBigDecimalExtensions is set to true.
@history_1110_li @history_1111_li
The default database name in the documentation is now jdbc:h2:~/test. Like this, the database is stored in the user home directory (system property user.home). Of course storing the database in the current working directory (as in jdbc:h2:test) still works. Using the user directory avoids the problem that the database is not found if the application runs in another directory than the console. The default database name in the documentation is now jdbc:h2:~/test. Like this, the database is stored in the user home directory (system property user.home). Of course storing the database in the current working directory (as in jdbc:h2:test) still works. Using the user directory avoids the problem that the database is not found if the application runs in another directory than the console.
@history_1111_li @history_1112_li
The SQL statement SET ASSERT has been deprecated, because Constants.CHECK is now final. To disable assertions (and improve performance), the system property h2.check can be used. Executing SET ASSERT still works, but has no effect. The SQL statement SET ASSERT has been deprecated, because Constants.CHECK is now final. To disable assertions (and improve performance), the system property h2.check can be used. Executing SET ASSERT still works, but has no effect.
@history_1112_li @history_1113_li
In the READ_COMMITTED mode, when the multi-threaded kernel is enabled, read locks are now acquired but released immediately after a query. In the READ_COMMITTED mode, when the multi-threaded kernel is enabled, read locks are now acquired but released immediately after a query.
@history_1113_li @history_1114_li
The default trace level for JdbcDataSourceFactory was DEBUG, so when using data sources a trace file was always created. Now the default trace level is ERROR, and the file is only created if necessary. The default trace level for JdbcDataSourceFactory was DEBUG, so when using data sources a trace file was always created. Now the default trace level is ERROR, and the file is only created if necessary.
@history_1114_li @history_1115_li
PooledConnection.getConnection took a long time if only one connection was open at any time. Fixed. PooledConnection.getConnection took a long time if only one connection was open at any time. Fixed.
@history_1115_li @history_1116_li
Referential integrity violation: Two different SQL states are now used for missing parent / existing child. Referential integrity violation: Two different SQL states are now used for missing parent / existing child.
@history_1116_li @history_1117_li
DatabaseEventListener.exceptionThrown has a new parameter: SQL DatabaseEventListener.exceptionThrown has a new parameter: SQL
@history_1117_li @history_1118_li
For compatibility reasons, the catalog name can now be used in queries: SELECT * FROM TESTDB.PUBLIC.TEST For compatibility reasons, the catalog name can now be used in queries: SELECT * FROM TESTDB.PUBLIC.TEST
@history_1118_li @history_1119_li
If SHUTDOWN IMMEDIATELY was called, then the connection was not closed and the database opened from somebody else at the same time, in some cases this could result in errors with LOB files. Fixed. If SHUTDOWN IMMEDIATELY was called, then the connection was not closed and the database opened from somebody else at the same time, in some cases this could result in errors with LOB files. Fixed.
@history_1119_li @history_1120_li
The new view implementation is now enabled by default. To use the old implementation, set the system property 'h2.indexOld' to true (java -Dh2.indexOld=true ..., or in source code Constants.INDEX_OLD = true). If no problems are found, the old implementation will be removed in the next release. The old implementation does not work with multi-level nested temporary views (select * from (select * from (select * from test))). The new view implementation is now enabled by default. To use the old implementation, set the system property 'h2.indexOld' to true (java -Dh2.indexOld=true ..., or in source code Constants.INDEX_OLD = true). If no problems are found, the old implementation will be removed in the next release. The old implementation does not work with multi-level nested temporary views (select * from (select * from (select * from test))).
@history_1120_li @history_1121_li
The new view implementation did not work with < and <= comparison, and did not allow conditions on aggregates or grouped columns (HAVING). Fixed.. Fixed. The new view implementation did not work with < and <= comparison, and did not allow conditions on aggregates or grouped columns (HAVING). Fixed.. Fixed.
@history_1121_li @history_1122_li
Both view implementations did not work with multiple levels of nested temporary views (FROM (SELECT...)). Fixed. Both view implementations did not work with multiple levels of nested temporary views (FROM (SELECT...)). Fixed.
@history_1122_li @history_1123_li
The H2 Console can now be run as a standalone web application, or it can be embedded as a servlet into any existing web application. To build the 'H2 Console' web application, execute 'ant warConsole'. See src/tools/org/h2/server/web and src/tools/WEB-INF for details. This web application has been tested with Tomcat and Jetty. The H2 Console can now be run as a standalone web application, or it can be embedded as a servlet into any existing web application. To build the 'H2 Console' web application, execute 'ant warConsole'. See src/tools/org/h2/server/web and src/tools/WEB-INF for details. This web application has been tested with Tomcat and Jetty.
@history_1123_li @history_1124_li
Deleting database files didn't work for Windows if the database was on the root directory of a drive. Deleting database files didn't work for Windows if the database was on the root directory of a drive.
@history_1124_li @history_1125_li
The Polish translation is available. Thanks a lot to Tomek! The Polish translation is available. Thanks a lot to Tomek!
@history_1125_li @history_1126_li
Windows service: the CLASSPATH was not included when starting the service. Fixed. Windows service: the CLASSPATH was not included when starting the service. Fixed.
@history_1126_h3 @history_1127_h3
Version 1.0.50 (2007-06-17) Version 1.0.50 (2007-06-17)
@history_1127_li @history_1128_li
File names starting with ~ are now in the user directory (Java system property user.home) File names starting with ~ are now in the user directory (Java system property user.home)
@history_1128_li @history_1129_li
New Console starter application uses the JDK 1.6 system tray functionality if available, or a simple AWT frame for other platforms. To try it out, execute java org.h2.tools.Console. Feedback is welcome. This console starter application is not the default yet, but the plan is to remove the SysTray tool in the future. New Console starter application uses the JDK 1.6 system tray functionality if available, or a simple AWT frame for other platforms. To try it out, execute java org.h2.tools.Console. Feedback is welcome. This console starter application is not the default yet, but the plan is to remove the SysTray tool in the future.
@history_1129_li @history_1130_li
New method Csv.write(Writer writer, ResultSet rs) New method Csv.write(Writer writer, ResultSet rs)
@history_1130_li @history_1131_li
If a Reader or InputStream of a LOB is not closed, the LOB can not be deleted (embedded mode only). The exception is typically 'Error while renaming file'). As a workaround, set the system property 'h2.lobCloseBetweenReads' to true to close the LOB files between read operations. However this slows down reading. If a Reader or InputStream of a LOB is not closed, the LOB can not be deleted (embedded mode only). The exception is typically 'Error while renaming file'). As a workaround, set the system property 'h2.lobCloseBetweenReads' to true to close the LOB files between read operations. However this slows down reading.
@history_1131_li @history_1132_li
Server mode: the server stack trace was included in SQLException messages. Fixed. Server mode: the server stack trace was included in SQLException messages. Fixed.
@history_1132_li @history_1133_li
Views support has been partially re-implemented. Views are up to 6 times faster. Compared to regular queries, only 20% overhead. Because this is a bigger change, it is not enabled by default. To enable it, set the system property 'h2.indexNew' to true (java -Dh2.indexNew=true ..., or in source code Constants.INDEX_NEW = true). If no problems are found, this will be enabled by default in the next release. Views support has been partially re-implemented. Views are up to 6 times faster. Compared to regular queries, only 20% overhead. Because this is a bigger change, it is not enabled by default. To enable it, set the system property 'h2.indexNew' to true (java -Dh2.indexNew=true ..., or in source code Constants.INDEX_NEW = true). If no problems are found, this will be enabled by default in the next release.
@history_1133_li @history_1134_li
In INSERT and MERGE statements, each column may only be specified once now. In INSERT and MERGE statements, each column may only be specified once now.
@history_1134_li @history_1135_li
For most IOExceptions now the file name is included in the error message. For most IOExceptions now the file name is included in the error message.
@history_1135_li @history_1136_li
A java.util.Date object is now converted to a TIMESTAMP in the JDBC API. Previously it was converted to a DATE. A java.util.Date object is now converted to a TIMESTAMP in the JDBC API. Previously it was converted to a DATE.
@history_1136_li @history_1137_li
After calling SHUTDOWN and closing the connection and a superfluous error message appeared in the trace file. Fixed. After calling SHUTDOWN and closing the connection and a superfluous error message appeared in the trace file. Fixed.
@history_1137_li @history_1138_li
In many situations, views did not use an index if they could have. Fixed. Also the explain plan for views works now. In many situations, views did not use an index if they could have. Fixed. Also the explain plan for views works now.
@history_1138_li @history_1139_li
The table id (important for LOB files) is now included in INFORMATION_SCHEMA.TABLES. The table id (important for LOB files) is now included in INFORMATION_SCHEMA.TABLES.
@history_1139_li @history_1140_li
When using DISTINCT, ORDER BY a function works now as long as it is in the column list. When using DISTINCT, ORDER BY a function works now as long as it is in the column list.
@history_1140_li @history_1141_li
Support for the data type CHAR. The difference to VARCHAR is: trailing spaces are ignored. This data type is supported for compatibility with other databases and older applications. Support for the data type CHAR. The difference to VARCHAR is: trailing spaces are ignored. This data type is supported for compatibility with other databases and older applications.
@history_1141_li @history_1142_li
The aggregate function COUNT(...) now returns a long instead of an int. The aggregate function COUNT(...) now returns a long instead of an int.
@history_1142_li @history_1143_li
The 'ordering' of data types was not always correct, for example an operation involving REAL and DOUBLE produced a result of type REAL. Fixed. The 'ordering' of data types was not always correct, for example an operation involving REAL and DOUBLE produced a result of type REAL. Fixed.
@history_1143_li @history_1144_li
CSV tool: If the same instance was used for reading and writing, the tool wrote the column names twice. Fixed. CSV tool: If the same instance was used for reading and writing, the tool wrote the column names twice. Fixed.
@history_1144_li @history_1145_li
Compatibility: Support for the data type notation CHARACTER VARYING. Compatibility: Support for the data type notation CHARACTER VARYING.
@history_1145_li @history_1146_li
Can now ORDER BY -1 (meaning order by first column, descending), and ORDER BY ? (parameterized column number). Can now ORDER BY -1 (meaning order by first column, descending), and ORDER BY ? (parameterized column number).
@history_1146_li @history_1147_li
Databases with invalid linked tables (for example, because the target database is not accessible) can now be opened. Old table links don't work however. Databases with invalid linked tables (for example, because the target database is not accessible) can now be opened. Old table links don't work however.
@history_1147_li @history_1148_li
There was a small memory leak in the trace module. One object per opened connection was kept in a hash map. There was a small memory leak in the trace module. One object per opened connection was kept in a hash map.
@history_1148_li @history_1149_li
Linked tables can now emit UPDATE statements if 'EMIT UPDATES' is specified in the CREATE LINKED TABLE statement. So far, updating a row always deleted the old row and then inserted the new row. Linked tables can now emit UPDATE statements if 'EMIT UPDATES' is specified in the CREATE LINKED TABLE statement. So far, updating a row always deleted the old row and then inserted the new row.
@history_1149_li @history_1150_li
In the last release, the H2 Console opened two connection when logging into a database, and only closed one connection when logging out. Fixed. In the last release, the H2 Console opened two connection when logging into a database, and only closed one connection when logging out. Fixed.
@history_1150_li @history_1151_li
New functions LEAST and GREATEST to get the smallest or largest value from a list. New functions LEAST and GREATEST to get the smallest or largest value from a list.
@history_1151_h3 @history_1152_h3
Version 1.0.46 (2007-04-29) Version 1.0.46 (2007-04-29)
@history_1152_li @history_1153_li
Unnamed private in-memory database (jdbc:h2:mem:) were not 'private' as documented. Fixed. Unnamed private in-memory database (jdbc:h2:mem:) were not 'private' as documented. Fixed.
@history_1153_li @history_1154_li
Autocomplete in the Console application: now the result frame scrolls to the top when the list is updated. Autocomplete in the Console application: now the result frame scrolls to the top when the list is updated.
@history_1154_li @history_1155_li
GROUP BY expressions did not work correctly in subqueries. Fixed. GROUP BY expressions did not work correctly in subqueries. Fixed.
@history_1155_li @history_1156_li
New function TABLE to define ad-hoc (temporary) tables in a query. This also solves problems with variable-size IN(...) queries: instead of SELECT * FROM TEST WHERE ID IN(?, ?, ...) you can now write: SELECT * FROM TABLE(ID INT=?) X, TEST WHERE X.ID=TEST.ID In this case, the index is used. New function TABLE to define ad-hoc (temporary) tables in a query. This also solves problems with variable-size IN(...) queries: instead of SELECT * FROM TEST WHERE ID IN(?, ?, ...) you can now write: SELECT * FROM TABLE(ID INT=?) X, TEST WHERE X.ID=TEST.ID In this case, the index is used.
@history_1156_li @history_1157_li
New data type ARRAY. Actually it was there before, but is now documented and better tested (however it must still be considered experimental). The java.sql.Array implementation is incomplete, but setObject(1, new Object[]{...}) and getObject(..) can be used. New functions ARRAY_GET and ARRAY_LENGTH. New data type ARRAY. Actually it was there before, but is now documented and better tested (however it must still be considered experimental). The java.sql.Array implementation is incomplete, but setObject(1, new Object[]{...}) and getObject(..) can be used. New functions ARRAY_GET and ARRAY_LENGTH.
@history_1157_li @history_1158_li
SimpleResultSet now has some basic data type conversion features. SimpleResultSet now has some basic data type conversion features.
@history_1158_li @history_1159_li
When using JDK 1.5 or later, and switching on h2.lobFilesInDirectories, the performance for creating LOBs was bad. This has been fixed, however creating lots of LOBs it is still faster when the setting is switched off. When using JDK 1.5 or later, and switching on h2.lobFilesInDirectories, the performance for creating LOBs was bad. This has been fixed, however creating lots of LOBs it is still faster when the setting is switched off.
@history_1159_li @history_1160_li
A problem with multiple unnamed dynamic tables (FROM (SELECT...)) has been fixed. A problem with multiple unnamed dynamic tables (FROM (SELECT...)) has been fixed.
@history_1160_li @history_1161_li
Appending 'Z' to a timestamp did not have an effect. Now it is interpreted as +00:00 (GMT). Appending 'Z' to a timestamp did not have an effect. Now it is interpreted as +00:00 (GMT).
@history_1161_li @history_1162_li
The BACKUP command is better tested and documented. This means hot backup (online backup) is now possible. The BACKUP command is better tested and documented. This means hot backup (online backup) is now possible.
@history_1162_li @history_1163_li
The old 'Backup' tool is now called 'Script' (as the SQL statement). The old 'Backup' tool is now called 'Script' (as the SQL statement).
@history_1163_li @history_1164_li
There are new 'Backup' and 'Restore' tools that work with database files directly. There are new 'Backup' and 'Restore' tools that work with database files directly.
@history_1164_li @history_1165_li
The complete syntax for referential and check constraints is now supported when written as part of the column definition, behind PRIMARY KEY. The complete syntax for referential and check constraints is now supported when written as part of the column definition, behind PRIMARY KEY.
@history_1165_li @history_1166_li
CASE WHEN ... returned the wrong result when the condition evaluated to NULL. CASE WHEN ... returned the wrong result when the condition evaluated to NULL.
@history_1166_li @history_1167_li
The new function LINK_SCHEMA simplifies linking all tables of a schema. The new function LINK_SCHEMA simplifies linking all tables of a schema.
@history_1167_li @history_1168_li
SCRIPT DROP now also drops aliases (Java functions) if they exist. SCRIPT DROP now also drops aliases (Java functions) if they exist.
@history_1168_li @history_1169_li
For encrypted databases, the trace option can no longer be enabled manually by creating a file. For encrypted databases, the trace option can no longer be enabled manually by creating a file.
@history_1169_li @history_1170_li
For linked tables, NULL in the unique key is now supported. For linked tables, NULL in the unique key is now supported.
@history_1170_li @history_1171_li
For read-only databases, temp files are now created in the default temp directory instead of the database directory. For read-only databases, temp files are now created in the default temp directory instead of the database directory.
@history_1171_li @history_1172_li
Sending CLOB data was slow in some systems when using the server version. Fixed. Sending CLOB data was slow in some systems when using the server version. Fixed.
@history_1172_li @history_1173_li
CSVWRITE now returns the number of rows written. CSVWRITE now returns the number of rows written.
@history_1173_li @history_1174_li
The data type of NULLIF was NULL if the first expression was a column. Now the data type is set correctly. The data type of NULLIF was NULL if the first expression was a column. Now the data type is set correctly.
@history_1174_li @history_1175_li
Indexes (and other related objects) for local temporary tables where not dropped when the session was closed. Fixed. Indexes (and other related objects) for local temporary tables where not dropped when the session was closed. Fixed.
@history_1175_li @history_1176_li
ALTER TABLE did not work for tables with computed columns. ALTER TABLE did not work for tables with computed columns.
@history_1176_li @history_1177_li
SQLException.getCause of the now works for JDK 1.4 and higher. SQLException.getCause of the now works for JDK 1.4 and higher.
@history_1177_li @history_1178_li
If the index file was deleted, an error was logged in the .trace.db file. This is no longer done. If the index file was deleted, an error was logged in the .trace.db file. This is no longer done.
@history_1178_li @history_1179_li
The Portuguese (Europe) translation is available. Thanks a lot to Antonio Casqueiro! The Portuguese (Europe) translation is available. Thanks a lot to Antonio Casqueiro!
@history_1179_li @history_1180_li
The error message for invalid views has been improved (the root cause is included in the message now). The error message for invalid views has been improved (the root cause is included in the message now).
@history_1180_li @history_1181_li
IN(SELECT ...) was not working correctly if the subquery returned a NULL value. Fixed. IN(SELECT ...) was not working correctly if the subquery returned a NULL value. Fixed.
@history_1181_li @history_1182_li
DROP ALL OBJECTS did not drop constants. DROP ALL OBJECTS did not drop constants.
@history_1182_li @history_1183_li
DROP ALL OBJECTS dropped the role PUBLIC, which was wrong. Fixed. DROP ALL OBJECTS dropped the role PUBLIC, which was wrong. Fixed.
@history_1183_li @history_1184_li
CASE was parsed as a function if the expression was in (). Fixed. CASE was parsed as a function if the expression was in (). Fixed.
@history_1184_li @history_1185_li
When ORDER BY was used together with DISTINCT, it was required to type the column name exactly in the select list and the order list exactly in the same way. This is not required any longer. When ORDER BY was used together with DISTINCT, it was required to type the column name exactly in the select list and the order list exactly in the same way. This is not required any longer.
@history_1185_h3 @history_1186_h3
Version 1.0.44 (2007-03-04) Version 1.0.44 (2007-03-04)
@history_1186_li @history_1187_li
System sequences (automatically created sequences for IDENTITY or AUTO_INCREMENT columns) are now random (UUIDs) to avoid clashes when merging databases using RUNSCRIPT. System sequences (automatically created sequences for IDENTITY or AUTO_INCREMENT columns) are now random (UUIDs) to avoid clashes when merging databases using RUNSCRIPT.
@history_1187_li @history_1188_li
The precision for linked tables was not correct for some data types, for example VARCHAR. Fixed. The precision for linked tables was not correct for some data types, for example VARCHAR. Fixed.
@history_1188_li @history_1189_li
Many problems and bugs in the XA support (package javax.sql) have been fixed. Many problems and bugs in the XA support (package javax.sql) have been fixed.
@history_1189_li @history_1190_li
Now the server tool (org.h2.tools.Server) terminates with an exit code if a problem occured. Now the server tool (org.h2.tools.Server) terminates with an exit code if a problem occured.
@history_1190_li @history_1191_li
The JDBC driver is now loaded if the JdbcDataSource class is loaded. The JDBC driver is now loaded if the JdbcDataSource class is loaded.
@history_1191_li @history_1192_li
After renaming a user the password becomes invalid. This is now documented. After renaming a user the password becomes invalid. This is now documented.
@history_1192_li @history_1193_li
XAResource.recover didn't work. Fixed. XAResource.recover didn't work. Fixed.
@history_1193_li @history_1194_li
XAResource.recover did throw an exception with the code XAER_OUTSIDE if there was no connection. Now the code is XAER_RMERR. XAResource.recover did throw an exception with the code XAER_OUTSIDE if there was no connection. Now the code is XAER_RMERR.
@history_1194_li @history_1195_li
SCRIPT did not work correctly with BLOB or CLOB data. Fixed. SCRIPT did not work correctly with BLOB or CLOB data. Fixed.
@history_1195_li @history_1196_li
BACKUP TO 'test.zip' now works with encrypted databases and CLOB and BLOB data. BACKUP TO 'test.zip' now works with encrypted databases and CLOB and BLOB data.
@history_1196_li @history_1197_li
The function CASE WHEN ... didn't convert the returned value to the same data type, resulting in unexpected behavior in many cases. Fixed. The function CASE WHEN ... didn't convert the returned value to the same data type, resulting in unexpected behavior in many cases. Fixed.
@history_1197_li @history_1198_li
Truncating a table is now allowed if the table references another table (but still not allowed if the table is references by another table). Truncating a table is now allowed if the table references another table (but still not allowed if the table is references by another table).
@history_1198_li @history_1199_li
ORDER BY picked the wrong column if the same column name (but with a different table name) was used twice in the select list. ORDER BY picked the wrong column if the same column name (but with a different table name) was used twice in the select list.
@history_1199_li @history_1200_li
When a subquery was used in the select list of a query, and GROUP BY was used at the same time, a NullPointerException could occur. Fixed. When a subquery was used in the select list of a query, and GROUP BY was used at the same time, a NullPointerException could occur. Fixed.
@history_1200_li @history_1201_li
ORDER BY did not work when DISTINCT was used at the same time in some situations. Fixed. ORDER BY did not work when DISTINCT was used at the same time in some situations. Fixed.
@history_1201_li @history_1202_li
When using IN(...) on a case insensitive column (VARCHAR_IGNORECASE), an incorrect optimization was made and the result was wrong sometimes. When using IN(...) on a case insensitive column (VARCHAR_IGNORECASE), an incorrect optimization was made and the result was wrong sometimes.
@history_1202_h3 @history_1203_h3
Version 1.0.41 (2007-01-30) Version 1.0.41 (2007-01-30)
@history_1203_li @history_1204_li
Experimental online backup feature using the SQL statement BACKUP TO 'fileName'. This creates a backup in the form of a zip file. Unlike the SCRIPT TO command, the data tables are not locked. Experimental online backup feature using the SQL statement BACKUP TO 'fileName'. This creates a backup in the form of a zip file. Unlike the SCRIPT TO command, the data tables are not locked.
@history_1204_li @history_1205_li
When using the server mode, temporary files for large LOB values are now deleted when the result set is closed. This also means that LOBs become unavailable after closing the result, however this is according to the specs. When using the server mode, temporary files for large LOB values are now deleted when the result set is closed. This also means that LOBs become unavailable after closing the result, however this is according to the specs.
@history_1205_li @history_1206_li
It was possible that SUM throws a class cast exception if the parameter was a conditional expression. It was possible that SUM throws a class cast exception if the parameter was a conditional expression.
@history_1206_li @history_1207_li
Benchmark: Added a multi-client test case, BenchB (similar to TPC-B). Benchmark: Added a multi-client test case, BenchB (similar to TPC-B).
@history_1207_li @history_1208_li
Compatibility: SCHEMA_NAME.SEQUENCE_NAME.NEXTVAL now works as expected. Compatibility: SCHEMA_NAME.SEQUENCE_NAME.NEXTVAL now works as expected.
@history_1208_li @history_1209_li
The Console is now translated to Hungarian thanks to Andras Hideg, and to Indonesian thanks to Joko Yuliantoro The Console is now translated to Hungarian thanks to Andras Hideg, and to Indonesian thanks to Joko Yuliantoro
@history_1209_li @history_1210_li
XAConnection: A NullPointerException was thrown if addConnectionEventListener was called before opening the connection. XAConnection: A NullPointerException was thrown if addConnectionEventListener was called before opening the connection.
@history_1210_li @history_1211_li
In case the result set of a subquery was re-used, an exception was throws if the subquery result did not fit in memory. Now the result is not re-used in this case. Generally, large subqueries should be avoided for performance reasons. In case the result set of a subquery was re-used, an exception was throws if the subquery result did not fit in memory. Now the result is not re-used in this case. Generally, large subqueries should be avoided for performance reasons.
@history_1211_li @history_1212_li
The command "drop all objects delete files" did not work on linux if the database name was lower case. The command "drop all objects delete files" did not work on linux if the database name was lower case.
@history_1212_li @history_1213_li
When setting the URL to an empty string the DataSource now throws an better exception. When setting the URL to an empty string the DataSource now throws an better exception.
@history_1213_li @history_1214_li
Parsing of LIKE .. ESCAPE did not stop at the expected point. Fixed. Parsing of LIKE .. ESCAPE did not stop at the expected point. Fixed.
@history_1214_li @history_1215_li
Can now use UUID columns as generated key values. However, the UUID column must be the primary key. Can now use UUID columns as generated key values. However, the UUID column must be the primary key.
@history_1215_li @history_1216_li
Improved the Javadoc documentation. Now unsupported features are marked with [Not supported], and partially supported features are [Partially supported]. Improved the Javadoc documentation. Now unsupported features are marked with [Not supported], and partially supported features are [Partially supported].
@history_1216_li @history_1217_li
The forum subscriptions (the emails sent from the forum) now works. The forum subscriptions (the emails sent from the forum) now works.
@history_1217_h3 @history_1218_h3
Version 1.0.40 (2007-01-17) Version 1.0.40 (2007-01-17)
@history_1218_li @history_1219_li
Setting the collation (SET COLLATOR) was very slow on some systems (up to 24 seconds). Thanks a lot to Martina Nissler for finding this problem! Setting the collation (SET COLLATOR) was very slow on some systems (up to 24 seconds). Thanks a lot to Martina Nissler for finding this problem!
@history_1219_li @history_1220_li
The Console is now translated to Japanese thanks to IKEMOTO, Masahiro (ikeyan (at) arizona (dot) ne (dot) jp) The Console is now translated to Japanese thanks to IKEMOTO, Masahiro (ikeyan (at) arizona (dot) ne (dot) jp)
@history_1220_li @history_1221_li
The database engine can now be compiled with JDK 1.3 using ant codeswitch. There are still some limitations, and the ant script to build the jar does not work yet. The database engine can now be compiled with JDK 1.3 using ant codeswitch. There are still some limitations, and the ant script to build the jar does not work yet.
@history_1221_li @history_1222_li
Fixed a problem where data in the log file was not written to the data file (recovery failure) after a crash, if an index was deleted previously. Fixed a problem where data in the log file was not written to the data file (recovery failure) after a crash, if an index was deleted previously.
@history_1222_li @history_1223_li
SCRIPT NODATA now writes the row count for each table (this simplifies comparing databases). SCRIPT NODATA now writes the row count for each table (this simplifies comparing databases).
@history_1223_li @history_1224_li
Selecting a column using the syntax schemaName.tableName.columnName did not work in all cases. Selecting a column using the syntax schemaName.tableName.columnName did not work in all cases.
@history_1224_li @history_1225_li
Can now parse timestamps with timezone information (Z or +/-hh:mm) and dates before year 1. However dates before year 1 are not formatted correctly (this is a Java problem). Can now parse timestamps with timezone information (Z or +/-hh:mm) and dates before year 1. However dates before year 1 are not formatted correctly (this is a Java problem).
@history_1225_li @history_1226_li
When stopping the TCP server from an application and immediately afterwards staring it again using a different TCP password, an exception was thrown sometimes. When stopping the TCP server from an application and immediately afterwards staring it again using a different TCP password, an exception was thrown sometimes.
@history_1226_li @history_1227_li
Now PreparedStatement.setBigDecimal(..) can only be called with an object of type java.math.BigDecimal. Derived classes are not allowed any more. Many thanks to Maciej Wegorkiewicz for finding this problem. Now PreparedStatement.setBigDecimal(..) can only be called with an object of type java.math.BigDecimal. Derived classes are not allowed any more. Many thanks to Maciej Wegorkiewicz for finding this problem.
@history_1227_li @history_1228_li
It was possible to manipulate values in the byte array after calling PreparedStatement.setBytes, and this could lead to problems if the same byte array was used again. Now the byte array is copied if required. It was possible to manipulate values in the byte array after calling PreparedStatement.setBytes, and this could lead to problems if the same byte array was used again. Now the byte array is copied if required.
@history_1228_li @history_1229_li
Date, time and timestamp objects were cloned in cases where it was not required. Fixed. Date, time and timestamp objects were cloned in cases where it was not required. Fixed.
@history_1229_h3 @history_1230_h3
Version 1.0.36 (2007-01-02) Version 1.0.36 (2007-01-02)
@history_1230_li @history_1231_li
It was possible to drop the sequence of a temporary tables with DROP ALL OBJECTS, resulting in a null pointer exception afterwards. It was possible to drop the sequence of a temporary tables with DROP ALL OBJECTS, resulting in a null pointer exception afterwards.
@history_1231_li @history_1232_li
Prepared statements with non-constant functions such as CURRENT_TIMESTAMP() did not get re-evaluated if the result of the function changed. Fixed. Prepared statements with non-constant functions such as CURRENT_TIMESTAMP() did not get re-evaluated if the result of the function changed. Fixed.
@history_1232_li @history_1233_li
The (relative or absolute) directory where the script files are stored or read can now be changed using the system property h2.scriptDirectory The (relative or absolute) directory where the script files are stored or read can now be changed using the system property h2.scriptDirectory
@history_1233_li @history_1234_li
Client trace files now created in the directory 'trace.db' and no longer the application directory. This can be changed using the system property h2.clientTraceDirectory. Client trace files now created in the directory 'trace.db' and no longer the application directory. This can be changed using the system property h2.clientTraceDirectory.
@history_1234_li @history_1235_li
In some situations the log file got corrupt if the process was terminated while the database was opening. In some situations the log file got corrupt if the process was terminated while the database was opening.
@history_1235_li @history_1236_li
Using ;RECOVER=1 in the database URL threw a syntax exception. Fixed. Using ;RECOVER=1 in the database URL threw a syntax exception. Fixed.
@history_1236_li @history_1237_li
If a CLOB or BLOB was deleted in a transaction and the database crashed before the transaction was committed or rolled back, the object was lost if it was large. Fixed. If a CLOB or BLOB was deleted in a transaction and the database crashed before the transaction was committed or rolled back, the object was lost if it was large. Fixed.
@history_1237_li @history_1238_li
Now using ant-build.properties. The jdk is automatically updated when using ant codeswitch... Now using ant-build.properties. The jdk is automatically updated when using ant codeswitch...
@history_1238_li @history_1239_li
Cluster: Now the server can detect if a query is read-only, and in this case the result is only read from the first cluster node. However, there is currently no load balancing made to avoid problems with transactions / locking. Cluster: Now the server can detect if a query is read-only, and in this case the result is only read from the first cluster node. However, there is currently no load balancing made to avoid problems with transactions / locking.
@history_1239_li @history_1240_li
Many settings are now initialized from system properties and can be changed on the command line without having recompile the database. See Advances / Settings Read from System Properties. Many settings are now initialized from system properties and can be changed on the command line without having recompile the database. See Advances / Settings Read from System Properties.
@history_1240_li @history_1241_li
H2 is now available in Maven. The groupId is com.h2database, the artifactId h2 and the version 1.0.20061217. To create the maven artifacts yourself, use 'ant mavenUploadLocal' and 'ant mavenBuildCentral'. H2 is now available in Maven. The groupId is com.h2database, the artifactId h2 and the version 1.0.20061217. To create the maven artifacts yourself, use 'ant mavenUploadLocal' and 'ant mavenBuildCentral'.
@history_1241_h3 @history_1242_h3
Version 1.0.25 (2006-08-31) Version 1.0.25 (2006-08-31)
@history_1242_li @history_1243_li
In some situations, wide b-tree indexes (with large VARCHAR columns for example) could get corrupted. Fixed. In some situations, wide b-tree indexes (with large VARCHAR columns for example) could get corrupted. Fixed.
@history_1243_li @history_1244_li
ORDER BY was broken in the last release when using table aliases. Fixed. ORDER BY was broken in the last release when using table aliases. Fixed.
@history_1244_h3 @history_1245_h3
Version 0.9 (2005-12-13) Version 0.9 (2005-12-13)
@history_1245_li @history_1246_li
First public release. First public release.
@history_1246_h2 @history_1247_h2
Roadmap Roadmap
@history_1247_h3 @history_1248_h3
Highest Priority Highest Priority
@history_1248_li @history_1249_li
Improve test code coverage Improve test code coverage
@history_1249_li @history_1250_li
More fuzz tests More fuzz tests
@history_1250_li @history_1251_li
Test very large databases and LOBs (up to 256 GB) Test very large databases and LOBs (up to 256 GB)
@history_1251_li @history_1252_li
Test multi-threaded in-memory db access Test multi-threaded in-memory db access
@history_1252_h3 @history_1253_h3
In Version 1.1 In Version 1.1
@history_1253_li @history_1254_li
Add version number. Install directory: h2-1.0, jar file: h2-1.0.jar. Micro version: use build number, staring with 1.1.100 Add version number. Install directory: h2-1.0, jar file: h2-1.0.jar. Micro version: use build number, staring with 1.1.100
@history_1254_li @history_1255_li
Automatic upgrade if there is a file format change Automatic upgrade if there is a file format change
@history_1255_li @history_1256_li
ALTER TABLE on a table with a LOB could result in 'Cannot delete file' on some systems. Fixed. ALTER TABLE on a table with a LOB could result in 'Cannot delete file' on some systems. Fixed.
@history_1256_li @history_1257_li
Change Constants.DEFAULT_MAX_MEMORY_UNDO to 10000 (and change the docs). Test. Change Constants.DEFAULT_MAX_MEMORY_UNDO to 10000 (and change the docs). Test.
@history_1257_li @history_1258_li
Enable and document optimizations, LOB files in directories Enable and document optimizations, LOB files in directories
@history_1258_li @history_1259_li
Special methods for DataPage.writeByte / writeShort and so on Special methods for DataPage.writeByte / writeShort and so on
@history_1259_li @history_1260_li
Index organized tables CREATE TABLE...(...) ORGANIZATION INDEX (store in data file) (probably file format changes are required for rowId) Index organized tables CREATE TABLE...(...) ORGANIZATION INDEX (store in data file) (probably file format changes are required for rowId)
@history_1260_li @history_1261_li
Change the default for NULL || 'x' to NULL Change the default for NULL || 'x' to NULL
@history_1261_h3 @history_1262_h3
Priority 1 Priority 1
@history_1262_li @history_1263_li
MVCC (Multi Version Concurrency Control) MVCC (Multi Version Concurrency Control)
@history_1263_li @history_1264_li
Read-only databases inside a jar (splitting large files to speed up random access) Read-only databases inside a jar (splitting large files to speed up random access)
@history_1264_li @history_1265_li
RECOVER=1 should automatically recover, =2 should run the recovery tool if required RECOVER=1 should automatically recover, =2 should run the recovery tool if required
@history_1265_li @history_1266_li
More tests with MULTI_THREADED=1 More tests with MULTI_THREADED=1
@history_1266_li @history_1267_li
Improve performance for create table (if this is possible) Improve performance for create table (if this is possible)
@history_1267_li @history_1268_li
Test with Spatial DB in a box / JTS (http://docs.codehaus.org/display/GEOS/SpatialDBBox) Test with Spatial DB in a box / JTS (http://docs.codehaus.org/display/GEOS/SpatialDBBox)
@history_1268_li @history_1269_li
Document how to use H2 with PHP (generic database API) Document how to use H2 with PHP (generic database API)
@history_1269_li @history_1270_li
Optimization: result set caching (like MySQL) Optimization: result set caching (like MySQL)
@history_1270_li @history_1271_li
Server side cursors Server side cursors
@history_1271_li @history_1272_li
Row level locking Row level locking
@history_1272_li @history_1273_li
System table: open sessions and locks of a database System table: open sessions and locks of a database
@history_1273_li @history_1274_li
Function in management db: list open connections and databases of a (TCP) server Function in management db: list open connections and databases of a (TCP) server
@history_1274_li @history_1275_li
Fix right outer joins Fix right outer joins
@history_1275_li @history_1276_li
Full outer joins Full outer joins
@history_1276_li @history_1277_li
Long running queries / errors / trace system table Long running queries / errors / trace system table
@history_1277_li @history_1278_li
Migrate database tool (also from other database engines) Migrate database tool (also from other database engines)
@history_1278_li @history_1279_li
Shutdown compact Shutdown compact
@history_1279_li @history_1280_li
Optimization of distinct with index: select distinct name from test Optimization of distinct with index: select distinct name from test
@history_1280_li @history_1281_li
Document server mode, embedded mode, web app mode, dual mode (server+embedded) Document server mode, embedded mode, web app mode, dual mode (server+embedded)
@history_1281_li @history_1282_li
Stop the server: close all open databases first Stop the server: close all open databases first
@history_1282_li @history_1283_li
SET variable { TO | = } { value | 'value' | DEFAULT } SET variable { TO | = } { value | 'value' | DEFAULT }
@history_1283_li @history_1284_li
Running totals: select @running:=if(@previous=t.ID,@running,0)+t.NUM as TOTAL, @previous:=t.ID Running totals: select @running:=if(@previous=t.ID,@running,0)+t.NUM as TOTAL, @previous:=t.ID
@history_1284_li @history_1285_li
Better support large transactions, large updates / deletes: use less memory Better support large transactions, large updates / deletes: use less memory
@history_1285_li @history_1286_li
Better support large transactions, large updates / deletes: allow tables without primary key Better support large transactions, large updates / deletes: allow tables without primary key
@history_1286_li @history_1287_li
Support Oracle RPAD and LPAD(string, n[, pad]) (truncate the end if longer) Support Oracle RPAD and LPAD(string, n[, pad]) (truncate the end if longer)
@history_1287_li @history_1288_li
Allow editing NULL values in the Console Allow editing NULL values in the Console
@history_1288_li @history_1289_li
Updatable result sets: DatabaseMetaData.ownUpdatesAreVisible = true (for insert, delete, update) Simple solution: automatically calls 'refresh' when the result was changed. Compare with other databases. Updatable result sets: DatabaseMetaData.ownUpdatesAreVisible = true (for insert, delete, update) Simple solution: automatically calls 'refresh' when the result was changed. Compare with other databases.
@history_1289_h3 @history_1290_h3
Priority 2 Priority 2
@history_1290_li @history_1291_li
Support OSGi: http://oscar-osgi.sourceforge.net, http://incubator.apache.org/felix/index.html Support OSGi: http://oscar-osgi.sourceforge.net, http://incubator.apache.org/felix/index.html
@history_1291_li @history_1292_li
Procedural language / script language (Javascript) Procedural language / script language (Javascript)
@history_1292_li @history_1293_li
Change LOB mechanism (less files, keep index of lob files, point to files and row, delete unused files earlier, maybe bundle files into a tar file) Change LOB mechanism (less files, keep index of lob files, point to files and row, delete unused files earlier, maybe bundle files into a tar file)
@history_1293_li @history_1294_li
Set the database in an 'exclusive' mode (restrict to one user at a time) Set the database in an 'exclusive' mode (restrict to one user at a time)
@history_1294_li @history_1295_li
Clustering: recovery needs to becomes fully automatic. Global write lock feature. Clustering: recovery needs to becomes fully automatic. Global write lock feature.
@history_1295_li @history_1296_li
Deferred integrity checking (DEFERRABLE INITIALLY DEFERRED) Deferred integrity checking (DEFERRABLE INITIALLY DEFERRED)
@history_1296_li @history_1297_li
Groovy Stored Procedures (http://groovy.codehaus.org/Groovy+SQL) Groovy Stored Procedures (http://groovy.codehaus.org/Groovy+SQL)
@history_1297_li @history_1298_li
System table / function: cache usage System table / function: cache usage
@history_1298_li @history_1299_li
User defined aggregate functions User defined aggregate functions
@history_1299_li
Add a migration guide (list differences between databases)
@history_1300_li @history_1300_li
Optimization: automatic index creation suggestion using the trace file? Add a migration guide (list differences between databases)
@history_1301_li @history_1301_li
Compression performance: don't allocate buffers, compress / expand in to out buffer Optimization: automatic index creation suggestion using the trace file?
@history_1302_li @history_1302_li
Connection pool manager Compression performance: don't allocate buffers, compress / expand in to out buffer
@history_1303_li @history_1303_li
Implement Statement.cancel for server connections Connection pool manager
@history_1304_li @history_1304_li
Start / stop server with database URL Implement Statement.cancel for server connections
@history_1305_li @history_1305_li
Rebuild index functionality (other than delete the index file) Start / stop server with database URL
@history_1306_li @history_1306_li
Don't use deleteOnExit (bug 4513817: File.deleteOnExit consumes memory) Rebuild index functionality (other than delete the index file)
@history_1307_li @history_1307_li
Console: add accesskey to most important commands (A, AREA, BUTTON, INPUT, LABEL, LEGEND, TEXTAREA) Don't use deleteOnExit (bug 4513817: File.deleteOnExit consumes memory)
@history_1308_li @history_1308_li
Feature: a setting to delete the the log or not (for backup) Console: add accesskey to most important commands (A, AREA, BUTTON, INPUT, LABEL, LEGEND, TEXTAREA)
@history_1309_li @history_1309_li
Test with Sun ASPE1_4; JEE Sun AS PE1.4 Feature: a setting to delete the the log or not (for backup)
@history_1310_li @history_1310_li
Test performance again with SQL Server, Oracle, DB2 Test with Sun ASPE1_4; JEE Sun AS PE1.4
@history_1311_li @history_1311_li
Test with dbmonster (http://dbmonster.kernelpanic.pl/) Test performance again with SQL Server, Oracle, DB2
@history_1312_li @history_1312_li
Test with dbcopy (http://dbcopyplugin.sourceforge.net) Test with dbmonster (http://dbmonster.kernelpanic.pl/)
@history_1313_li @history_1313_li
Find a tool to view a text file >100 MB, with find, page up and down (like less) Test with dbcopy (http://dbcopyplugin.sourceforge.net)
@history_1314_li @history_1314_li
Implement, test, document XAConnection and so on Find a tool to view a text file >100 MB, with find, page up and down (like less)
@history_1315_li @history_1315_li
Web site: meta keywords, description, get rid of frame set Implement, test, document XAConnection and so on
@history_1316_li @history_1316_li
Pluggable data type (for compression, validation, conversion, encryption) Web site: meta keywords, description, get rid of frame set
@history_1317_li @history_1317_li
CHECK: find out what makes CHECK=TRUE slow, move to CHECK2 Pluggable data type (for compression, validation, conversion, encryption)
@history_1318_li @history_1318_li
Improve recovery: improve code for log recovery problems (less try/catch) CHECK: find out what makes CHECK=TRUE slow, move to CHECK2
@history_1319_li @history_1319_li
Log linear hash index changes, fast open / close Improve recovery: improve code for log recovery problems (less try/catch)
@history_1320_li @history_1320_li
Index usage for (ID, NAME)=(1, 'Hi'); document Log linear hash index changes, fast open / close
@history_1321_li @history_1321_li
Suggestion: include jetty as Servlet Container (like LAMP) Index usage for (ID, NAME)=(1, 'Hi'); document
@history_1322_li @history_1322_li
Trace shipping to server Suggestion: include jetty as Servlet Container (like LAMP)
@history_1323_li @history_1323_li
Performance / server mode: use UDP optionally? Trace shipping to server
@history_1324_li @history_1324_li
Version check: docs / web console (using javascript), and maybe in the library (using TCP/IP) Performance / server mode: use UDP optionally?
@history_1325_li @history_1325_li
Aggregates: support MEDIAN Version check: docs / web console (using javascript), and maybe in the library (using TCP/IP)
@history_1326_li @history_1326_li
Web server classloader: override findResource / getResourceFrom Aggregates: support MEDIAN
@history_1327_li @history_1327_li
Cost for embedded temporary view is calculated wrong, if result is constant Web server classloader: override findResource / getResourceFrom
@history_1328_li @history_1328_li
Comparison: pluggable sort order: natural sort Cost for embedded temporary view is calculated wrong, if result is constant
@history_1329_li @history_1329_li
Count index range query (count(*) where id between 10 and 20) Comparison: pluggable sort order: natural sort
@history_1330_li @history_1330_li
Eclipse plugin Count index range query (count(*) where id between 10 and 20)
@history_1331_li @history_1331_li
iReport to support H2 Eclipse plugin
@history_1332_li @history_1332_li
Implement missing JDBC API (CallableStatement,...) iReport to support H2
@history_1333_li @history_1333_li
Compression of the cache Implement missing JDBC API (CallableStatement,...)
@history_1334_li @history_1334_li
Run H2 Console inside servlet (pass-through servlet of fix the JSP / app) Compression of the cache
@history_1335_li @history_1335_li
Include SMPT (mail) server (at least client) (alert on cluster failure, low disk space,...) Run H2 Console inside servlet (pass-through servlet of fix the JSP / app)
@history_1336_li @history_1336_li
Make the jar more modular Include SMPT (mail) server (at least client) (alert on cluster failure, low disk space,...)
@history_1337_li @history_1337_li
Drop with restrict (currently cascade is the default) Make the jar more modular
@history_1338_li @history_1338_li
JSON parser and functions Drop with restrict (currently cascade is the default)
@history_1339_li @history_1339_li
Option for Java functions: constant/isDeterministic to allow early evaluation when all parameters are constant JSON parser and functions
@history_1340_li @history_1340_li
Automatic collection of statistics (auto ANALYZE) Option for Java functions: constant/isDeterministic to allow early evaluation when all parameters are constant
@history_1341_li @history_1341_li
Server: client ping from time to time (to avoid timeout - is timeout a problem?) Automatic collection of statistics (auto ANALYZE)
@history_1342_li @history_1342_li
Copy database: Tool with config GUI and batch mode, extensible (example: compare) Server: client ping from time to time (to avoid timeout - is timeout a problem?)
@history_1343_li @history_1343_li
Document, implement tool for long running transactions using user defined compensation statements Copy database: Tool with config GUI and batch mode, extensible (example: compare)
@history_1344_li @history_1344_li
Support SET TABLE DUAL READONLY Document, implement tool for long running transactions using user defined compensation statements
@history_1345_li @history_1345_li
Linked schema using CSV files: one schema for a directory of files; support indexes for CSV files Support SET TABLE DUAL READONLY
@history_1346_li @history_1346_li
Don't write stack traces for common exceptions like duplicate key to the log by default Linked schema using CSV files: one schema for a directory of files; support indexes for CSV files
@history_1347_li @history_1347_li
Setting for MAX_QUERY_TIME (default no limit?) Don't write stack traces for common exceptions like duplicate key to the log by default
@history_1348_li @history_1348_li
GCJ: what is the state now? Setting for MAX_QUERY_TIME (default no limit?)
@history_1349_li @history_1349_li
Convert large byte[]/Strings to streams in the JDBC API (asap). GCJ: what is the state now?
@history_1350_li @history_1350_li
Use Janino to convert Java to C++ Convert large byte[]/Strings to streams in the JDBC API (asap).
@history_1351_li @history_1351_li
Reduce disk space usage (Derby uses less disk space?) Use Janino to convert Java to C++
@history_1352_li @history_1352_li
Events for: Database Startup, Connections, Login attempts, Disconnections, Prepare (after parsing), Web Server (see http://docs.openlinksw.com/virtuoso/fn_dbev_startup.html) Reduce disk space usage (Derby uses less disk space?)
@history_1353_li @history_1353_li
Optimization: Log compression Events for: Database Startup, Connections, Login attempts, Disconnections, Prepare (after parsing), Web Server (see http://docs.openlinksw.com/virtuoso/fn_dbev_startup.html)
@history_1354_li @history_1354_li
Compatibility: in MySQL, HSQLDB, /0.0 is NULL; in PostgreSQL, Derby: Division by zero Optimization: Log compression
@history_1355_li @history_1355_li
Functional tables should accept parameters from other tables (see FunctionMultiReturn) SELECT * FROM TEST T, P2C(T.A, T.R) Compatibility: in MySQL, HSQLDB, /0.0 is NULL; in PostgreSQL, Derby: Division by zero
@history_1356_li @history_1356_li
Custom class loader to reload functions on demand Functional tables should accept parameters from other tables (see FunctionMultiReturn) SELECT * FROM TEST T, P2C(T.A, T.R)
@history_1357_li @history_1357_li
Test http://mysql-je.sourceforge.net/ Custom class loader to reload functions on demand
@history_1358_li @history_1358_li
Close all files when closing the database (including LOB files that are open on the client side) Test http://mysql-je.sourceforge.net/
@history_1359_li @history_1359_li
Test Connection Pool http://jakarta.apache.org/commons/dbcp Close all files when closing the database (including LOB files that are open on the client side)
@history_1360_li @history_1360_li
Profiler option or profiling tool to find long running and often repeated queries (using DatabaseEventListener API) Test Connection Pool http://jakarta.apache.org/commons/dbcp
@history_1361_li @history_1361_li
Function to read/write a file from/to LOB Profiler option or profiling tool to find long running and often repeated queries (using DatabaseEventListener API)
@history_1362_li @history_1362_li
Allow custom settings (@PATH for RUNSCRIPT for example) Function to read/write a file from/to LOB
@history_1363_li @history_1363_li
Performance test: read the data (getString) and use column names to get the data Allow custom settings (@PATH for RUNSCRIPT for example)
@history_1364_li @history_1364_li
EXE file: maybe use http://jsmooth.sourceforge.net Performance test: read the data (getString) and use column names to get the data
@history_1365_li @history_1365_li
SELECT ... FOR READ WAIT [maxMillisToWait] EXE file: maybe use http://jsmooth.sourceforge.net
@history_1366_li @history_1366_li
Automatically delete the index file if opening it fails SELECT ... FOR READ WAIT [maxMillisToWait]
@history_1367_li @history_1367_li
Performance: Automatically build in-memory indexes if the whole table is in memory Automatically delete the index file if opening it fails
@history_1368_li @history_1368_li
H2 Console: The webclient could support more features like phpMyAdmin. Performance: Automatically build in-memory indexes if the whole table is in memory
@history_1369_li @history_1369_li
The HELP information schema can be directly exposed in the Console H2 Console: The webclient could support more features like phpMyAdmin.
@history_1370_li @history_1370_li
Maybe use the 0x1234 notation for binary fields, see MS SQL Server The HELP information schema can be directly exposed in the Console
@history_1371_li @history_1371_li
KEY_COLUMN_USAGE (http://dev.mysql.com/doc/refman/5.0/en/information-schema.html, http://www.xcdsql.org/Misc/INFORMATION_SCHEMA%20With%20Rolenames.gif) Maybe use the 0x1234 notation for binary fields, see MS SQL Server
@history_1372_li @history_1372_li
Support Oracle CONNECT BY in some way: http://www.adp-gmbh.ch/ora/sql/connect_by.html, http://philip.greenspun.com/sql/trees.html KEY_COLUMN_USAGE (http://dev.mysql.com/doc/refman/5.0/en/information-schema.html, http://www.xcdsql.org/Misc/INFORMATION_SCHEMA%20With%20Rolenames.gif)
@history_1373_li @history_1373_li
SQL 2003 (http://www.wiscorp.com/sql_2003_standard.zip) Support Oracle CONNECT BY in some way: http://www.adp-gmbh.ch/ora/sql/connect_by.html, http://philip.greenspun.com/sql/trees.html
@history_1374_li @history_1374_li
http://www.jpackage.org SQL 2003 (http://www.wiscorp.com/sql_2003_standard.zip)
@history_1375_li @history_1375_li
Version column (number/sequence and timestamp based) http://www.jpackage.org
@history_1376_li @history_1376_li
Optimize getGeneratedKey: send last identity after each execute (server). Version column (number/sequence and timestamp based)
@history_1377_li @history_1377_li
Date: default date is '1970-01-01' (is it 1900-01-01 in the standard / other databases?) Optimize getGeneratedKey: send last identity after each execute (server).
@history_1378_li @history_1378_li
Test and document UPDATE TEST SET (ID, NAME) = (SELECT ID*10, NAME || '!' FROM TEST T WHERE T.ID=TEST.ID); Date: default date is '1970-01-01' (is it 1900-01-01 in the standard / other databases?)
@history_1379_li @history_1379_li
Better space re-use in the files after deleting data (shrink the files) Test and document UPDATE TEST SET (ID, NAME) = (SELECT ID*10, NAME || '!' FROM TEST T WHERE T.ID=TEST.ID);
@history_1380_li @history_1380_li
Max memory rows / max undo log size: use block count / row size not row count Better space re-use in the files after deleting data (shrink the files)
@history_1381_li @history_1381_li
Index summary is only written if log=2; maybe write it also when log=1 and everything is fine (and no in doubt transactions) Max memory rows / max undo log size: use block count / row size not row count
@history_1382_li @history_1382_li
Support 123L syntax as in Java; example: SELECT (2000000000*2) Index summary is only written if log=2; maybe write it also when log=1 and everything is fine (and no in doubt transactions)
@history_1383_li @history_1383_li
Implement point-in-time recovery Support 123L syntax as in Java; example: SELECT (2000000000*2)
@history_1384_li @history_1384_li
Memory database: add a feature to keep named database open until 'shutdown' Implement point-in-time recovery
@history_1385_li @history_1385_li
Use the directory of the first script as the default directory for any scripts run inside that script Memory database: add a feature to keep named database open until 'shutdown'
@history_1386_li @history_1386_li
Include the version name in the jar file name Use the directory of the first script as the default directory for any scripts run inside that script
@history_1387_li @history_1387_li
Optimize IN(...), IN(select), ID=? OR ID=?: create temp table and use join Include the version name in the jar file name
@history_1388_li @history_1388_li
LIKE: improved version for larger texts (currently using naive search) Optimize IN(...), IN(select), ID=? OR ID=?: create temp table and use join
@history_1389_li @history_1389_li
Auto-reconnect on lost connection to server (even if the server was re-started) except if autocommit was off and there was pending transaction LIKE: improved version for larger texts (currently using naive search)
@history_1390_li @history_1390_li
The Script tool should work with other databases as well Auto-reconnect on lost connection to server (even if the server was re-started) except if autocommit was off and there was pending transaction
@history_1391_li @history_1391_li
Automatically convert to the next 'higher' data type whenever there is an overflow. The Script tool should work with other databases as well
@history_1392_li @history_1392_li
Throw an exception when the application calls getInt on a Long (optional) Automatically convert to the next 'higher' data type whenever there is an overflow.
@history_1393_li @history_1393_li
Default date format for input and output (local date constants) Throw an exception when the application calls getInt on a Long (optional)
@history_1394_li @history_1394_li
Cache collation keys for performance Default date format for input and output (local date constants)
@history_1395_li @history_1395_li
Convert OR condition to UNION or IN if possible Cache collation keys for performance
@history_1396_li @history_1396_li
ValueInt.convertToString and so on (remove Value.convertTo) Convert OR condition to UNION or IN if possible
@history_1397_li @history_1397_li
Support custom Collators ValueInt.convertToString and so on (remove Value.convertTo)
@history_1398_li @history_1398_li
Document ROWNUM usage for reports: SELECT ROWNUM, * FROM (subquery) Support custom Collators
@history_1399_li @history_1399_li
Clustering: Reads should be randomly distributed or to a designated database on RAM Document ROWNUM usage for reports: SELECT ROWNUM, * FROM (subquery)
@history_1400_li @history_1400_li
Clustering: When a database is back alive, automatically synchronize with the master Clustering: Reads should be randomly distributed or to a designated database on RAM
@history_1401_li @history_1401_li
Standalone tool to get relevant system properties and add it to the trace output. Clustering: When a database is back alive, automatically synchronize with the master
@history_1402_li @history_1402_li
Support mixed clustering mode (one embedded, the other server mode) Standalone tool to get relevant system properties and add it to the trace output.
@history_1403_li @history_1403_li
Support 'call proc($1=value)' (PostgreSQL, Oracle) Support mixed clustering mode (one embedded, the other server mode)
@history_1404_li @history_1404_li
HSQLDB compatibility: "INSERT INTO TEST(name) VALUES(?); SELECT IDENTITY()" Support 'call proc($1=value)' (PostgreSQL, Oracle)
@history_1405_li @history_1405_li
Shutdown lock (shutdown can only start if there are no logins pending, and logins are delayed until shutdown ends) HSQLDB compatibility: "INSERT INTO TEST(name) VALUES(?); SELECT IDENTITY()"
@history_1406_li @history_1406_li
Automatically delete the index file if opening it fails Shutdown lock (shutdown can only start if there are no logins pending, and logins are delayed until shutdown ends)
@history_1407_li @history_1407_li
DbAdapters http://incubator.apache.org/cayenne/ Automatically delete the index file if opening it fails
@history_1408_li @history_1408_li
JAMon (proxy jdbc driver) DbAdapters http://incubator.apache.org/cayenne/
@history_1409_li @history_1409_li
Console: Allow setting Null value; Alternative display format two column (for copy and paste as well) JAMon (proxy jdbc driver)
@history_1410_li @history_1410_li
Console: Improve editing data (Tab, Shift-Tab, Enter, Up, Down, Shift+Del?) Console: Allow setting Null value; Alternative display format two column (for copy and paste as well)
@history_1411_li @history_1411_li
Console: Autocomplete Ctrl+Space inserts template Console: Improve editing data (Tab, Shift-Tab, Enter, Up, Down, Shift+Del?)
@history_1412_li @history_1412_li
Google Code http://code.google.com/p/h2database/issues/list# Console: Autocomplete Ctrl+Space inserts template
@history_1413_li @history_1413_li
Simplify translation ('Donate a translation') Google Code http://code.google.com/p/h2database/issues/list#
@history_1414_li @history_1414_li
Option to encrypt .trace.db file Simplify translation ('Donate a translation')
@history_1415_li @history_1415_li
Write Behind Cache on SATA leads to data corruption See also http://sr5tech.com/write_back_cache_experiments.htm and http://www.jasonbrome.com/blog/archives/2004/04/03/writecache_enabled.html Option to encrypt .trace.db file
@history_1416_li @history_1416_li
Functions with unknown return or parameter data types: serialize / deserialize Write Behind Cache on SATA leads to data corruption See also http://sr5tech.com/write_back_cache_experiments.htm and http://www.jasonbrome.com/blog/archives/2004/04/03/writecache_enabled.html
@history_1417_li @history_1417_li
Test if idle TCP connections are closed, and how to disable that Functions with unknown return or parameter data types: serialize / deserialize
@history_1418_li @history_1418_li
Try using a factory for Row, Value[] (faster?), http://javolution.org/, alternative ObjectArray / IntArray Test if idle TCP connections are closed, and how to disable that
@history_1419_li @history_1419_li
Auto-Update feature for database, .jar file Try using a factory for Row, Value[] (faster?), http://javolution.org/, alternative ObjectArray / IntArray
@history_1420_li @history_1420_li
ResultSet SimpleResultSet.readFromURL(String url): id varchar, state varchar, released timestamp Auto-Update feature for database, .jar file
@history_1421_li @history_1421_li
RANK() and DENSE_RANK(), Partition using OVER() ResultSet SimpleResultSet.readFromURL(String url): id varchar, state varchar, released timestamp
@history_1422_li @history_1422_li
ROW_NUMBER (not the same as ROWNUM) RANK() and DENSE_RANK(), Partition using OVER()
@history_1423_li @history_1423_li
Partial indexing (see PostgreSQL) ROW_NUMBER (not the same as ROWNUM)
@history_1424_li @history_1424_li
BUILD should fail if ant test fails Partial indexing (see PostgreSQL)
@history_1425_li @history_1425_li
http://rubyforge.org/projects/hypersonic/ BUILD should fail if ant test fails
@history_1426_li @history_1426_li
DbVisualizer profile for H2 http://rubyforge.org/projects/hypersonic/
@history_1427_li @history_1427_li
Add comparator (x === y) : (x = y or (x is null and y is null)) DbVisualizer profile for H2
@history_1428_li @history_1428_li
Try to create trace file even for read only databases Add comparator (x === y) : (x = y or (x is null and y is null))
@history_1429_li @history_1429_li
Add a sample application that runs the H2 unit test and writes the result to a file (so it can be included in the user app) Try to create trace file even for read only databases
@history_1430_li @history_1430_li
Count on a column that can not be null would be optimized to COUNT(*) Add a sample application that runs the H2 unit test and writes the result to a file (so it can be included in the user app)
@history_1431_li @history_1431_li
Table order: ALTER TABLE TEST ORDER BY NAME DESC (MySQL compatibility) Count on a column that can not be null would be optimized to COUNT(*)
@history_1432_li @history_1432_li
Backup tool should work with other databases as well Table order: ALTER TABLE TEST ORDER BY NAME DESC (MySQL compatibility)
@history_1433_li @history_1433_li
Console: -ifExists doesn't work for the console. Add a flag to disable other dbs Backup tool should work with other databases as well
@history_1434_li @history_1434_li
Maybe use Fowler Noll Vo hash function Console: -ifExists doesn't work for the console. Add a flag to disable other dbs
@history_1435_li @history_1435_li
Improved full text search (supports LOBs, reader / tokenizer / filter). Maybe use Fowler Noll Vo hash function
@history_1436_li @history_1436_li
Performance: Update in-place Improved full text search (supports LOBs, reader / tokenizer / filter).
@history_1437_li @history_1437_li
Check if 'FSUTIL behavior set disablelastaccess 1' improves the performance (fsutil behavior query disablelastaccess) Performance: Update in-place
@history_1438_li @history_1438_li
Java static code analysis: http://pmd.sourceforge.net/ Check if 'FSUTIL behavior set disablelastaccess 1' improves the performance (fsutil behavior query disablelastaccess)
@history_1439_li @history_1439_li
Java static code analysis: http://www.eclipse.org/tptp/ Java static code analysis: http://pmd.sourceforge.net/
@history_1440_li @history_1440_li
Compatibility for CREATE SCHEMA AUTHORIZATION Java static code analysis: http://www.eclipse.org/tptp/
@history_1441_li @history_1441_li
Implement Clob / Blob truncate and the remaining functionality Compatibility for CREATE SCHEMA AUTHORIZATION
@history_1442_li @history_1442_li
Maybe close LOBs after closing connection Implement Clob / Blob truncate and the remaining functionality
@history_1443_li @history_1443_li
Tree join functionality Maybe close LOBs after closing connection
@history_1444_li @history_1444_li
Support alter table add column if table has views defined Tree join functionality
@history_1445_li @history_1445_li
Add multiple columns at the same time with ALTER TABLE .. ADD .. ADD .. Support alter table add column if table has views defined
@history_1446_li @history_1446_li
Support trigger on the tables information_schema.tables and ...columns Add multiple columns at the same time with ALTER TABLE .. ADD .. ADD ..
@history_1447_li @history_1447_li
Add H2 to Gem (Ruby install system) Support trigger on the tables information_schema.tables and ...columns
@history_1448_li @history_1448_li
API for functions / user tables Add H2 to Gem (Ruby install system)
@history_1449_li @history_1449_li
Order conditions inside AND / OR to optimize the performance API for functions / user tables
@history_1450_li @history_1450_li
Support linked JCR tables Order conditions inside AND / OR to optimize the performance
@history_1451_li @history_1451_li
Make sure H2 is supported by Execute Query: http://executequery.org/ Support linked JCR tables
@history_1452_li @history_1452_li
Read InputStream when executing, as late as possible (maybe only embedded mode). Problem with re-execute. Make sure H2 is supported by Execute Query: http://executequery.org/
@history_1453_li @history_1453_li
Full text search: min word length; store word positions Read InputStream when executing, as late as possible (maybe only embedded mode). Problem with re-execute.
@history_1454_li @history_1454_li
FTP Server: Implement a client to send / receive files to server (dir, get, put) Full text search: min word length; store word positions
@history_1455_li @history_1455_li
FTP Server: Implement SFTP / FTPS FTP Server: Implement a client to send / receive files to server (dir, get, put)
@history_1456_li @history_1456_li
Add an option to the SCRIPT command to generate only portable / standard SQL FTP Server: Implement SFTP / FTPS
@history_1457_li @history_1457_li
Test Dezign for Databases (http://www.datanamic.com) Add an option to the SCRIPT command to generate only portable / standard SQL
@history_1458_li @history_1458_li
Fast library for parsing / formatting: http://javolution.org/ Test Dezign for Databases (http://www.datanamic.com)
@history_1459_li @history_1459_li
Updatable Views (simple cases first) Fast library for parsing / formatting: http://javolution.org/
@history_1460_li @history_1460_li
Improve create index performance Updatable Views (simple cases first)
@history_1461_li @history_1461_li
Support ARRAY data type Improve create index performance
@history_1462_li @history_1462_li
Implement more JDBC 4.0 features Support ARRAY data type
@history_1463_li @history_1463_li
H2 Console: implement a servlet to allow simple web app integration Implement more JDBC 4.0 features
@history_1464_li @history_1464_li
Support TRANSFORM / PIVOT as in MS Access H2 Console: implement a servlet to allow simple web app integration
@history_1465_li @history_1465_li
Sequence: PostgreSQL compatibility (rename, create) (http://www.postgresql.org/docs/8.2/static/sql-altersequence.html) Support TRANSFORM / PIVOT as in MS Access
@history_1466_li @history_1466_li
SELECT * FROM (VALUES (...), (...), ....) AS alias(f1, ...) Sequence: PostgreSQL compatibility (rename, create) (http://www.postgresql.org/docs/8.2/static/sql-altersequence.html)
@history_1467_li @history_1467_li
Support updatable views with join on primary keys (to extend a table) SELECT * FROM (VALUES (...), (...), ....) AS alias(f1, ...)
@history_1468_li @history_1468_li
File_Read / File_Store funktionen: FILE_STORE('test.sql', ?), FILE_READ('test.sql') Support updatable views with join on primary keys (to extend a table)
@history_1469_li @history_1469_li
Public interface for functions (not public static) File_Read / File_Store funktionen: FILE_STORE('test.sql', ?), FILE_READ('test.sql')
@history_1470_li @history_1470_li
Autocomplete: if I type the name of a table that does not exist (should say: syntax not supported) Public interface for functions (not public static)
@history_1471_li @history_1471_li
Autocomplete: schema support: "Other Grammar","Table Expression","{[schemaName.]tableName | (select)} [[AS] newTableAlias] Autocomplete: if I type the name of a table that does not exist (should say: syntax not supported)
@history_1472_li @history_1472_li
Functions: options readonly, deterministic (pure, always return the same value) Autocomplete: schema support: "Other Grammar","Table Expression","{[schemaName.]tableName | (select)} [[AS] newTableAlias]
@history_1473_li @history_1473_li
Document FTP server, including -ftpTask option to execute / kill remote processes Functions: options readonly, deterministic (pure, always return the same value)
@history_1474_li @history_1474_li
Add jdbcx to the javadocs Document FTP server, including -ftpTask option to execute / kill remote processes
@history_1475_li @history_1475_li
Shrink the data file without closing the database (if the end of the file is empty) Add jdbcx to the javadocs
@history_1476_li @history_1476_li
Delay reading the row if data is not required Shrink the data file without closing the database (if the end of the file is empty)
@history_1477_li @history_1477_li
Eliminate undo log records if stored on disk (just one pointer per block, not per record) Delay reading the row if data is not required
@history_1478_li @history_1478_li
Feature matrix like here: http://www.inetsoftware.de/products/jdbc/mssql/features/default.asp. Eliminate undo log records if stored on disk (just one pointer per block, not per record)
@history_1479_li @history_1479_li
Updatable result set on table without primary key or unique index Feature matrix like here: http://www.inetsoftware.de/products/jdbc/mssql/features/default.asp.
@history_1480_li @history_1480_li
Use LinkedList instead of ArrayList where applicable Updatable result set on table without primary key or unique index
@history_1481_li @history_1481_li
Optimization: (A=B AND B=C) > (A=B AND B=C AND A=C) Use LinkedList instead of ArrayList where applicable
@history_1482_li @history_1482_li
Support % operator (modulo) Optimization: (A=B AND B=C) > (A=B AND B=C AND A=C)
@history_1483_li @history_1483_li
Large subqueries: close them when the main query is closed, not earlier (so result can be reused) Support % operator (modulo)
@history_1484_li @history_1484_li
Support 1+'2'=3, '1'+'2'='12' (MS SQL Server compatibility) Large subqueries: close them when the main query is closed, not earlier (so result can be reused)
@history_1485_li @history_1485_li
Support nested transactions Support 1+'2'=3, '1'+'2'='12' (MS SQL Server compatibility)
@history_1486_li @history_1486_li
Add a benchmark for big databases, and one for many users Support nested transactions
@history_1487_li @history_1487_li
Compression in the result set (repeating values in the same column) Add a benchmark for big databases, and one for many users
@history_1488_li @history_1488_li
Improve command line consistency (+/- options, or true false options) Compression in the result set (repeating values in the same column)
@history_1489_li @history_1489_li
Allow to use the catalog name in statements: [[catalog.]schema.]object Improve command line consistency (+/- options, or true false options)
@history_1490_li @history_1490_li
Support curtimestamp (like curtime, curdate) Allow to use the catalog name in statements: [[catalog.]schema.]object
@history_1491_li @history_1491_li
Support ANALYZE {TABLE|INDEX} tableName COMPUTE|ESTIMATE|DELETE STATISTICS ptnOption options Support curtimestamp (like curtime, curdate)
@history_1492_li @history_1492_li
Support Sequoia (Continuent.org) Support ANALYZE {TABLE|INDEX} tableName COMPUTE|ESTIMATE|DELETE STATISTICS ptnOption options
@history_1493_li @history_1493_li
Dynamic length numbers / special methods for DataPage.writeByte / writeShort / Ronni Nielsen Support Sequoia (Continuent.org)
@history_1494_li @history_1494_li
Pluggable tracing system, ThreadPool, (AvalonDB / deebee / Paul Hammant) Dynamic length numbers / special methods for DataPage.writeByte / writeShort / Ronni Nielsen
@history_1495_li @history_1495_li
Recursive Queries (see details) Pluggable tracing system, ThreadPool, (AvalonDB / deebee / Paul Hammant)
@history_1496_li @history_1496_li
Use index on boolean flag (see details) Recursive Queries (see details)
@history_1497_li @history_1497_li
Add build for embedded database only Use index on boolean flag (see details)
@history_1498_li @history_1498_li
Release locks (shared or exclusive) on demand Add build for embedded database only
@history_1499_li @history_1499_li
Support catalog names Release locks (shared or exclusive) on demand
@history_1500_li @history_1500_li
Add object id to metadata tables Support catalog names
@history_1501_li @history_1501_li
Support OUTER UNION Add object id to metadata tables
@history_1502_li @history_1502_li
Support Parameterized Views (similar to CSVREAD, but using just SQL for the definition) Support OUTER UNION
@history_1503_li @history_1503_li
Implement a command line SQL utility similar to HenPlus: http://henplus.sourceforge.net Support Parameterized Views (similar to CSVREAD, but using just SQL for the definition)
@history_1504_li @history_1504_li
A way (JDBC driver) to map an URL (jdbc:h2map:c1) to a connection object Implement a command line SQL utility similar to HenPlus: http://henplus.sourceforge.net
@history_1505_li @history_1505_li
Build script for the embedded functionality only (h2embedded.jar) A way (JDBC driver) to map an URL (jdbc:h2map:c1) to a connection object
@history_1506_li @history_1506_li
Option for SCRIPT to only process one or a set of tables, and append to a file Build script for the embedded functionality only (h2embedded.jar)
@history_1507_li @history_1507_li
Support using a unique index for IS NULL (including linked tables) Option for SCRIPT to only process one or a set of tables, and append to a file
@history_1508_li @history_1508_li
Support linked tables to the current database Support using a unique index for IS NULL (including linked tables)
@history_1509_li @history_1509_li
Support dynamic linked schema (automatically adding/updating/removing tables) Support linked tables to the current database
@history_1510_li @history_1510_li
Compatibility with Derby: VALUES(1), (2); SELECT * FROM (VALUES (1), (2)) AS myTable(c1) Support dynamic linked schema (automatically adding/updating/removing tables)
@history_1511_li @history_1511_li
Compatibility: # is the start of a single line comment (MySQL) but date quote (Access). Mode specific Compatibility with Derby: VALUES(1), (2); SELECT * FROM (VALUES (1), (2)) AS myTable(c1)
@history_1512_li @history_1512_li
Run benchmarks with JDK 1.5, JDK 1.6, java -server Compatibility: # is the start of a single line comment (MySQL) but date quote (Access). Mode specific
@history_1513_li @history_1513_li
Optimizations: Faster hash function for strings, byte arrays, big decimal Run benchmarks with JDK 1.5, JDK 1.6, java -server
@history_1514_li @history_1514_li
Improve trace feature: add replay functionality Optimizations: Faster hash function for strings, byte arrays, big decimal
@history_1515_li @history_1515_li
DatabaseEventListener: callback for all operations (including expected time, RUNSCRIPT) and cancel functionality Improve trace feature: add replay functionality
@history_1516_li @history_1516_li
H2 Console / large result sets: use 'streaming' instead of building the page in-memory DatabaseEventListener: callback for all operations (including expected time, RUNSCRIPT) and cancel functionality
@history_1517_li @history_1517_li
Benchmark: add a graph to show how databases scale (performance/database size) H2 Console / large result sets: use 'streaming' instead of building the page in-memory
@history_1518_li @history_1518_li
Implement a SQLData interface to map your data over to a custom object Benchmark: add a graph to show how databases scale (performance/database size)
@history_1519_li @history_1519_li
Extend H2 Console to run tools (show command line as well) Implement a SQLData interface to map your data over to a custom object
@history_1520_li @history_1520_li
Make DDL (Data Definition) operations transactional Extend H2 Console to run tools (show command line as well)
@history_1521_li @history_1521_li
Sequence: add features [NO] MINVALUE, MAXVALUE, CACHE, CYCLE Make DDL (Data Definition) operations transactional
@history_1522_li @history_1522_li
Allow execution time prepare for SELECT * FROM CSVREAD(?, 'columnNameString') Sequence: add features [NO] MINVALUE, MAXVALUE, CACHE, CYCLE
@history_1523_li @history_1523_li
Support multiple directories (on different hard drives) for the same database Allow execution time prepare for SELECT * FROM CSVREAD(?, 'columnNameString')
@history_1524_li @history_1524_li
Server protocol: use challenge response authentication, but client sends hash(user+password) encrypted with response Support multiple directories (on different hard drives) for the same database
@history_1525_li @history_1525_li
Support EXEC[UTE] (doesn't return a result set, compatible to MS SQL Server) Server protocol: use challenge response authentication, but client sends hash(user+password) encrypted with response
@history_1526_li @history_1526_li
GROUP BY and DISTINCT: support large groups (buffer to disk), do not keep large sets in memory Support EXEC[UTE] (doesn't return a result set, compatible to MS SQL Server)
@history_1527_li @history_1527_li
Support native XML data type GROUP BY and DISTINCT: support large groups (buffer to disk), do not keep large sets in memory
@history_1528_li @history_1528_li
Support triggers with a string property or option: SpringTrigger, OSGITrigger Support native XML data type
@history_1529_li @history_1529_li
Clustering: adding a node should be very fast and without interrupting clients (very short lock) Support triggers with a string property or option: SpringTrigger, OSGITrigger
@history_1530_li @history_1530_li
Support materialized views (using triggers) Clustering: adding a node should be very fast and without interrupting clients (very short lock)
@history_1531_li @history_1531_li
Store dates in local timezone (portability of database files) Support materialized views (using triggers)
@history_1532_li @history_1532_li
Ability to resize the cache array when resizing the cache Store dates in local timezone (portability of database files)
@history_1533_li @history_1533_li
Automatic conversion from WHERE X>10 AND X>20 to X>20 Ability to resize the cache array when resizing the cache
@history_1534_li @history_1534_li
Time based cache writing (one second after writing the log) Automatic conversion from WHERE X>10 AND X>20 to X>20
@history_1535_li @history_1535_li
Write a H2 driver for http://db.apache.org/ddlutils/ Time based cache writing (one second after writing the log)
@history_1536_li @history_1536_li
Index usage for REGEXP LIKE. Write a H2 driver for http://db.apache.org/ddlutils/
@history_1537_li @history_1537_li
Add a role DBA (like ADMIN). Index usage for REGEXP LIKE.
@history_1538_li @history_1538_li
Automatic mode: jdbc:h2:auto: (embedded mode if possible, if not use server mode). Problem: what to do when server stops while others are connected to it. Add a role DBA (like ADMIN).
@history_1539_li @history_1539_li
Access rights: remember the owner of an object. COMMENT: allow owner of object to change it. Automatic mode: jdbc:h2:auto: (embedded mode if possible, if not use server mode). Problem: what to do when server stops while others are connected to it.
@history_1540_li @history_1540_li
Implement INSTEAD OF trigger. Access rights: remember the owner of an object. COMMENT: allow owner of object to change it.
@history_1541_li @history_1541_li
Access rights: Finer grained access control (grant access for specific functions) Implement INSTEAD OF trigger.
@history_1542_li @history_1542_li
Support N'text' Access rights: Finer grained access control (grant access for specific functions)
@history_1543_li @history_1543_li
Support SCOPE_IDENTITY() to avoid problems when inserting rows in a trigger Support N'text'
@history_1544_li @history_1544_li
Support DESCRIBE like MySQL or Oracle (DESC|DESCRIBE {[schema.]object[@connect_identifier]}) Support SCOPE_IDENTITY() to avoid problems when inserting rows in a trigger
@history_1545_li @history_1545_li
Set a connection read only (Connection.setReadOnly) Support DESCRIBE like MySQL or Oracle (DESC|DESCRIBE {[schema.]object[@connect_identifier]})
@history_1546_li @history_1546_li
In MySQL mode, for AUTO_INCREMENT columns, don't set the primary key Set a connection read only (Connection.setReadOnly)
@history_1547_li @history_1547_li
Use JDK 1.4 file locking to create the lock file (but not yet by default); writing a system property to detect concurrent access from the same VM (different classloaders). In MySQL mode, for AUTO_INCREMENT columns, don't set the primary key
@history_1548_li @history_1548_li
Read-only sessions (Connection.setReadOnly) Use JDK 1.4 file locking to create the lock file (but not yet by default); writing a system property to detect concurrent access from the same VM (different classloaders).
@history_1549_li @history_1549_li
Support compatibility for jdbc:hsqldb:res: Read-only sessions (Connection.setReadOnly)
@history_1550_li @history_1550_li
In the MySQL and PostgreSQL, use lower case identifiers by default (DatabaseMetaData.storesLowerCaseIdentifiers = true) Support compatibility for jdbc:hsqldb:res:
@history_1551_li @history_1551_li
Provide a simple, lightweight O/R mapping tool In the MySQL and PostgreSQL, use lower case identifiers by default (DatabaseMetaData.storesLowerCaseIdentifiers = true)
@history_1552_li @history_1552_li
Provide an Java SQL builder with standard and H2 syntax Provide a simple, lightweight O/R mapping tool
@history_1553_li @history_1553_li
Data compression for in-memory database Provide an Java SQL builder with standard and H2 syntax
@history_1554_li @history_1554_li
Trace: write os, file system, vm,... when opening the database Data compression for in-memory database
@history_1555_li @history_1555_li
Trace: write dangerous operations (set log 0,...) in every case (including when opening the database) Trace: write os, file system, vm,... when opening the database
@history_1556_li @history_1556_li
ParameterMetaData should return correct data type where possible (INSERT for example) Trace: write dangerous operations (set log 0,...) in every case (including when opening the database)
@history_1557_li @history_1557_li
Support indexes for views (probably requires materialized views) ParameterMetaData should return correct data type where possible (INSERT for example)
@history_1558_li @history_1558_li
Linked tables that point to the same database should share the connection Support indexes for views (probably requires materialized views)
@history_1559_li @history_1559_li
Use log for rollback Linked tables that point to the same database should share the connection
@history_1560_li @history_1560_li
Document SET SEARCH_PATH, BEGIN, EXECUTE, $ parameters Use log for rollback
@history_1561_li @history_1561_li
Complete Javadocs for ErrorCode messages and add to docs Document SET SEARCH_PATH, BEGIN, EXECUTE, $ parameters
@history_1562_li @history_1562_li
Browser: use Desktop.isDesktopSupported and browse when using JDK 1.6 Complete Javadocs for ErrorCode messages and add to docs
@history_1563_li @history_1563_li
Document org.h2.samples.MixedMode Browser: use Desktop.isDesktopSupported and browse when using JDK 1.6
@history_1564_li @history_1564_li
Server: use one listener (detect if the request comes from an PG or TCP client) Document org.h2.samples.MixedMode
@history_1565_li @history_1565_li
Store dates as 'local'. Existing files use GMT. Use escape syntax for compatibility) Server: use one listener (detect if the request comes from an PG or TCP client)
@history_1566_li @history_1566_li
Support data type INTERVAL Store dates as 'local'. Existing files use GMT. Use escape syntax for compatibility)
@history_1567_li @history_1567_li
Support data type INTERVAL
@history_1568_li
NATURAL JOIN: MySQL and PostgreSQL don't repeat columns when using SELECT * ... NATURAL JOIN: MySQL and PostgreSQL don't repeat columns when using SELECT * ...
@history_1568_h3 @history_1569_li
Optimize SELECT MIN(ID), MAX(ID), COUNT(*) FROM TEST WHERE ID BETWEEN 100 AND 200
@history_1570_li
Support Oracle functions: TRUNC, NVL2, TO_CHAR, TO_DATE, TO_NUMBER
@history_1571_h3
Not Planned Not Planned
@history_1569_li @history_1572_li
HSQLDB (did) support this: select id i from test where i>0 (other databases don't) HSQLDB (did) support this: select id i from test where i>0 (other databases don't)
@history_1570_li @history_1573_li
String.intern (so that Strings can be compared with ==) will not be used because some VMs have problems when used extensively String.intern (so that Strings can be compared with ==) will not be used because some VMs have problems when used extensively
@history_1571_h2 @history_1574_h2
Supporters Supporters
@history_1572_p @history_1575_p
Many thanks for those who helped by finding and reporting bugs, gave valuable feedback, spread the word and have translated this project. Also many thanks to the donors who contributed via PayPal: Many thanks for those who helped by finding and reporting bugs, gave valuable feedback, spread the word and have translated this project. Also many thanks to the donors who contributed via PayPal:
@history_1573_li @history_1576_li
Florent Ramiere, France Florent Ramiere, France
@history_1574_li @history_1577_li
Pete Haidinyak, USA Pete Haidinyak, USA
@history_1575_li @history_1578_li
Jun Iyama, Japan Jun Iyama, Japan
@history_1576_li @history_1579_li
Antonio Casqueiro, Portugal Antonio Casqueiro, Portugal
@history_1577_li @history_1580_li
lumber-mill.co.jp, Japan lumber-mill.co.jp, Japan
@installation_1000_h1 @installation_1000_h1
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -145,31 +145,6 @@ java org.h2.test.TestAll timer ...@@ -145,31 +145,6 @@ java org.h2.test.TestAll timer
/* /*
Thanks for the response. Yes I'm doing embedded so this is fine for
me. One other question, I have noticed that once I cancel my
PreparedStatement, it does not seem to work again. I couldn't find a
way to clear it, so I guess I have to re-instantiate it?
Also, how promptly should this cancel take effect? It seemed to be
fairly delayed, but there's still a chance my implementation wasn't
correct.
Hi,
You are right, a PreparedStatement could not be reused after cancel was called.
I have fixed this and added a test case. Thanks for reporting this!
Delayed cancel: if you use the database in embedded mode, it depends on thread
scheduling when the statement is cancelled (you need two threads). I also got
this problem. What I did is use Thread.yield in my test, like this:
CREATE ALIAS YIELD FOR "java.lang.Thread.yield";
SELECT YIELD() FROM ...
So for each row, Thread.yield() is called, letting other threads do some work.
Another solution would be to use SET THROTTLE (see docs).
Thomas
web page translation web page translation
TestMultiThreadedKernel and integrate in unit tests; use also in-memory and so on TestMultiThreadedKernel and integrate in unit tests; use also in-memory and so on
......
...@@ -27,7 +27,7 @@ public class TestLinkedTable extends TestBase { ...@@ -27,7 +27,7 @@ public class TestLinkedTable extends TestBase {
private void testLinkTwoTables() throws Exception { private void testLinkTwoTables() throws Exception {
Class.forName("org.h2.Driver"); Class.forName("org.h2.Driver");
Connection conn = DriverManager.getConnection("jdbc:h2:mem:one", "linkuser", "linkpass"); Connection conn = DriverManager.getConnection("jdbc:h2:mem:one", "sa", "sa");
Statement stat = conn.createStatement(); Statement stat = conn.createStatement();
stat.execute("CREATE SCHEMA Y"); stat.execute("CREATE SCHEMA Y");
stat.execute("CREATE TABLE A( C INT)"); stat.execute("CREATE TABLE A( C INT)");
...@@ -36,8 +36,8 @@ public class TestLinkedTable extends TestBase { ...@@ -36,8 +36,8 @@ public class TestLinkedTable extends TestBase {
stat.execute("INSERT INTO Y.A VALUES(2)"); stat.execute("INSERT INTO Y.A VALUES(2)");
Connection conn2 = DriverManager.getConnection("jdbc:h2:mem:two"); Connection conn2 = DriverManager.getConnection("jdbc:h2:mem:two");
Statement stat2 = conn2.createStatement(); Statement stat2 = conn2.createStatement();
stat2.execute("CREATE LINKED TABLE one('org.h2.Driver', 'jdbc:h2:mem:one', 'linkuser', 'linkpass', 'Y.A');"); stat2.execute("CREATE LINKED TABLE one('org.h2.Driver', 'jdbc:h2:mem:one', 'sa', 'sa', 'Y.A');");
stat2.execute("CREATE LINKED TABLE two('org.h2.Driver', 'jdbc:h2:mem:one', 'linkuser', 'linkpass', 'A');"); stat2.execute("CREATE LINKED TABLE two('org.h2.Driver', 'jdbc:h2:mem:one', 'sa', 'sa', 'A');");
ResultSet rs = stat2.executeQuery("SELECT * FROM one"); ResultSet rs = stat2.executeQuery("SELECT * FROM one");
rs.next(); rs.next();
check(rs.getInt(1), 2); check(rs.getInt(1), 2);
......
...@@ -101,17 +101,21 @@ public class TestLob extends TestBase { ...@@ -101,17 +101,21 @@ public class TestLob extends TestBase {
try { try {
conn.createStatement().execute("DELETE FROM TEST"); conn.createStatement().execute("DELETE FROM TEST");
conn.commit(); conn.commit();
// DELETE does now fail in all systems (Linux), but in some // DELETE does not fail in Linux, but in Windows
// error("Error expected"); // error("Error expected");
// but reading afterwards should fail // but reading afterwards should fail
int len = 0;
while (true) { while (true) {
int x = in.read(); int x = in.read();
if (x < 0) { if (x < 0) {
break; break;
} }
len++;
} }
in.close(); in.close();
error("Error expected"); if (len > 0) {
error("Error expected; len=" + len);
}
} catch (SQLException e) { } catch (SQLException e) {
checkNotGeneralException(e); checkNotGeneralException(e);
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论