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

--no commit message

--no commit message
上级 502d8756
......@@ -1142,1138 +1142,1078 @@ Change Log
Next Version (unreleased)
@changelog_1002_li
Some DatabaseMetaData operations did not work for non-admin users for versions 1.1.x.
H2 Console: The autocomplete feature has been improved a bit. It can now better parse conditions.
@changelog_1003_li
When restarting a web application in Tomcat, an exception is thrown sometimes. In most cases this is a NullPointerException. The root cause of the problem is now documented in the FAQ: Tomcat sets all static fields (final or non-final) to null when unloading a web application. A workaround is to set the system property org.apache.catalina.loader.WebappClassLoader.ENABLE_CLEAR_REFERENCES to false.
@changelog_1004_h2
Version 1.1.107 (2009-01-24)
@changelog_1005_li
Some DatabaseMetaData operations did not work for non-admin users for versions 1.1.x.
@changelog_1006_li
The MySQL compatibility extension fromUnixTime now used the English locale.
@changelog_1004_li
@changelog_1007_li
When using LOG=2 and repeatedly updating the last row rows of a table, the index file grew quickly.
@changelog_1005_li
@changelog_1008_li
In versions 1.1.105 and 1.1.106, encrypted script files of earlier versions could not be processed. This is now again possible. The problem was that such script files were stored in a special format (STORAGE=TEXT) but support for this format was removed in version 1.1.105.
@changelog_1006_li
@changelog_1009_li
Enabling the trace mechanism by creating a specially named file is no longer supported.
@changelog_1007_h2
@changelog_1010_h2
Version 1.1.106 (2009-01-04)
@changelog_1008_li
@changelog_1011_li
Statement.setQueryTimeout did not work correctly for some statements.
@changelog_1009_li
@changelog_1012_li
CREATE DOMAIN: Built-in data types can now only be changed if no tables exist.
@changelog_1010_li
@changelog_1013_li
Linked tables: a workaround for Oracle DATE columns has been implemented.
@changelog_1011_li
@changelog_1014_li
DatabaseMetaData.getPrimaryKeys: The column PK_NAME now contains the constraint name instead of the index name (compatibility for PostgreSQL and Derby).
@changelog_1012_li
@changelog_1015_li
Using IN(..) inside a IN(SELECT..) did not always work.
@changelog_1013_li
@changelog_1016_li
Views with IN(..) that used a view itself did not work.
@changelog_1014_li
@changelog_1017_li
Union queries with LIMIT or ORDER BY that are used in a view or subquery did not work.
@changelog_1015_li
@changelog_1018_li
The license change a bit: so far the license was modified to say 'Swiss law'. This is now changed back to the original 'US law'. This was requested by a user, and I don't see a problem.
@changelog_1016_li
@changelog_1019_li
Constraints for local temporary tables now session scoped. So far they were global. Thanks a lot to Eric Faulhaber for finding and fixing this problem!
@changelog_1017_li
@changelog_1020_li
When using the auto-server mode, and if the lock file was modified in the future, the wrong exception was thrown ('Connection is broken' instead of 'Error opening database: Lock file modified in the future').
@changelog_1018_h2
@changelog_1021_h2
Version 1.1.105 (2008-12-19)
@changelog_1019_li
@changelog_1022_li
The setting STORAGE=TEXT is no longer supported.
@changelog_1020_li
@changelog_1023_li
Deleting a database using the tool DeleteDbFiles deleted LOB files of other databases in the same directory.
@changelog_1021_li
@changelog_1024_li
When used in a subquery, LIKE and IN(..) did not work correctly sometimes.
@changelog_1022_li
@changelog_1025_li
The fulltext search documentation has been improved.
@changelog_1023_li
@changelog_1026_li
ARRAY_GET returned the wrong data type (ARRAY). Now it returns VARCHAR.
@changelog_1024_li
@changelog_1027_li
Natural join: the joined columns are not repeated any more when using SELECT *.
@changelog_1025_li
@changelog_1028_li
User defined aggregate functions: the method getType expected internal data types instead of SQL types.
@changelog_1026_li
@changelog_1029_li
User defined aggregate functions did not work if there was no group by expression.
@changelog_1027_li
@changelog_1030_li
MySQL compatibility: support for := assignment as in @sum:=@sum+x
@changelog_1028_li
@changelog_1031_li
INSERT INTO TEST(SELECT * FROM TEST) is now supported.
@changelog_1029_li
@changelog_1032_li
Each session threw an invisible exception when garbage collected.
@changelog_1030_li
@changelog_1033_li
Foreign key constraints that refer to a quoted column did not work.
@changelog_1031_li
@changelog_1034_li
New meta data column INFORMATION_SCHEMA.TABLES.LAST_MODIFICATION to get the table modification counter.
@changelog_1032_li
@changelog_1035_li
Shell: line comments didn't work correctly.
@changelog_1033_li
@changelog_1036_li
H2 Console: Columns are now listed for up to 500 tables instead of 100.
@changelog_1034_li
@changelog_1037_li
H2 Console: Cmd+Enter executes the current statement, Alt+Space for autocomplete.
@changelog_1035_li
@changelog_1038_li
JaQu: the maximum length of a column can now be defined using maxLength. For an example, see Product.java (maxLength(category, 255)).
@changelog_1036_li
@changelog_1039_li
R&\#305;dvan A&\#287;ar has completed the Turkish translation of the H2 Console. Thanks a lot!
@changelog_1037_h2
@changelog_1040_h2
Version 1.1.104 (2008-11-28)
@changelog_1038_li
@changelog_1041_li
If a query that was used like a table contained group by and was ordered by an expression that is not in the column list, an exception was thrown.
@changelog_1039_li
@changelog_1042_li
JaQu: tables are now auto-created when running a query.
@changelog_1040_li
@changelog_1043_li
The optimizer had problems with function tables (for example CSVREAD and FTL_SEARCH). A new system property h2.estimatedFunctionTableRows (default 1000) defines how many rows can be expected in the table.
@changelog_1041_li
@changelog_1044_li
The function SUM could overflow when using large values. It returns now a data type that is safe.
@changelog_1042_li
@changelog_1045_li
The function AVG could overflow when using large values. Fixed.
@changelog_1043_li
@changelog_1046_li
The emergency reserve file has been removed. It didn't provide an appropriate solution for the problem. It is still possible for an application to detect and deal with the low disk space problem (deleting temporary files for example) using DatabaseEventListener.diskSpaceIsLow, but this method is now always called with stillAvailable=0.
@changelog_1044_li
@changelog_1047_li
Build: JAVA_HOME is now automatically detected on Mac OS X.
@changelog_1045_li
@changelog_1048_li
Testing for local connections was very slow on some systems.
@changelog_1046_li
@changelog_1049_li
The cache memory usage calculation is more conservative.
@changelog_1047_li
@changelog_1050_li
Allocating space got slower and slower the larger the database.
@changelog_1048_li
@changelog_1051_li
ALTER TABLE ALTER COLUMN could throw the wrong exception in the last version (Table not found).
@changelog_1049_li
@changelog_1052_li
Updatable result sets: the key columns can now be updated.
@changelog_1050_li
@changelog_1053_li
The H2DatabaseProvider for ActiveObjects is now included in the tools section.
@changelog_1051_li
@changelog_1054_li
The H2Platform for Oracle Toplink Essential has been improved a bit.
@changelog_1052_li
@changelog_1055_li
The Windows service to start H2 didn't work in version 1.1.
@changelog_1053_li
@changelog_1056_li
File systems with a maximum file size (for example FAT) are now supported using the file prefix 'split:'. In this case the files are split in parts of 1 GB. Example URL: jdbc:h2:split:~/db/test. If you want to split into parts of 1 MB, use jdbc:h2:split:20:~/db/test (the part size is 1 << x, the default is 30 meaning 1 GB).
@changelog_1054_li
@changelog_1057_li
The database now tries to detect if the classloader or virtual machine has almost shut down by checking if static final variables are set to null. This should help reduce exceptions when stopping the web application.
@changelog_1055_li
@changelog_1058_li
Compatibility for MS SQL Server DATEDIFF(YYYY, .., ..)
@changelog_1056_li
@changelog_1059_li
ResultSet.getObject for CLOB or BLOB will return a java.sql.Clob / java.sql.Blob object instead of a java.io.Reader / java.io.InputStream as in version 1.0. This behavior can be changed using the system property h2.returnLobObjects (true by default for version 1.1).
@changelog_1057_li
@changelog_1060_li
The interface CloseListener has a new method 'remove' that is called when the trigger is dropped.
@changelog_1058_li
@changelog_1061_li
Fulltext search: there was a memory leak when creating and dropping fulltext indexes in a loop.
@changelog_1059_h2
@changelog_1062_h2
Version 1.1.103 (2008-11-07)
@changelog_1060_li
@changelog_1063_li
Could not order by a formula when the formula was in the group by list but not in the select list.
@changelog_1061_li
@changelog_1064_li
Date values that match the daylight saving time end were not allowed in times zones were the daylight saving time ends at midnight, for years larger than 2037. Example: timezone Brasilia, date 2042-10-12. This is a problem of Java, however a workaround is implemented in H2 that solves most problems (except the problems of java.util.Date itself).
@changelog_1062_li
@changelog_1065_li
ALTER TABLE used a lot of memory when using multi-version concurrency.
@changelog_1063_li
@changelog_1066_li
Referential integrity for in-memory databases didn't work in some cases in version 1.1.102.
@changelog_1064_li
@changelog_1067_li
New column INFORMATION_SCHEMA.COLUMNS.SEQUENCE_NAME to get the name of the sequence for auto-increment columns.
@changelog_1065_li
@changelog_1068_li
Aliases for built-in data types (such as MEDIUMBLOB which is an alias for BLOB) can now be re-mapped to another data type using CREATE DOMAIN. However main built-in data types (such as INTEGER) can not be re-mapped.
@changelog_1066_li
@changelog_1069_li
The Japanese translation has been completed by Masahiro Ikemoto. Thanks a lot!
@changelog_1067_li
@changelog_1070_li
Improved PostgreSQL compatibility for NEXTVAL and CURRVAL.
@changelog_1068_li
@changelog_1071_li
Less heap memory is needed when multiple databases are open at the same time: The memory reserve (used to rollback after out of memory) is now global and no longer allocated for each database separately.
@changelog_1069_li
@changelog_1072_li
New system property h2.browser to set the browser to use.
@changelog_1070_li
@changelog_1073_li
To start the browser, java.awt.Desktop.browse is now used if available.
@changelog_1071_h2
@changelog_1074_h2
Version 1.1.102 (2008-10-24)
@changelog_1072_li
@changelog_1075_li
The French translation of the H2 Console has been improved by Olivier Parent. Thanks a lot!
@changelog_1073_li
@changelog_1076_li
There was a memory leak when creating and dropping tables and indexes in a loop (persistent database only).
@changelog_1074_li
@changelog_1077_li
SET LOG 2 was not effective if executed after opening the database.
@changelog_1075_li
@changelog_1078_li
Translating the H2 Console is now simpler.
@changelog_1076_li
@changelog_1079_li
Common exception (error code 23*) are no longer written to the .trace.db file by default.
@changelog_1077_li
@changelog_1080_li
In-memory databases don't write LOBs to files any longer.
@changelog_1078_li
@changelog_1081_li
Self referencing constraints didn't restrict deleting rows that reference itself if there is another row that references it.
@changelog_1079_li
@changelog_1082_li
ResultSetMetaData.getColumnName now returns the alias name except for columns.
@changelog_1080_li
@changelog_1083_li
Temporary files are now deleted when the database is closed, even if they were not garbage collected so far.
@changelog_1081_h2
@changelog_1084_h2
Version 1.1.101 (2008-10-17)
@changelog_1082_li
@changelog_1085_li
Errors with code 42000 - 42999 are no longer written to the trace file by default.
@changelog_1083_li
@changelog_1086_li
Queries with more than 10 tables are now faster.
@changelog_1084_li
@changelog_1087_li
Opening a connection with AUTO_SERVER=TRUE is now fast when the database is already open in another process (less than 0.01 seconds instead of 2 seconds).
@changelog_1085_li
@changelog_1088_li
IF [NOT] EXISTS is supported for named constraints in ALTER TABLE ... ADD/DROP CONSTRAINT.
@changelog_1086_li
@changelog_1089_li
The error messages have been translated to Spanish by Dario V. Fassi. Thanks a lot!
@changelog_1087_li
@changelog_1090_li
Linked tables: the automatic connection sharing didn't work. Actually the system property h2.shareLinkedConnections was working in the opposite direction: it was disabled when set to true. Now it works as expected.
@changelog_1088_li
@changelog_1091_li
Opening large database is now faster.
@changelog_1089_li
@changelog_1092_li
New system property h2.socketConnectTimeout, the timeout in milliseconds to connect to a server. The default is 2000 (2 seconds).
@changelog_1090_li
@changelog_1093_li
The wrong parameters were bound to subqueries with parameters, specially when using IN(SELECT ...) and IN(...).
@changelog_1091_li
@changelog_1094_li
Unset parameters were not detected when the query was re-compiled.
@changelog_1092_li
@changelog_1095_li
New functions ISO_YEAR, ISO_WEEK, ISO_DAY_OF_WEEK. Thanks a lot to Robert Rathsack for implementing those!
@changelog_1093_li
@changelog_1096_li
The date functions DAYOFYEAR, DAYOFMONTH, DAYOFWEEK are now called DAY_OF_YEAR, DAY_OF_MONTH, DAY_OF_WEEK (the old names still work).
@changelog_1094_li
@changelog_1097_li
An out of memory error while deleting or updating many rows could result in a strange exception.
@changelog_1095_li
@changelog_1098_li
Linked tables: compatibility with MS SQL Server has been improved.
@changelog_1096_li
@changelog_1099_li
Renaming tables that have foreign keys with cascade didn't work correctly.
@changelog_1097_li
@changelog_1100_li
The auto-reconnect feature didn't work when using the auto-server mode. Fixed.
@changelog_1098_li
@changelog_1101_li
Fulltext search: new method FT_DROP_INDEX.
@changelog_1099_li
@changelog_1102_li
The optimization to group using an index didn't work in some cases in version 1.1 (see also system property h2.optimizeGroupSorted).
@changelog_1100_li
@changelog_1103_li
OSGi meta data is included in the manifest file. An OSGi BundleActivator is included: it loads the database driver when starting the bundle, and unloads it when stopping the bundle.
@changelog_1101_li
@changelog_1104_li
The default value for MAX_MEMORY_UNDO is now 50000.
@changelog_1102_li
@changelog_1105_li
For alias columns, ResultSetMetaData.getTableName() and getColumnName() now return the real table and column name in the default mode.
@changelog_1103_li
@changelog_1106_li
In SQL scripts created with SCRIPT TO, schemas are now only created if they don't exist yet.
@changelog_1104_li
@changelog_1107_li
After re-connecting to a database, the database event listener (if set) is informed about it.
@changelog_1105_li
@changelog_1108_li
Local temporary tables now support indexes. Thanks a lot to Matt Roy!
@changelog_1106_li
@changelog_1109_li
RUNSCRIPT no longer uses a temporary file.
@changelog_1107_li
@changelog_1110_li
New system table INFORMATION_SCHEMA.SESSION_STATE containing the SQL statements that make up the session state. The list currently contains variables (SET @..) and local temporary tables (without data).
@changelog_1108_li
@changelog_1111_li
After an automatic re-connect, part of the session state stays (the part that is stored in the SESSION_STATE table).
@changelog_1109_li
@changelog_1112_li
The build didn't work if the directory temp didn't exist before.
@changelog_1110_li
@changelog_1113_li
New system property h2.maxReconnect (default 3) to limit the number of re-connects for the same SQL statement (this is usually only important for SHUTDOWN).
@changelog_1111_li
@changelog_1114_li
WHERE .. IN (SELECT ...) could throw a NullPointerException.
@changelog_1112_li
@changelog_1115_li
Improved Glassfish / Toplink support in H2Platform thanks to Marcio Borges from Brazil. Thanks a lot!
@changelog_1113_h2
@changelog_1116_h2
Version 1.1.100 (2008-10-04)
@changelog_1114_li
@changelog_1117_li
In version 1.1, the following system properties are now enabled by default: h2.lobFilesInDirectories, h2.optimizeGroupSorted, h2.optimizeInJoin, h2.shareLinkedConnections
@changelog_1115_li
@changelog_1118_li
The H2 Console tool now works with the JDBC-ODBC bridge.
@changelog_1116_li
@changelog_1119_li
The H2 Console tool now supports command line options to start things separately.
@changelog_1117_li
@changelog_1120_li
Large objects did not work for in-memory databases in server mode in Linux.
@changelog_1118_li
@changelog_1121_li
Connections from a local address other than 'localhost' were not allowed if remote connections were disabled. This was always a problem, but only got visible in the last release because the server no longer connects to 'localhost' if networked.
@changelog_1119_li
@changelog_1122_li
The h2console.war can now be built using the Java build.
@changelog_1120_li
@changelog_1123_li
By default, databases are shared in the same process. For read-only databases this causes unnecessary synchronization, but safes memory. If you want that each connection opens its own database, append ;OPEN_NEW=TRUE to the database URL.
@changelog_1121_li
@changelog_1124_li
New auto-reconnect feature will cause the JDBC driver to reconnect to the database if the connection is lost. To enable, append ;AUTO_RECONNECT=TRUE to the database URL. This is specially helpful when using AUTO_SERVER. AUTO_SERVER automatically uses auto-reconnect.
@changelog_1122_li
@changelog_1125_li
CreateCluster: the property 'serverlist' is now called 'serverList'.
@changelog_1123_li
@changelog_1126_li
The ConvertTraceFile tool could not parse some files because the trace mechanism did not encode prepared statement parameters.
@changelog_1124_li
@changelog_1127_li
Databases names can now be one character long (the minimum size used to be 2 characters).
@changelog_1125_h2
@changelog_1128_h2
Version 1.0.79 (2008-09-26)
@changelog_1126_li
@changelog_1129_li
Linked tables that point to the same database can now share the connection within the same database. Access to the same connection is serialized. To enable this feature, set the system property h2.shareLinkedConnections to true.
@changelog_1127_li
@changelog_1130_li
Multiple processes can now access the same database without having to explicitly start the server. To do that, append ;AUTO_SERVER=TRUE to the database URL. In this case, the server is started automatically if the connection is in embedded mode, and the server mode is used if a server is running. If the process that opened the first connection is closed, the other client need to reconnect (there is no automatic re-connect so far). Remote connections are allowed, but only to this database.
@changelog_1128_li
@changelog_1131_li
The server tool now displays the correct IP address if networked.
@changelog_1129_li
@changelog_1132_li
Can now start a TCP server with port 0 (automatically select a port).
@changelog_1130_li
@changelog_1133_li
Result sets with just a unique index can now be updated (previously a primary key was required).
@changelog_1131_li
@changelog_1134_li
LINKED TABLE: the schema name can now be set. When multiple tables exist in different schema, and the schema name is not set, an exception is thrown.
@changelog_1132_li
@changelog_1135_li
LINKED TABLE: worked around a bug in Oracle with the CHAR data type.
@changelog_1133_li
@changelog_1136_li
Faster hash code calculation for large binary arrays.
@changelog_1134_li
@changelog_1137_li
Faster storage re-use algorithm thanks to Greg Dhuse from cleversafe.com.
@changelog_1135_li
@changelog_1138_li
The database supports the SHOW command for better MySQL and PostgreSQL compatibility.
@changelog_1136_li
@changelog_1139_li
The H2 Console now abbreviates large texts in results.
@changelog_1137_li
@changelog_1140_li
Multiple UNION queries could not be used in derived tables.
@changelog_1138_li
@changelog_1141_li
Linked tables can now be read-only.
@changelog_1139_li
@changelog_1142_li
Temporary linked tables are now supported.
@changelog_1140_li
@changelog_1143_li
It was possible to create tables in read-only databases.
@changelog_1141_li
@changelog_1144_li
SET SCHEMA_SEARCH_PATH is now documented.
@changelog_1142_li
@changelog_1145_li
SET SCHEMA did not work for views.
@changelog_1143_li
@changelog_1146_li
Row level locking for MVCC is now enabled. The exception 'Concurrent update in table ...' is still thrown, but only after the lock timeout.
@changelog_1144_li
@changelog_1147_li
The maximum log file size setting was ignored for large databases.
@changelog_1145_li
@changelog_1148_li
Multi-Version Concurrency (MVCC) may no longer be used when using the multi-threaded kernel feature (MULTI_THREADED). An exception is thrown when trying to connect with both settings. Additional synchronization is required before those features can be used together.
@changelog_1146_li
@changelog_1149_li
The data type JAVA_OBJECT could not be used in updatable result sets.
@changelog_1147_li
@changelog_1150_li
The system property h2.optimizeInJoin did not work correctly.
@changelog_1148_li
@changelog_1151_li
Conditions such as ID=? AND ID>? were slow.
@changelog_1149_h2
@changelog_1152_h2
Version 1.0.78 (2008-08-28)
@changelog_1150_li
@changelog_1153_li
The documentation no longer uses a frameset (except the Javadocs).
@changelog_1151_li
@changelog_1154_li
When using DB_CLOSE_DELAY, sometimes a NullPointerException is thrown when the database is opened almost at the same time as it is closed automatically. Thanks a lot to Dmitry Pekar for finding this!
@changelog_1152_li
@changelog_1155_li
Java methods with variable number of parameters can now be used (for Java 1.5 or newer).
@changelog_1153_li
@changelog_1156_li
The Japanese translation has been improved by Masahiro Ikemoto. Thanks a lot!
@changelog_1154_li
@changelog_1157_li
The H2 Console replaced an empty user name with a single space.
@changelog_1155_li
@changelog_1158_li
The build target 'build jarSmall' now includes the embedded database.
@changelog_1156_li
@changelog_1159_li
JdbcDataSource now keeps the password in a char array where possible.
@changelog_1157_li
@changelog_1160_li
ResultSet.absolute did not always work with large result sets.
@changelog_1158_li
@changelog_1161_li
Column aliases can now be used in GROUP BY and HAVING.
@changelog_1159_li
@changelog_1162_li
Jason Brittain has contributed MySQL date functions. Thanks a lot! They are not in the h2.jar file currently, but in src/tools/org/h2/mode/FunctionsMySQL.java. To install, add this class to the classpath and call FunctionsMySQL.register(conn) in the Java code.
@changelog_1160_h2
@changelog_1163_h2
Version 1.0.77 (2008-08-16)
@changelog_1161_li
@changelog_1164_li
JaQu is now using prepared statements and supports Date, Time, Timestamp.
@changelog_1162_li
@changelog_1165_li
When using remote in-memory databases, large LOB objects did not work.
@changelog_1163_li
@changelog_1166_li
Timestamp columns such as TIMESTAMP(6) were not compatible to other database.
@changelog_1164_li
@changelog_1167_li
Opening a large database was slow if there was a problem opening the previous time.
@changelog_1165_li
@changelog_1168_li
NOT IN(SELECT ...) was incorrect if the subquery returns no rows.
@changelog_1166_li
@changelog_1169_li
CREATE TABLE AS SELECT did not work correctly in the multi-version concurrency mode.
@changelog_1167_li
@changelog_1170_li
Support a comma before closing a list, as in: create table test(id int,)
@changelog_1168_li
@changelog_1171_li
MySQL compatibility: linked tables had lower case column names on some systems.
@changelog_1169_li
@changelog_1172_li
DB2 compatibility: the DB2 fetch-first-clause is supported.
@changelog_1170_li
@changelog_1173_li
Oracle compatibility: old style outer join syntax using (+) did work correctly sometimes.
@changelog_1171_li
@changelog_1174_li
ResultSet.setFetchSize is now supported.
@changelog_1172_li
@changelog_1175_li
It has been reported that when using Install4j on some Linux systems and enabling the 'pack200' option, the h2.jar becomes corrupted by the install process, causing application failure. A workaround is to add an empty file h2.jar.nopack next to the h2.jar file. The reason for this problem is not known.
@changelog_1173_h2
@changelog_1176_h2
Version 1.0.76 (2008-07-27)
@changelog_1174_li
@changelog_1177_li
The comment of a domain (user defined data type) is now used as the default column comment when creating a column with this domain.
@changelog_1175_li
@changelog_1178_li
Invalid database names are now detected and a better error message is thrown.
@changelog_1176_li
@changelog_1179_li
ResultSetMetaData.getColumnClassName now returns the correct class name for BLOB and CLOB.
@changelog_1177_li
@changelog_1180_li
Fixed the Oracle mode: Oracle allows multiple rows only where all columns of the unique index are NULL.
@changelog_1178_li
@changelog_1181_li
There is a problem with Hibernate when using Boolean columns. A patch for Hibernate has been submitted at http://opensource.atlassian.com/projects/hibernate/browse/HHH-3401
@changelog_1179_li
@changelog_1182_li
ORDER BY on tableName.columnName didn't work correctly if the column name was also used as an alias.
@changelog_1180_li
@changelog_1183_li
H2 Console: The progress display when opening a database has been improved.
@changelog_1181_li
@changelog_1184_li
The error message when the server doesn't start has been improved.
@changelog_1182_li
@changelog_1185_li
Key values can now be changed in updatable result sets.
@changelog_1183_li
@changelog_1186_li
Changes in updatable result sets are now visible even when resetting the result set.
@changelog_1184_li
@changelog_1187_li
Temporary files were sometimes deleted too late when executing large insert, update, or delete operations.
@changelog_1185_li
@changelog_1188_li
The database file was growing after deleting many rows, and after large update operations.
@changelog_1186_h2
@changelog_1189_h2
Version 1.0.75 (2008-07-14)
@changelog_1187_li
@changelog_1190_li
Multi version concurrency (MVCC): when a row was updated or deleted, but this change was rolled back, the row was not visible by other sessions if no index was used to access it. Fixed.
@changelog_1188_li
@changelog_1191_li
Views with multiple joined tables (where one was an outer join) couldn't be used in some cases. Fixed.
@changelog_1189_li
@changelog_1192_li
The CSVREAD method did not process NULL correctly when using a whitespace field separator.
@changelog_1190_li
@changelog_1193_li
Fixed the Oracle mode: Oracle allows multiple rows with NULL in a unique index.
@changelog_1191_li
@changelog_1194_li
Running out of memory could result in incomplete transactions or corrupted databases. Fixed.
@changelog_1192_li
@changelog_1195_li
When using order by in a query that uses the same table multiple times, the order could be incorrect. Fixed.
@changelog_1193_li
@changelog_1196_li
Referential constraint checking improvement: now the constraint is only checked if the key column values change.
@changelog_1194_li
@changelog_1197_li
Some database metadata calls returned the wrong data type for DATA_TYPE columns.
@changelog_1195_li
@changelog_1198_li
The Lucene fulltext index was empty when opening a database with fulltext index enabled, and re-indexing it didn't work. Fixed.
@changelog_1196_li
@changelog_1199_li
The character '$' could not be used in identifier names (table name, column names and so on). Fixed.
@changelog_1197_li
@changelog_1200_li
The new method org.h2.tools.Server.startWebServer(conn) starts the H2 Console to inspect a database while debugging.
@changelog_1198_li
@changelog_1201_li
Stopping a WebServer didn't always work. Fixed.
@changelog_1199_h2
@changelog_1202_h2
Version 1.0.74 (2008-06-21)
@changelog_1200_li
@changelog_1203_li
Work on row level locking has been started (but there is nothing usable yet).
@changelog_1201_li
@changelog_1204_li
JaQu (Java Query), a tool similar to LINQ (Language Integrated Query; from Microsoft) is now included under src/tools/org/h2/jaqu. A small sample application is included under src/test/org/h2/test/jaqu.
@changelog_1202_li
@changelog_1205_li
The source code is now switched to Java 1.6 by default. To switch back to Java 1.4, run 'build compile'. The h2.jar file is still Java 1.4.
@changelog_1203_li
@changelog_1206_li
The ChangePassword tool is now called ChangeFileEncryption.
@changelog_1204_li
@changelog_1207_li
It is no longer allowed to create columns with the data type NULL. Also, it is no longer allowed to convert a column to the data type NULL. This was possible before but caused data loss.
@changelog_1205_li
@changelog_1208_li
When using computed columns or default values with a different data type than the column data type, a class cast exception could occur. Fixed.
@changelog_1206_li
@changelog_1209_li
Opening databases larger than 1 GB was sometimes very slow if a lot of data was deleted previously. Fixed.
@changelog_1207_li
@changelog_1210_li
RUNSCRIPT could throw a NullPointerException if the script name was an expression.
@changelog_1208_li
@changelog_1211_li
Improved compatibility. New compatibility modes for Oracle and Derby. New compatibility flag uniqueIndexNullDistinct to only allow one row with 'NULL' in a unique index. This flag is enabled for Derby, Oracle, MSSQLServer, and HSQLDB.
@changelog_1209_li
@changelog_1212_li
Linked tables: To view the statements that are executed against the target table, set the trace level to 3.
@changelog_1210_li
@changelog_1213_li
RunScript tool: new options to show and check the results of queries.
@changelog_1211_li
@changelog_1214_li
Deadlocks are now detected. One transaction is rolled back automatically.
@changelog_1212_li
@changelog_1215_li
The Lucene fulltext index was always re-created when opening a database with fulltext index enabled.
@changelog_1213_li
@changelog_1216_li
Support for overloaded Java methods. A user defined function can now be bound to multiple Java methods, if the Java methods have the same name but a different number of parameters. Thanks to Gary Tong for providing a patch!
@changelog_1214_h2
@changelog_1217_h2
Version 1.0.73 (2008-05-31)
@changelog_1215_li
@changelog_1218_li
ParameterMetaData now returns the right data type for most conditions, as in WHERE ID=?.
@changelog_1216_li
@changelog_1219_li
The table SYSTEM_RANGE now supports expressions and parameters.
@changelog_1217_li
@changelog_1220_li
New column INFORMATION_SCHEMA.CONSTRAINTS.UNIQUE_INDEX_NAME that contains the name of the unique index used to enforce this constraint, if there is such an index.
@changelog_1218_li
@changelog_1221_li
SET QUERY_TIMEOUT and Statement.setQueryTimeout no longer commits a transaction. The same applies to SET @VARIABLE, SET LOCK_TIMEOUT, SET TRACE_LEVEL_*, SET THROTTLE, and SET PATH.
@changelog_1219_li
@changelog_1222_li
The SCRIPT command does now emit IF NOT EXISTS for CREATE ROLE.
@changelog_1220_li
@changelog_1223_li
MySQL compatibility: auto_increment column are no longer automatically converted to primary key columns.
@changelog_1221_li
@changelog_1224_li
PostgreSQL compatibility: support for BOOL_OR and BOOL_AND aggregate functions.
@changelog_1222_li
@changelog_1225_li
Negative scale values for DECIMAL or NUMBER columns are now supported in regular tables and in linked tables.
@changelog_1223_li
@changelog_1226_li
A role or right can now be granted or revoked multiple times without getting an exception.
@changelog_1224_li
@changelog_1227_li
Infinite numbers in SQL scripts are listed as POWER(0, -1)), negative infinite as (-POWER(0, -1)), and NaN (not a number) as SQRT(-1).
@changelog_1225_li
@changelog_1228_li
The special double and float values 'NaN' (not a number) did not work correctly when sorting or comparing.
@changelog_1226_li
@changelog_1229_li
The fulltext search did not support CLOB data types.
@changelog_1227_li
@changelog_1230_li
If the drive with the database files was disconnected or unmounted while writing, sometimes a stack overflow exception was thrown instead of a IO exception.
@changelog_1228_li
@changelog_1231_li
The H2 Console could not be shut down from within the tool if the browser supports keepAlive (most browsers do).
@changelog_1229_li
@changelog_1232_li
If the password was passed as a char array, it was kept in an internal buffer longer than required. Theoretically the password could have been stolen if the main memory was swapped to disk before the garbage collection was run.
@changelog_1230_h2
@changelog_1233_h2
Version 1.0.72 (2008-05-10)
@changelog_1231_li
@changelog_1234_li
Some databases could not be opened when appending ;RECOVER=1 to the database URL.
@changelog_1232_li
@changelog_1235_li
The Japanese translation of the error messages and the H2 Console has been completed by Masahiro Ikemoto (Arizona Design Inc.)
@changelog_1233_li
@changelog_1236_li
Updates made to updatable rows are now visible within the same result set. DatabaseMetaData.ownUpdatesAreVisible now returns true.
@changelog_1234_li
@changelog_1237_li
ParameterMetaData now returns the correct data for INSERT and UPDATE statements.
@changelog_1235_li
@changelog_1238_li
H2 Shell: DESCRIBE now supports an schema name.
@changelog_1236_li
@changelog_1239_li
A subset of the PostgreSQL 'dollar quoting' feature is now supported.
@changelog_1237_li
@changelog_1240_li
SLF4J is now supported by using adding TRACE_LEVEL_FILE=4 to the database URL.
@changelog_1238_li
@changelog_1241_li
The recovery tool did not work if the table name contained spaces or if there was a comment on the table.
@changelog_1239_li
@changelog_1242_li
Triggers are no longer executed when changing the table structure (ALTER TABLE).
@changelog_1240_li
@changelog_1243_li
When setting BLOB or CLOB values larger than 65 KB using a remote connection, temporary files were kept on the client longer than required (until the connection was closed or the object is garbage collected). Now they are removed as soon as the PreparedStatement is closed, or when the value is overwritten.
@changelog_1241_li
@changelog_1244_li
Statements can now be canceled remotely (when using remote connections).
@changelog_1242_li
@changelog_1245_li
The Shell tool now uses java.io.Console to read the password when using JDK 1.6
@changelog_1243_li
@changelog_1246_li
When using read-only databases and setting LOG=2, an exception was written to the trace file when closing the database. Fixed.
@changelog_1244_h2
@changelog_1247_h2
Version 1.0.71 (2008-04-25)
@changelog_1245_li
@changelog_1248_li
H2 is now dual-licensed under the Eclipse Public License (EPL) and the old 'H2 License' (which is basically MPL).
@changelog_1246_li
@changelog_1249_li
Sometimes an exception 'File ID mismatch' or 'try to add a record twice' occurred after large records (8 KB or larger) are updated or deleted. See also http://code.google.com/p/h2database/issues/detail?id=22
@changelog_1247_li
@changelog_1250_li
H2 Console: The tools can now be translated (it didn't work in the last release).
@changelog_1248_li
@changelog_1251_li
New traditional Chinese translation. Thanks a lot to Derek Chao!
@changelog_1249_li
@changelog_1252_li
Indexes were not used when enabling the optimization for IN(SELECT...) (system property h2.optimizeInJoin).
@changelog_1250_h2
@changelog_1253_h2
Version 1.0.70 (2008-04-20)
@changelog_1251_li
@changelog_1254_li
The plan is to dual-license H2. The additional license is EPL (Eclipse Public License). The current license (MPL, Mozilla Public License) will stay. Current users are not affected because they can keep MPL. EPL is very similar to MPL, the only bigger difference is related to patents (EPL is a bit more business friendly in this regard). See also http://opensource.org/licenses/eclipse-1.0.php, http://www.eclipse.org/legal/eplfaq.php (FAQ), http://blogs.zdnet.com/Burnette/?p=131
@changelog_1252_li
@changelog_1255_li
Multi version concurrency (MVCC): when a row was updated, and the updated column was not indexed, this update was visible sometimes for other sessions even if it was not committed.
@changelog_1253_li
@changelog_1256_li
Calling SHUTDOWN on one connection and starting a query on another connection concurrently could result in a Java level deadlock.
@changelog_1254_li
@changelog_1257_li
New system property h2.enableAnonymousSSL (default: true) to enable anonymous SSL connections.
@changelog_1255_li
@changelog_1258_li
The precision if SUBSTR is now calculated if possible.
@changelog_1256_li
@changelog_1259_li
The autocomplete in the H2 Console has been improved a bit.
@changelog_1257_li
@changelog_1260_li
The tools in the H2 Console are now translatable.
@changelog_1258_li
@changelog_1261_li
The servlet and lucene jar files are now automatically downloaded when building.
@changelog_1259_li
@changelog_1262_li
The code switch tool has been replaced by a simpler tool called SwitchSource that just uses find and replace.
@changelog_1260_li
@changelog_1263_li
Started to write a Ant replacement ('JAnt') that uses pure Java build definitions. Advantages: ability to debug the build, extensible, flexible, no XML, a bit faster. Future plan: support creating custom h2 distributions (for embedded use). Maybe create a new project 'Jant' or 'Javen' if other people are interested.
@changelog_1261_li
@changelog_1264_li
The jar file is now about 10% smaller because the variable debugging info is no longer included. The source file and line number debugging info is still included. If required, the jar file size of the full version can be further reduced to about 720 KB using 'build jarSmall' or even more by removing unneeded components.
@changelog_1262_li
@changelog_1265_li
Added shell scripts run.sh and build.sh. chmod +x is required, but otherwise it should work. Feedback or improvements are welcome!
@changelog_1263_li
@changelog_1266_li
Databases in zip files: large queries are now supported. Temp files are created in the temp directory if required. The documentation how to create the zip file has been corrected.
@changelog_1264_li
@changelog_1267_li
Invalid inline views threw confusing SQL exceptions.
@changelog_1265_li
@changelog_1268_li
The Japanese translation of the error messages and the H2 Console has been improved. Thanks a lot to Masahiro IKEMOTO.
@changelog_1266_li
@changelog_1269_li
Optimization for MIN() and MAX() when using MVCC.
@changelog_1267_li
@changelog_1270_li
To protect against remote brute force password attacks, the delay after each unsuccessful login now gets double as long. New system properties h2.delayWrongPasswordMin and h2.delayWrongPasswordMax.
@changelog_1268_li
@changelog_1271_li
After setting the query timeout and then resetting it, the next query would still timeout. Fixed.
@changelog_1269_li
@changelog_1272_li
Adding a IDENTITY column to a table with data threw a lock timeout.
@changelog_1270_li
@changelog_1273_li
OutOfMemoryError could occur when using EXISTS or IN(SELECT ..).
@changelog_1271_li
@changelog_1274_li
The built-in connection pool is not called JdbcConnectionPool. The API and documentation has been changed.
@changelog_1272_li
@changelog_1275_li
The ConvertTraceFile tool now generates SQL statement statistics at the end of the SQL script file (similar to the profiling data generated when using java -Xrunhprof).
@changelog_1273_li
@changelog_1276_li
Nested joins are now supported (A JOIN B JOIN C ON .. ON ..)
@changelog_1274_h2
@changelog_1277_h2
Version 1.0.69 (2008-03-29)
@changelog_1275_li
@changelog_1278_li
Most command line tools can now be called from within the H2 Console.
@changelog_1276_li
@changelog_1279_li
A new Shell tools is now included (org.h2.tools.Shell) to query a database from the command line.
@changelog_1277_li
@changelog_1280_li
The command line options in the tools have changed: instead of '-log true' now '-trace' is used. Also, '-ifExists', '-tcpSSL' and '-tcpAllowOthers' and so on have changed: now the 'true' is no longer needed. The old behavior is still supported.
@changelog_1278_li
@changelog_1281_li
New system property h2.sortNullsHigh to invert the default sorting behavior for NULL. The default didn't change.
@changelog_1279_li
@changelog_1282_li
Performance was very slow when using LOG=2 and deleting or updating all rows of a table in a loop. Fixed.
@changelog_1280_li
@changelog_1283_li
ALTER TABLE or CREATE TABLE now support parameters for the password field.
@changelog_1281_li
@changelog_1284_li
The linear hash has been removed. It was always slower than the b-tree index, and there were some bugs that would be hard to fix.
@changelog_1282_li
@changelog_1285_li
TRACE_LEVEL_ settings are no longer persistent. This was a problem when database initialization code caused a lot of trace output.
@changelog_1283_li
@changelog_1286_li
Fulltext search (native implementation): The words table is no longer an in-memory table because this caused memory problems in some cases.
@changelog_1284_li
@changelog_1287_li
It was possible to create a role with the name as an existing user (but not vice versa). This is not allowed any more.
@changelog_1285_li
@changelog_1288_li
The recovery tool didn't work correctly for tables without rows.
@changelog_1286_li
@changelog_1289_li
For years below 1, the YEAR method didn't return the correct value, and the conversion from date and timestamp to varchar was incorrect.
@changelog_1287_li
@changelog_1290_li
CSVWRITE caused a NullPointerException when not specifying a nullString.
@changelog_1288_li
@changelog_1291_li
When a log file switch occurred just after a truncate table or drop table statement, the database could not be started normally (RECOVER=1 was required). Fixed.
@changelog_1289_li
@changelog_1292_li
When a log file switch occurred in the middle of a sequence flush (sequences are only flushed every 32 values by default), the sequence value was lost. Fixed.
@changelog_1290_li
@changelog_1293_li
Altering a sequence didn't unlock the system table when autocommit switched off.
@changelog_1291_h2
@changelog_1294_h2
Version 1.0.68 (2008-03-18)
@changelog_1292_li
@changelog_1295_li
Very large SELECT DISTINCT and UNION EXCEPT queries are now supported, however this feature is disabled by default. To enable it, set the system property h2.maxMemoryRowsDistinct to a lower value, for example 10000.
@changelog_1293_li
@changelog_1296_li
A error is now thrown when trying to call a method inside a trigger that implicitly commits the current transaction, if an object is locked.
@changelog_1294_li
@changelog_1297_li
Unused LOB files were deleted much too late. Now they are deleted if no longer referenced in memory.
@changelog_1295_li
@changelog_1298_li
ALTER SEQUENCE and ALTER TABLE ALTER COLUMN RESTART can now be used inside a transaction.
@changelog_1296_li
@changelog_1299_li
New system property h2.aliasColumnName. When enabled, aliased columns (as in SELECT ID AS I FROM TEST) return the real table and column name in ResultSetMetaData.getTableName() and getColumnName(). This is disabled by default for compatibility with other databases (HSQLDB, Apache Derby, PostgreSQL, some version of MySQL). In version 1.1 this setting will be enabled.
@changelog_1297_li
@changelog_1300_li
When using encrypted databases, and using the wrong file password, the log file was renamed if the database was not already open. Fixed.
@changelog_1298_li
@changelog_1301_li
Improved performance when using lob files in directories (however this is still disabled by default)
@changelog_1299_li
@changelog_1302_li
H2 Console: autocomplete didn't work with very large scripts. Fixed.
@changelog_1300_li
@changelog_1303_li
Fulltext search: new method SEARCH_DATA that returns the column names and primary keys as arrays.
@changelog_1301_li
@changelog_1304_li
New experimental optimization for GROUP BY queries if an index can be used that matches the group by columns. To enable this optimization, set the system property h2.optimizeGroupSorted to true.
@changelog_1302_li
@changelog_1305_li
When using multi-version concurrency (MVCC=TRUE), duplicate rows could appear in the result set when running queries with uncommitted changes in the same session.
@changelog_1303_li
@changelog_1306_li
H2 Console: remote connections were very slow because getHostName/getRemoteHost was used. Fixed (now using getHostAddress/getRemoteAddr.
@changelog_1304_li
@changelog_1307_li
H2 Console: on Linux, Firefox, Konqueror, or Opera (in this order) are now started if available. This has been tested on Ubuntu.
@changelog_1305_li
@changelog_1308_li
H2 Console: the start window works better with IKVM
@changelog_1306_li
@changelog_1309_li
H2 Console: improved compatibility with Safari (Safari requires keep-alive)
@changelog_1307_li
@changelog_1310_li
Random: the process didn't stop if generating the random seed using the standard way (SecureRandom.generateSeed) was very slow. Now using a daemon thread to avoid this problem.
@changelog_1308_li
@changelog_1311_li
SELECT UNION with a different number of ORDER BY columns did throw an ArrayIndexOutOfBoundsException.
@changelog_1309_li
@changelog_1312_li
When using a view, the column precision was changed to the default scale for some data types.
@changelog_1310_li
@changelog_1313_li
CSVWRITE now supports a 'null string' that is used for parsing and writing NULL.
@changelog_1311_li
@changelog_1314_li
Some long running queries could not be canceled.
@changelog_1312_li
@changelog_1315_li
Queries with many outer join tables were very slow. Fixed.
@changelog_1313_li
@changelog_1316_li
The performance of text comparison has been improved when using locale sensitive string comparison (SET COLLATOR). Now CollationKey is used with a LRU cache. The default cache size is 10000, and can be changed using the system property h2.collatorCacheSize. Use 0 to disable the cache.
@changelog_1314_li
@changelog_1317_li
UPDATE SET column=DEFAULT is now supported.
@changelog_1315_h2
@changelog_1318_h2
Version 1.0.67 (2008-02-22)
@changelog_1316_li
@changelog_1319_li
New function FILE_READ to read a file or from an URL. Both binary and text data is supported.
@changelog_1317_li
@changelog_1320_li
CREATE TABLE AS SELECT now supports specifying the column list and data types.
@changelog_1318_li
@changelog_1321_li
Connecting to a TCP server and at shutting it down at the same time could cause a Java level deadlock.
@changelog_1319_li
@changelog_1322_li
A user now has all rights on his own local temporary tables.
@changelog_1320_li
@changelog_1323_li
The CSV tool now supports a custom lineSeparator.
@changelog_1321_li
@changelog_1324_li
When using multiple connections, empty space was reused too early sometimes. This could corrupt the database when recovering.
@changelog_1322_li
@changelog_1325_li
The H2 Console has been translated to Dutch. Thanks a lot to Remco Schoen!
@changelog_1323_li
@changelog_1326_li
Databases can now be opened even if trigger classes are not in the classpath. The exception is thrown when trying to fire the trigger.
@changelog_1324_li
@changelog_1327_li
Opening databases with ACCESS_MODE_DATA=r is now supported. In this case the database is read-only, but the files don't not need to be read-only.
@changelog_1325_li
@changelog_1328_li
Security: The database now waits 200 ms before throwing an exception if the user name or password don't match, to slow down dictionary attacks.
@changelog_1326_li
@changelog_1329_li
The value cache is now a soft reference cache. This should help save memory.
@changelog_1327_li
@changelog_1330_li
CREATE INDEX on a table with many rows could run out of memory. Fixed.
@changelog_1328_li
@changelog_1331_li
Large result sets are now a bit faster.
@changelog_1329_li
@changelog_1332_li
ALTER TABLE ALTER COLUMN RESTART and ALTER SEQUENCE now support parameters (any expressions).
@changelog_1330_li
@changelog_1333_li
When setting the base directory on the command line, the user directory prefix ('~') was ignored.
@changelog_1331_li
@changelog_1334_li
The DbStarter servlet didn't start the TCP listener even if configured.
@changelog_1332_li
@changelog_1335_li
Statement.setQueryTimeout() is now supported.
@changelog_1333_li
@changelog_1336_li
New session setting QUERY_TIMEOUT, and new system property h2.maxQueryTimeout.
@changelog_1334_li
@changelog_1337_li
Changing the transaction log level (SET LOG) is now written to the trace file by default.
@changelog_1335_li
@changelog_1338_li
In a SQL script, primary key constraints are now ordered before foreign key constraints.
@changelog_1336_li
@changelog_1339_li
It was not possible to create a referential constraint to a table in a different schema in some situations.
@changelog_1337_li
@changelog_1340_li
The H2 Console was slow when the database contains many tables. Now the column names are not shown in this case.
@changelog_1338_h2
@changelog_1341_h2
Version 1.0.66 (2008-02-02)
@changelog_1339_li
There is a new online error analyzer tool.
@changelog_1340_li
H2 Console: stack traces are now links to the source code in the source repository (H2 database only).
@changelog_1341_li
CHAR data type equals comparison was case insensitive instead of case sensitive.
@changelog_1342_li
The exception 'Value too long for column' now includes the data.
There is a new online error analyzer tool.
@changelog_1343_li
The table name was missing in the documentation of CREATE INDEX.
H2 Console: stack traces are now links to the source code in the source repository (H2 database only).
@changelog_1344_li
Better support for IKVM (www.ikvm.net): the H2 Console now opens a browser window.
CHAR data type equals comparison was case insensitive instead of case sensitive.
@changelog_1345_li
The cache size was not correctly calculated for tables with large objects (specially if compression is used). This could lead to out-of-memory exceptions.
@changelog_1346_li
The exception "Hexadecimal string contains non-hex character" was not always thrown when it should have been. Fixed.
@changelog_1347_li
The H2 Console now provides a link to the documentation when an error occurs (H2 databases only so far).
@changelog_1348_li
The acting as PostgreSQL server, when a base directory was set, and the H2 Console was started as well, the base directory was applied twice.
@changelog_1349_li
Calling EXTRACT(HOUR FROM ...) or EXTRACT(HH FROM ...) returned the wrong values (0 to 11 instead of 0 to 23). All other tested databases return values from 0 to 23. Please check if your application relies on the old behavior before upgrading.
@changelog_1350_li
For compatibility with other databases the column default (COLUMN_DEF) for columns without default is now null (it was an empty string).
@changelog_1351_li
Statements that contain very large subqueries (where the subquery result does not fit in memory) are now faster.
@changelog_1352_li
Variables: large objects (CLOB and BLOB) that don't fit in memory did not work correctly when used as variables.
@changelog_1353_li
Fulltext search is now supported in named in-memory databases.
@changelog_1354_li
H2 Console: multiple consecutive spaces in the setting name did not work. Fixed.
@changelog_1355_h2
Version 1.0.65 (2008-01-18)
@changelog_1356_li
The build (ant) now automatically switches the source code to the correct version (JDK 1.4/1.5 or 1.6).
@changelog_1357_li
A recovery bug has been fixed. With older versions, it was necessary to add ;RECOVER=1 to the database URL in cases where it should not have been required.
@changelog_1358_li
The performance for DROP and DROP ALL OBJECTS has been improved.
@changelog_1359_li
The ChangePassword API has been improved.
@changelog_1360_li
User defined variables are now supported. Examples: SET @VAR=10;CALL @VAR. This can be used for running totals as in: select x, set(@t, ifnull(@t, 0) + x) from system_range(1, 10)
@changelog_1361_li
The Ukrainian translation has been improved.
@changelog_1362_li
CALL statements can now be used in batch updates and called using Statement.executeUpdate.
@changelog_1363_li
New read-only setting CREATE_BUILD (the build number of the database engine that created the database).
@changelog_1364_li
The optimizer did not use multi column indexes for range queries in some cases. Fixed.
@changelog_1365_li
The H2 Console now calls DataSource.getConnection() instead of DataSource.getConnection(user, password) when user name and password are not specified.
The exception 'Value too long for column' now includes the data.
@changelog_1366_li
The bind IP address can now be set when using multi-homed host (if multiple network adapters are available) using the system property h2.bindAddress.
@changelog_1346_li
The table name was missing in the documentation of CREATE INDEX.
@changelog_1367_li
Batch update: Calling BatchUpdateException.printStackTrace() could result in out of memory. Fixed.
@changelog_1347_li
Better support for IKVM (www.ikvm.net): the H2 Console now opens a browser window.
@changelog_1368_li
Indexes of unique or foreign constraints where not dropped when the constraint was dropped after altering the table (for example dropping a column). Fixed.
@changelog_1348_li
The cache size was not correctly calculated for tables with large objects (specially if compression is used). This could lead to out-of-memory exceptions.
@changelog_1369_li
The performance for large result sets in the server mode has been improved.
@changelog_1349_li
The exception "Hexadecimal string contains non-hex character" was not always thrown when it should have been. Fixed.
@changelog_1370_li
The setting h2.serverSmallResultSetSize has been renamed to h2.serverResultSetFetchSize.
@changelog_1350_li
The H2 Console now provides a link to the documentation when an error occurs (H2 databases only so far).
@changelog_1371_li
The SCRIPT command now uses multi-row insert statements to save space except if the option SIMPLE is used.
@changelog_1351_li
The acting as PostgreSQL server, when a base directory was set, and the H2 Console was started as well, the base directory was applied twice.
@changelog_1372_li
The SCRIPT command did not split up CLOB data correctly. Fixed.
@changelog_1352_li
Calling EXTRACT(HOUR FROM ...) or EXTRACT(HH FROM ...) returned the wrong values (0 to 11 instead of 0 to 23). All other tested databases return values from 0 to 23. Please check if your application relies on the old behavior before upgrading.
@changelog_1373_li
Optimization for single column distinct queries with an index: select distinct name from test. Can be disabled by setting the system property h2.optimizeDistinct to false.
@changelog_1353_li
For compatibility with other databases the column default (COLUMN_DEF) for columns without default is now null (it was an empty string).
@changelog_1374_li
DROP ALL OBJECTS did not drop user defined aggregate functions and domains.
@changelog_1354_li
Statements that contain very large subqueries (where the subquery result does not fit in memory) are now faster.
@changelog_1375_li
PostgreSQL compatibility: COUNT(T.*) is now supported.
@changelog_1355_li
Variables: large objects (CLOB and BLOB) that don't fit in memory did not work correctly when used as variables.
@changelog_1376_li
LIKE comparisons are now faster.
@changelog_1356_li
Fulltext search is now supported in named in-memory databases.
@changelog_1377_li
Encrypted databases are now faster.
@changelog_1357_li
H2 Console: multiple consecutive spaces in the setting name did not work. Fixed.
@download_1000_h1
Downloads
@download_1001_h3
Version 1.1.106 (2009-01-04, Beta)
Version 1.1.107 (2009-01-24, Beta)
@download_1002_a
Windows Installer
......@@ -2353,142 +2293,145 @@ Some problems have been found with right outer join. Internally, it is converted
@faq_1015_li
When using Install4j before 4.1.4 on Linux and enabling 'pack200', the h2*.jar becomes corrupted by the install process, causing application failure. A workaround is to add an empty file h2*.jar.nopack next to the h2*.jar file. This problem is solved in Install4j 4.1.4.
@faq_1016_h3
@faq_1016_li
Tomcat sets all static fields (final or non-final) to null when unloading a web application. This can cause a NullPointerException in H2. In Tomcat >= 6.0 this behavior can be disabled by setting the system property org.apache.catalina.loader.WebappClassLoader.ENABLE_CLEAR_REFERENCES to false.
@faq_1017_h3
Is this Database Engine Open Source?
@faq_1017_p
@faq_1018_p
Yes. It is free to use and distribute, and the source code is included. See also under license.
@faq_1018_h3
@faq_1019_h3
My Query is Slow
@faq_1019_p
@faq_1020_p
Slow SELECT (or DELETE, UPDATE, MERGE) statement can have multiple reasons. Follow this checklist:
@faq_1020_li
Run ANALYSE (see documentation for details).
@faq_1021_li
Run the query with EXPLAIN and check if indexes are used (see documentation for details).
Run ANALYZE (see documentation for details).
@faq_1022_li
If required, create additional indexes and try again using ANALYZE and EXPLAIN.
Run the query with EXPLAIN and check if indexes are used (see documentation for details).
@faq_1023_li
If required, create additional indexes and try again using ANALYZE and EXPLAIN.
@faq_1024_li
If it doesn't help please report the problem.
@faq_1024_h3
@faq_1025_h3
How to Create a New Database?
@faq_1025_p
@faq_1026_p
By default, a new database is automatically created if it does not yet exist.
@faq_1026_h3
@faq_1027_h3
How to Connect to a Database?
@faq_1027_p
@faq_1028_p
The database driver is <code>org.h2.Driver</code> , and the database URL starts with <code>jdbc:h2:</code> . To connect to a database using JDBC, use the following code:
@faq_1028_h3
@faq_1029_h3
Where are the Database Files Stored?
@faq_1029_p
@faq_1030_p
When using database URLs like jdbc:h2:~/test, the database is stored in the user directory. For Windows, this is usually C:\Documents and Settings\&lt;userName&gt;. If the base directory is not set (as in jdbc:h2:test), the database files are stored in the directory where the application is started (the current working directory). When using the H2 Console application from the start menu, this is [Installation Directory]/bin. The base directory can be set in the database URL. A fixed or relative path can be used. When using the URL jdbc:h2:file:data/sample, the database is stored in the directory data (relative to the current working directory). The directory is created automatically if it does not yet exist. It is also possible to use the fully qualified directory (and for Windows, drive) name. Example: jdbc:h2:file:C:/data/test
@faq_1030_h3
@faq_1031_h3
What is the Size Limit (Maximum Size) of a Database?
@faq_1031_p
@faq_1032_p
The theoretical limit is currently 256 GB for the data. This number is excluding BLOB and CLOB data: Every CLOB or BLOB can be up to 256 GB as well. The size limit of the index data is 256 GB as well.
@faq_1032_p
@faq_1033_p
The maximum number of rows per table is 2'147'483'648.
@faq_1033_p
@faq_1034_p
The maximum file size for FAT or FAT32 file systems is 4 GB. So if you use FAT or FAT32, the limit is 4 GB for the data.
@faq_1034_p
@faq_1035_p
The larger the database, the more main memory is required. Currently the minimum main memory required for a 12 GB database is around 240 MB.
@faq_1035_h3
@faq_1036_h3
Is it Reliable?
@faq_1036_p
@faq_1037_p
That is not easy to say. It is still a quite new product. A lot of tests have been written, and the code coverage of these tests is very high. Randomized stress tests are run regularly. But as this is a relatively new product, there are probably some problems that have not yet been found (as with most software). Some features are known to be dangerous by design, and some problems are hard to solve. Those are:
@faq_1037_li
@faq_1038_li
Using SET LOG 0 to disable the transaction log file.
@faq_1038_li
@faq_1039_li
Using the transaction isolation level READ_UNCOMMITTED (LOCK_MODE 0) while at the same time using multiple connections may result in inconsistent transactions.
@faq_1039_li
@faq_1040_li
Using FILE_LOCK=NO in the database URL.
@faq_1040_p
@faq_1041_p
In addition to that, running out of memory should be avoided. In some versions, OutOfMemory errors while using the database could corrupt a databases. Not all such problems may be fixed.
@faq_1041_p
@faq_1042_p
Areas that are not fully tested:
@faq_1042_li
@faq_1043_li
Platforms other than Windows XP or Linux, or JVMs other than Sun 1.4 - 1.6
@faq_1043_li
@faq_1044_li
The features AUTO_SERVER and AUTO_RECONNECT
@faq_1044_li
@faq_1045_li
The MVCC (multi version concurrency) mode
@faq_1045_li
@faq_1046_li
Cluster mode, 2-phase commit, savepoints
@faq_1046_li
@faq_1047_li
24/7 operation
@faq_1047_li
@faq_1048_li
Some operations on databases larger than 500 MB may be slower than expected
@faq_1048_li
@faq_1049_li
Multi-threading and using multiple connections
@faq_1049_li
@faq_1050_li
The optimizer may not always select the best plan
@faq_1050_p
@faq_1051_p
Areas considered Experimental:
@faq_1051_li
@faq_1052_li
The PostgreSQL server
@faq_1052_li
@faq_1053_li
Compatibility modes for other databases (only some features are implemented)
@faq_1053_li
@faq_1054_li
The ARRAY data type and related functionality
@faq_1054_h3
@faq_1055_h3
Why is Opening my Database Slow?
@faq_1055_p
@faq_1056_p
If it takes a long time to open a database, in most cases it was not closed the last time. This is specially a problem for larger databases. To close a database, close all connections to it before the application ends, or execute the command SHUTDOWN. The database is also closed when the virtual machine exits normally by using a shutdown hook. However killing a Java process or calling Runtime.halt will prevent this.
@faq_1056_p
@faq_1057_p
To find out what the problem is, open the database in embedded mode using the H2 Console. This will print progress information. If you have many 'Creating index' lines it is an indication that the database was not closed the last time.
@faq_1057_p
@faq_1058_p
Other possible reasons are: the database is very big (many GB), or contains linked tables that are slow to open.
@faq_1058_h3
@faq_1059_h3
Is the GCJ Version Stable? Faster?
@faq_1059_p
@faq_1060_p
The GCJ version is not as stable as the Java version. When running the regression test with the GCJ version, sometimes the application just stops at what seems to be a random point without error message. Currently, the GCJ version is also slower than when using the Sun VM. However, the startup of the GCJ version is faster than when using a VM.
@faq_1060_h3
@faq_1061_h3
How to Translate this Project?
@faq_1061_p
@faq_1062_p
For more information, see <a href="build.html#translating">Build/Translating</a> .
@features_1000_h1
......@@ -4438,52 +4381,55 @@ Supporters
@history_1024_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_1025_li
Donald Bleyl, USA
@history_1025_a
SkyCash, Poland
@history_1026_li
lumber-mill.co.jp, Japan
Donald Bleyl, USA
@history_1027_li
Frank Berger, Germany
lumber-mill.co.jp, Japan
@history_1028_li
Ashwin Jayaprakash, USA
Frank Berger, Germany
@history_1029_li
Florent Ramiere, France
Ashwin Jayaprakash, USA
@history_1030_li
Jun Iyama, Japan
Florent Ramiere, France
@history_1031_li
Antonio Casqueiro, Portugal
Jun Iyama, Japan
@history_1032_li
Oliver Computing LLC, USA
Antonio Casqueiro, Portugal
@history_1033_li
Harpal Grover Consulting Inc., USA
Oliver Computing LLC, USA
@history_1034_li
Elisabetta Berlini, Italy
Harpal Grover Consulting Inc., USA
@history_1035_li
William Gilbert, USA
Elisabetta Berlini, Italy
@history_1036_li
William Gilbert, USA
@history_1037_li
Antonio Dieguez, Chile
@history_1037_a
@history_1038_a
Ontology Works, USA
@history_1038_li
@history_1039_li
Pete Haidinyak, USA
@history_1039_li
@history_1040_li
William Osmond, USA
@history_1040_li
@history_1041_li
Joachim Ansorg, Germany
@installation_1000_h1
......@@ -4508,7 +4454,7 @@ Requirements
To run the database, the following minimum software stack is known to work:
@installation_1007_li
Windows XP, MacOS, or Linux
Windows XP, Mac OS X, or Linux
@installation_1008_li
Recommended Windows file system: NTFS (FAT32 supports files up to 4 GB)
......@@ -4523,7 +4469,7 @@ Mozilla Firefox 1.5 or newer
Supported Platforms
@installation_1012_p
As this database is written in Java, it can be run on many different platforms. It is tested with Java 1.4, 1.5, and 1.6 but can also be compiled to native code using GCJ. The source code does not use features of Java 1.5. Currently, the database is developed and tested on Windows XP using the Sun JDK 1.4, but it also works in many other operating systems and using other Java runtime environments.
As this database is written in Java, it can run on many different platforms. It is tested with Java 1.4, 1.5, and 1.6 but can also be compiled to native code using GCJ. The source code does not use features of Java 1.5. Currently, the database is developed and tested on Windows XP and Mac OS X using the Sun JDK 1.5, but it also works in many other operating systems and using other Java runtime environments.
@installation_1013_h2
Installing the Software
......@@ -4709,7 +4655,7 @@ License
Summary and License FAQ
@license_1002_p
H2 is dual licensed and available under a modified version of the MPL 1.1 ( <a href="http://www.mozilla.org/MPL">Mozilla Public License</a> ) or EPL 1.0 ( <a href="http://opensource.org/licenses/eclipse-1.0.php">Eclipse Public License</a> ). The changes are
H2 is dual licensed and available under a modified version of the MPL 1.1 ( <a href="http://www.mozilla.org/MPL">Mozilla Public License</a> ) or under the (unmodified) EPL 1.0 ( <a href="http://opensource.org/licenses/eclipse-1.0.php">Eclipse Public License</a> ). The changes to the MPL are
@license_1003_em
underlined</em> . There is a License FAQ for both the MPL and the EPL, most of that is applicable to the H2 License as well.
......@@ -5573,213 +5519,225 @@ NCGC CurveFit
From: NIH Chemical Genomics Center, National Institutes of Health, USA. An open source application in the life sciences research field. This application handles chemical structures and biological responses of thousands of compounds with the potential to handle million+ compounds. It utilizes an embedded H2 database to enable flexible query/retrieval of all data including advanced chemical substructure and similarity searching. The application highlights an automated curve fitting and classification algorithm that outperforms commercial packages in the field. Commercial alternatives are typically small desktop software that handle a few dose response curves at a time. A couple of commercial packages that do handle several thousand curves are very expensive tools (&gt;60k USD) that require manual curation of analysis by the user; require a license to Oracle; lack advanced query/retrieval; and the ability to handle chemical structures.
@links_1133_a
nWire
Nuxeo
@links_1134_p
Eclipse plug-in which expedites Java development. It's main purpose is to help developers find code quicker and easily understand how it relates to the rest of the application, thus, understand the application structure.
Standards-based, open source platform for building ECM applications.
@links_1135_a
Ontology Works
nWire
@links_1136_p
This company provides semantic technologies including deductive information repositories (the Ontology Works Knowledge Servers), semantic information fusion and semantic federation of legacy databases, ontology-based domain modeling, and management of the distributed enterprise.
Eclipse plug-in which expedites Java development. It's main purpose is to help developers find code quicker and easily understand how it relates to the rest of the application, thus, understand the application structure.
@links_1137_a
Ontoprise OntoBroker
Ontology Works
@links_1138_p
SemanticWeb-Middleware. It supports all W3C Semantic Web recommendations: OWL, RDF, RDFS, SPARQL, and F-Logic.
This company provides semantic technologies including deductive information repositories (the Ontology Works Knowledge Servers), semantic information fusion and semantic federation of legacy databases, ontology-based domain modeling, and management of the distributed enterprise.
@links_1139_a
Open Anzo
Ontoprise OntoBroker
@links_1140_p
Semantic Application Server.
SemanticWeb-Middleware. It supports all W3C Semantic Web recommendations: OWL, RDF, RDFS, SPARQL, and F-Logic.
@links_1141_a
OpenGroove
Open Anzo
@links_1142_p
OpenGroove is a groupware program that allows users to synchronize data.
Semantic Application Server.
@links_1143_a
Orion
OpenGroove
@links_1144_p
J2EE Application Server.
OpenGroove is a groupware program that allows users to synchronize data.
@links_1145_a
P5H2
Orion
@links_1146_p
A library for the <a href="http://www.processing.org">Processing</a> programming language and environment.
J2EE Application Server.
@links_1147_a
Phase-6
P5H2
@links_1148_p
A computer based learning software.
A library for the <a href="http://www.processing.org">Processing</a> programming language and environment.
@links_1149_a
Pickle
Phase-6
@links_1150_p
Pickle is a Java library containing classes for persistence, concurrency, and logging.
A computer based learning software.
@links_1151_a
Piman
Pickle
@links_1152_p
Water treatment projects data management.
Pickle is a Java library containing classes for persistence, concurrency, and logging.
@links_1153_a
PolePosition
Piman
@links_1154_p
Open source database benchmark.
Water treatment projects data management.
@links_1155_a
Poormans
PolePosition
@links_1156_p
Very basic CMS running as a SWT application and generating static html pages.
Open source database benchmark.
@links_1157_a
Railo
Poormans
@links_1158_p
Railo is an alternative engine for the Cold Fusion Markup Language, that compiles code programmed in CFML into Java bytecode and executes it on a servlet engine.
Very basic CMS running as a SWT application and generating static html pages.
@links_1159_a
Razuna
Railo
@links_1160_p
Open source Digital Asset Management System with integrated Web Content Management.
Railo is an alternative engine for the Cold Fusion Markup Language, that compiles code programmed in CFML into Java bytecode and executes it on a servlet engine.
@links_1161_a
RIFE
Razuna
@links_1162_p
A full-stack web application framework with tools and APIs to implement most common web features.
Open source Digital Asset Management System with integrated Web Content Management.
@links_1163_a
Rutema
RIFE
@links_1164_p
Rutema is a test execution and management tool for heterogeneous development environments written in Ruby.
A full-stack web application framework with tools and APIs to implement most common web features.
@links_1165_a
Sava
Rutema
@links_1166_p
Open-source web-based content management system.
Rutema is a test execution and management tool for heterogeneous development environments written in Ruby.
@links_1167_a
Scriptella
Sava
@links_1168_p
ETL (Extract-Transform-Load) and script execution tool.
Open-source web-based content management system.
@links_1169_a
Sesar
Scriptella
@links_1170_p
Dependency Injection Container with Aspect Oriented Programming.
ETL (Extract-Transform-Load) and script execution tool.
@links_1171_a
SemmleCode
Sesar
@links_1172_p
Eclipse plugin to help you improve software quality.
Dependency Injection Container with Aspect Oriented Programming.
@links_1173_a
SeQuaLite
SemmleCode
@links_1174_p
A free, light-weight, java data access framework.
Eclipse plugin to help you improve software quality.
@links_1175_a
ShapeLogic
SeQuaLite
@links_1176_p
Toolkit for declarative programming, image processing and computer vision.
A free, light-weight, java data access framework.
@links_1177_a
Shellbook
ShapeLogic
@links_1178_p
Desktop publishing application.
Toolkit for declarative programming, image processing and computer vision.
@links_1179_a
Signsoft intelliBO
Shellbook
@links_1180_p
Persistence middleware supporting the JDO specification.
Desktop publishing application.
@links_1181_a
SimpleORM
Signsoft intelliBO
@links_1182_p
Simple Java Object Relational Mapping.
Persistence middleware supporting the JDO specification.
@links_1183_a
SmartFoxServer
SimpleORM
@links_1184_p
Platform for developing multiuser applications and games with Macromedia Flash.
Simple Java Object Relational Mapping.
@links_1185_a
Social Bookmarks Friend Finder
SymmetricDS
@links_1186_p
A GUI application that allows you to find users with similar bookmarks to the user specified (for delicious.com).
A web-enabled, database independent, data synchronization/replication software.
@links_1187_a
SQLOrm
SmartFoxServer
@links_1188_p
Java Object Relation Mapping.
Platform for developing multiuser applications and games with Macromedia Flash.
@links_1189_a
StorYBook
Social Bookmarks Friend Finder
@links_1190_p
A summary-based tool for novelist and script writers. It helps to keep the overview over the various traces a story has.
A GUI application that allows you to find users with similar bookmarks to the user specified (for delicious.com).
@links_1191_a
StreamCruncher
SQLOrm
@links_1192_p
Event (stream) processing kernel.
Java Object Relation Mapping.
@links_1193_a
Tune Backup
StorYBook
@links_1194_p
Easy-to-use backup solution for your iTunes library.
A summary-based tool for novelist and script writers. It helps to keep the overview over the various traces a story has.
@links_1195_a
weblica
StreamCruncher
@links_1196_p
Desktop CMS.
Event (stream) processing kernel.
@links_1197_a
Web of Web
Tune Backup
@links_1198_p
Collaborative and realtime interactive media platform for the web.
Easy-to-use backup solution for your iTunes library.
@links_1199_a
Werkzeugkasten
weblica
@links_1200_p
Minimum Java Toolset.
Desktop CMS.
@links_1201_a
Volunteer database
Web of Web
@links_1202_p
Collaborative and realtime interactive media platform for the web.
@links_1203_a
Werkzeugkasten
@links_1204_p
Minimum Java Toolset.
@links_1205_a
Volunteer database
@links_1206_p
A database front end to register volunteers, partnership and donation for a Non Profit organization.
@mainWeb_1000_h1
......@@ -5804,7 +5762,7 @@ Small footprint: around 1 MB jar file size
Download Beta
@mainWeb_1007_td
Version 1.1.106 (2009-01-04):
Version 1.1.107 (2009-01-24):
@mainWeb_1008_a
Windows Installer (3.1 MB)
......@@ -7156,76 +7114,79 @@ Use the JDBC driver class: <code>org.h2.Driver</code>
@quickstart_1007_li
The database URL <code>jdbc:h2:~/test</code> opens the database 'test' in your user home directory
@quickstart_1008_h2
@quickstart_1008_li
A new database is automatically created
@quickstart_1009_h2
The H2 Console Application
@quickstart_1009_p
@quickstart_1010_p
The Console lets you access a SQL database using a browser interface.
@quickstart_1010_p
@quickstart_1011_p
If you don't have Windows XP, or if something does not work as expected, please see the detailed description in the <a href="tutorial.html">Tutorial</a> .
@quickstart_1011_h3
@quickstart_1012_h3
Step-by-Step
@quickstart_1012_h4
@quickstart_1013_h4
Installation
@quickstart_1013_p
@quickstart_1014_p
Install the software using the Windows Installer (if you did not yet do that).
@quickstart_1014_h4
@quickstart_1015_h4
Start the Console
@quickstart_1015_p
Click <span class="button">Start</span> , <span class="button">All Programs</span> , <span class="button">H2</span> , and <span class="button">H2 Console (Command Line)</span> :
@quickstart_1016_p
A new console window appears:
Click [Start], [All Programs], [H2], and [H2 Console (Command Line)]:
@quickstart_1017_p
A new console window appears:
@quickstart_1018_p
Also, a new browser page should open with the URL <a href="http://localhost:8082">http://localhost:8082</a> . You may get a security warning from the firewall. If you don't want other computers in the network to access the database on your machine, you can let the firewall block these connections. Only local connections are required at this time.
@quickstart_1018_h4
@quickstart_1019_h4
Login
@quickstart_1019_p
Select <span class="button">Generic H2</span> and click <span class="button">Connect</span> :
@quickstart_1020_p
Select [Generic H2] and click [Connect]:
@quickstart_1021_p
You are now logged in.
@quickstart_1021_h4
@quickstart_1022_h4
Sample
@quickstart_1022_p
Click on the <span class="button">Sample SQL Script</span> :
@quickstart_1023_p
Click on the [Sample SQL Script]:
@quickstart_1024_p
The SQL commands appear in the command area.
@quickstart_1024_h4
@quickstart_1025_h4
Execute
@quickstart_1025_p
Click <span class="button">Run</span> :
@quickstart_1026_p
Click [Run]
@quickstart_1027_p
On the left side, a new entry TEST is added below the database icon. The operations and results of the statements are shown below the script.
@quickstart_1027_h4
@quickstart_1028_h4
Disconnect
@quickstart_1028_p
Click on <span class="button">Disconnect</span> :
@quickstart_1029_p
Click on [Disconnect]:
@quickstart_1030_p
to close the database.
@quickstart_1030_h4
@quickstart_1031_h4
End
@quickstart_1031_p
@quickstart_1032_p
Close the console window. For more information, see the <a href="tutorial.html">Tutorial</a> .
@roadmap_1000_h1
......@@ -7370,7 +7331,7 @@ Test with dbmonster (http://dbmonster.kernelpanic.pl/)
Test with dbcopy (http://dbcopyplugin.sourceforge.net)
@roadmap_1047_li
Test with Spatial DB in a box / JTS
Test with Spatial DB in a box / JTS: http://www.opengeospatial.org/standards/sfs - OpenGIS Implementation Specification
@roadmap_1048_li
Write more tests and documentation for MVCC (Multi Version Concurrency Control)
......@@ -7919,7 +7880,7 @@ Use JDK 1.4 file locking to create the lock file (but not yet by default); writi
Support compatibility for jdbc:hsqldb:res:
@roadmap_1230_li
In the MySQL and PostgreSQL, use lower case identifiers by default (DatabaseMetaData.storesLowerCaseIdentifiers = true)
In the MySQL and PostgreSQL mode, use lower case identifiers by default (DatabaseMetaData.storesLowerCaseIdentifiers = true)
@roadmap_1231_li
Provide a simple, lightweight O/R mapping tool
......@@ -8323,13 +8284,22 @@ Support a special trigger on all tables.
@roadmap_1364_li
Delete temporary files or objects using finalize.
@roadmap_1365_h2
Not Planned
@roadmap_1365_li
MySQL, MS SQL Server compatibility: support case sensitive (mixed case) identifiers without quotes.
@roadmap_1366_li
HSQLDB (did) support this: select id i from test where i>0 (other databases don't). Supporting it may break compatibility.
Oracle compatibility: support calling 0-parameters functions without parenthesis. Make constants obsolete.
@roadmap_1367_li
MySQL, HSQLDB compatibility: support where 'a'=1 (not supported by Derby, PostgreSQL)
@roadmap_1368_h2
Not Planned
@roadmap_1369_li
HSQLDB (did) support this: select id i from test where i>0 (other databases don't). Supporting it may break compatibility.
@roadmap_1370_li
String.intern (so that Strings can be compared with ==) will not be used because some VMs have problems when used extensively.
@search_1000_b
......@@ -8504,7 +8474,7 @@ Using Spring
Starting and Using the H2 Console
@tutorial_1020_p
This application lets you access a SQL database using a browser interface. This can be a H2 database, or another database that supports the JDBC API.
The H2 Console application lets you access a SQL database using a browser interface. This can be a H2 database, or another database that supports the JDBC API.
@tutorial_1021_p
This is a client / server application, so both a server and a client (a browser) are required to run it.
......
......@@ -1144,1138 +1144,1078 @@ Centralリポジトリの利用
#Next Version (unreleased)
@changelog_1002_li
#Some DatabaseMetaData operations did not work for non-admin users for versions 1.1.x.
#H2 Console: The autocomplete feature has been improved a bit. It can now better parse conditions.
@changelog_1003_li
#When restarting a web application in Tomcat, an exception is thrown sometimes. In most cases this is a NullPointerException. The root cause of the problem is now documented in the FAQ: Tomcat sets all static fields (final or non-final) to null when unloading a web application. A workaround is to set the system property org.apache.catalina.loader.WebappClassLoader.ENABLE_CLEAR_REFERENCES to false.
@changelog_1004_h2
#Version 1.1.107 (2009-01-24)
@changelog_1005_li
#Some DatabaseMetaData operations did not work for non-admin users for versions 1.1.x.
@changelog_1006_li
#The MySQL compatibility extension fromUnixTime now used the English locale.
@changelog_1004_li
@changelog_1007_li
#When using LOG=2 and repeatedly updating the last row rows of a table, the index file grew quickly.
@changelog_1005_li
@changelog_1008_li
#In versions 1.1.105 and 1.1.106, encrypted script files of earlier versions could not be processed. This is now again possible. The problem was that such script files were stored in a special format (STORAGE=TEXT) but support for this format was removed in version 1.1.105.
@changelog_1006_li
@changelog_1009_li
#Enabling the trace mechanism by creating a specially named file is no longer supported.
@changelog_1007_h2
@changelog_1010_h2
#Version 1.1.106 (2009-01-04)
@changelog_1008_li
@changelog_1011_li
#Statement.setQueryTimeout did not work correctly for some statements.
@changelog_1009_li
@changelog_1012_li
#CREATE DOMAIN: Built-in data types can now only be changed if no tables exist.
@changelog_1010_li
@changelog_1013_li
#Linked tables: a workaround for Oracle DATE columns has been implemented.
@changelog_1011_li
@changelog_1014_li
#DatabaseMetaData.getPrimaryKeys: The column PK_NAME now contains the constraint name instead of the index name (compatibility for PostgreSQL and Derby).
@changelog_1012_li
@changelog_1015_li
#Using IN(..) inside a IN(SELECT..) did not always work.
@changelog_1013_li
@changelog_1016_li
#Views with IN(..) that used a view itself did not work.
@changelog_1014_li
@changelog_1017_li
#Union queries with LIMIT or ORDER BY that are used in a view or subquery did not work.
@changelog_1015_li
@changelog_1018_li
#The license change a bit: so far the license was modified to say 'Swiss law'. This is now changed back to the original 'US law'. This was requested by a user, and I don't see a problem.
@changelog_1016_li
@changelog_1019_li
#Constraints for local temporary tables now session scoped. So far they were global. Thanks a lot to Eric Faulhaber for finding and fixing this problem!
@changelog_1017_li
@changelog_1020_li
#When using the auto-server mode, and if the lock file was modified in the future, the wrong exception was thrown ('Connection is broken' instead of 'Error opening database: Lock file modified in the future').
@changelog_1018_h2
@changelog_1021_h2
#Version 1.1.105 (2008-12-19)
@changelog_1019_li
@changelog_1022_li
#The setting STORAGE=TEXT is no longer supported.
@changelog_1020_li
@changelog_1023_li
#Deleting a database using the tool DeleteDbFiles deleted LOB files of other databases in the same directory.
@changelog_1021_li
@changelog_1024_li
#When used in a subquery, LIKE and IN(..) did not work correctly sometimes.
@changelog_1022_li
@changelog_1025_li
#The fulltext search documentation has been improved.
@changelog_1023_li
@changelog_1026_li
#ARRAY_GET returned the wrong data type (ARRAY). Now it returns VARCHAR.
@changelog_1024_li
@changelog_1027_li
#Natural join: the joined columns are not repeated any more when using SELECT *.
@changelog_1025_li
@changelog_1028_li
#User defined aggregate functions: the method getType expected internal data types instead of SQL types.
@changelog_1026_li
@changelog_1029_li
#User defined aggregate functions did not work if there was no group by expression.
@changelog_1027_li
@changelog_1030_li
#MySQL compatibility: support for := assignment as in @sum:=@sum+x
@changelog_1028_li
@changelog_1031_li
#INSERT INTO TEST(SELECT * FROM TEST) is now supported.
@changelog_1029_li
@changelog_1032_li
#Each session threw an invisible exception when garbage collected.
@changelog_1030_li
@changelog_1033_li
#Foreign key constraints that refer to a quoted column did not work.
@changelog_1031_li
@changelog_1034_li
#New meta data column INFORMATION_SCHEMA.TABLES.LAST_MODIFICATION to get the table modification counter.
@changelog_1032_li
@changelog_1035_li
#Shell: line comments didn't work correctly.
@changelog_1033_li
@changelog_1036_li
#H2 Console: Columns are now listed for up to 500 tables instead of 100.
@changelog_1034_li
@changelog_1037_li
#H2 Console: Cmd+Enter executes the current statement, Alt+Space for autocomplete.
@changelog_1035_li
@changelog_1038_li
#JaQu: the maximum length of a column can now be defined using maxLength. For an example, see Product.java (maxLength(category, 255)).
@changelog_1036_li
@changelog_1039_li
#R&\#305;dvan A&\#287;ar has completed the Turkish translation of the H2 Console. Thanks a lot!
@changelog_1037_h2
@changelog_1040_h2
#Version 1.1.104 (2008-11-28)
@changelog_1038_li
@changelog_1041_li
#If a query that was used like a table contained group by and was ordered by an expression that is not in the column list, an exception was thrown.
@changelog_1039_li
@changelog_1042_li
#JaQu: tables are now auto-created when running a query.
@changelog_1040_li
@changelog_1043_li
#The optimizer had problems with function tables (for example CSVREAD and FTL_SEARCH). A new system property h2.estimatedFunctionTableRows (default 1000) defines how many rows can be expected in the table.
@changelog_1041_li
@changelog_1044_li
#The function SUM could overflow when using large values. It returns now a data type that is safe.
@changelog_1042_li
@changelog_1045_li
#The function AVG could overflow when using large values. Fixed.
@changelog_1043_li
@changelog_1046_li
#The emergency reserve file has been removed. It didn't provide an appropriate solution for the problem. It is still possible for an application to detect and deal with the low disk space problem (deleting temporary files for example) using DatabaseEventListener.diskSpaceIsLow, but this method is now always called with stillAvailable=0.
@changelog_1044_li
@changelog_1047_li
#Build: JAVA_HOME is now automatically detected on Mac OS X.
@changelog_1045_li
@changelog_1048_li
#Testing for local connections was very slow on some systems.
@changelog_1046_li
@changelog_1049_li
#The cache memory usage calculation is more conservative.
@changelog_1047_li
@changelog_1050_li
#Allocating space got slower and slower the larger the database.
@changelog_1048_li
@changelog_1051_li
#ALTER TABLE ALTER COLUMN could throw the wrong exception in the last version (Table not found).
@changelog_1049_li
@changelog_1052_li
#Updatable result sets: the key columns can now be updated.
@changelog_1050_li
@changelog_1053_li
#The H2DatabaseProvider for ActiveObjects is now included in the tools section.
@changelog_1051_li
@changelog_1054_li
#The H2Platform for Oracle Toplink Essential has been improved a bit.
@changelog_1052_li
@changelog_1055_li
#The Windows service to start H2 didn't work in version 1.1.
@changelog_1053_li
@changelog_1056_li
#File systems with a maximum file size (for example FAT) are now supported using the file prefix 'split:'. In this case the files are split in parts of 1 GB. Example URL: jdbc:h2:split:~/db/test. If you want to split into parts of 1 MB, use jdbc:h2:split:20:~/db/test (the part size is 1 &lt;&lt; x, the default is 30 meaning 1 GB).
@changelog_1054_li
@changelog_1057_li
#The database now tries to detect if the classloader or virtual machine has almost shut down by checking if static final variables are set to null. This should help reduce exceptions when stopping the web application.
@changelog_1055_li
@changelog_1058_li
#Compatibility for MS SQL Server DATEDIFF(YYYY, .., ..)
@changelog_1056_li
@changelog_1059_li
#ResultSet.getObject for CLOB or BLOB will return a java.sql.Clob / java.sql.Blob object instead of a java.io.Reader / java.io.InputStream as in version 1.0. This behavior can be changed using the system property h2.returnLobObjects (true by default for version 1.1).
@changelog_1057_li
@changelog_1060_li
#The interface CloseListener has a new method 'remove' that is called when the trigger is dropped.
@changelog_1058_li
@changelog_1061_li
#Fulltext search: there was a memory leak when creating and dropping fulltext indexes in a loop.
@changelog_1059_h2
@changelog_1062_h2
#Version 1.1.103 (2008-11-07)
@changelog_1060_li
@changelog_1063_li
#Could not order by a formula when the formula was in the group by list but not in the select list.
@changelog_1061_li
@changelog_1064_li
#Date values that match the daylight saving time end were not allowed in times zones were the daylight saving time ends at midnight, for years larger than 2037. Example: timezone Brasilia, date 2042-10-12. This is a problem of Java, however a workaround is implemented in H2 that solves most problems (except the problems of java.util.Date itself).
@changelog_1062_li
@changelog_1065_li
#ALTER TABLE used a lot of memory when using multi-version concurrency.
@changelog_1063_li
@changelog_1066_li
#Referential integrity for in-memory databases didn't work in some cases in version 1.1.102.
@changelog_1064_li
@changelog_1067_li
#New column INFORMATION_SCHEMA.COLUMNS.SEQUENCE_NAME to get the name of the sequence for auto-increment columns.
@changelog_1065_li
@changelog_1068_li
#Aliases for built-in data types (such as MEDIUMBLOB which is an alias for BLOB) can now be re-mapped to another data type using CREATE DOMAIN. However main built-in data types (such as INTEGER) can not be re-mapped.
@changelog_1066_li
@changelog_1069_li
#The Japanese translation has been completed by Masahiro Ikemoto. Thanks a lot!
@changelog_1067_li
@changelog_1070_li
#Improved PostgreSQL compatibility for NEXTVAL and CURRVAL.
@changelog_1068_li
@changelog_1071_li
#Less heap memory is needed when multiple databases are open at the same time: The memory reserve (used to rollback after out of memory) is now global and no longer allocated for each database separately.
@changelog_1069_li
@changelog_1072_li
#New system property h2.browser to set the browser to use.
@changelog_1070_li
@changelog_1073_li
#To start the browser, java.awt.Desktop.browse is now used if available.
@changelog_1071_h2
@changelog_1074_h2
#Version 1.1.102 (2008-10-24)
@changelog_1072_li
@changelog_1075_li
#The French translation of the H2 Console has been improved by Olivier Parent. Thanks a lot!
@changelog_1073_li
@changelog_1076_li
#There was a memory leak when creating and dropping tables and indexes in a loop (persistent database only).
@changelog_1074_li
@changelog_1077_li
#SET LOG 2 was not effective if executed after opening the database.
@changelog_1075_li
@changelog_1078_li
#Translating the H2 Console is now simpler.
@changelog_1076_li
@changelog_1079_li
#Common exception (error code 23*) are no longer written to the .trace.db file by default.
@changelog_1077_li
@changelog_1080_li
#In-memory databases don't write LOBs to files any longer.
@changelog_1078_li
@changelog_1081_li
#Self referencing constraints didn't restrict deleting rows that reference itself if there is another row that references it.
@changelog_1079_li
@changelog_1082_li
#ResultSetMetaData.getColumnName now returns the alias name except for columns.
@changelog_1080_li
@changelog_1083_li
#Temporary files are now deleted when the database is closed, even if they were not garbage collected so far.
@changelog_1081_h2
@changelog_1084_h2
#Version 1.1.101 (2008-10-17)
@changelog_1082_li
@changelog_1085_li
#Errors with code 42000 - 42999 are no longer written to the trace file by default.
@changelog_1083_li
@changelog_1086_li
#Queries with more than 10 tables are now faster.
@changelog_1084_li
@changelog_1087_li
#Opening a connection with AUTO_SERVER=TRUE is now fast when the database is already open in another process (less than 0.01 seconds instead of 2 seconds).
@changelog_1085_li
@changelog_1088_li
#IF [NOT] EXISTS is supported for named constraints in ALTER TABLE ... ADD/DROP CONSTRAINT.
@changelog_1086_li
@changelog_1089_li
#The error messages have been translated to Spanish by Dario V. Fassi. Thanks a lot!
@changelog_1087_li
@changelog_1090_li
#Linked tables: the automatic connection sharing didn't work. Actually the system property h2.shareLinkedConnections was working in the opposite direction: it was disabled when set to true. Now it works as expected.
@changelog_1088_li
@changelog_1091_li
#Opening large database is now faster.
@changelog_1089_li
@changelog_1092_li
#New system property h2.socketConnectTimeout, the timeout in milliseconds to connect to a server. The default is 2000 (2 seconds).
@changelog_1090_li
@changelog_1093_li
#The wrong parameters were bound to subqueries with parameters, specially when using IN(SELECT ...) and IN(...).
@changelog_1091_li
@changelog_1094_li
#Unset parameters were not detected when the query was re-compiled.
@changelog_1092_li
@changelog_1095_li
#New functions ISO_YEAR, ISO_WEEK, ISO_DAY_OF_WEEK. Thanks a lot to Robert Rathsack for implementing those!
@changelog_1093_li
@changelog_1096_li
#The date functions DAYOFYEAR, DAYOFMONTH, DAYOFWEEK are now called DAY_OF_YEAR, DAY_OF_MONTH, DAY_OF_WEEK (the old names still work).
@changelog_1094_li
@changelog_1097_li
#An out of memory error while deleting or updating many rows could result in a strange exception.
@changelog_1095_li
@changelog_1098_li
#Linked tables: compatibility with MS SQL Server has been improved.
@changelog_1096_li
@changelog_1099_li
#Renaming tables that have foreign keys with cascade didn't work correctly.
@changelog_1097_li
@changelog_1100_li
#The auto-reconnect feature didn't work when using the auto-server mode. Fixed.
@changelog_1098_li
@changelog_1101_li
#Fulltext search: new method FT_DROP_INDEX.
@changelog_1099_li
@changelog_1102_li
#The optimization to group using an index didn't work in some cases in version 1.1 (see also system property h2.optimizeGroupSorted).
@changelog_1100_li
@changelog_1103_li
#OSGi meta data is included in the manifest file. An OSGi BundleActivator is included: it loads the database driver when starting the bundle, and unloads it when stopping the bundle.
@changelog_1101_li
@changelog_1104_li
#The default value for MAX_MEMORY_UNDO is now 50000.
@changelog_1102_li
@changelog_1105_li
#For alias columns, ResultSetMetaData.getTableName() and getColumnName() now return the real table and column name in the default mode.
@changelog_1103_li
@changelog_1106_li
#In SQL scripts created with SCRIPT TO, schemas are now only created if they don't exist yet.
@changelog_1104_li
@changelog_1107_li
#After re-connecting to a database, the database event listener (if set) is informed about it.
@changelog_1105_li
@changelog_1108_li
#Local temporary tables now support indexes. Thanks a lot to Matt Roy!
@changelog_1106_li
@changelog_1109_li
#RUNSCRIPT no longer uses a temporary file.
@changelog_1107_li
@changelog_1110_li
#New system table INFORMATION_SCHEMA.SESSION_STATE containing the SQL statements that make up the session state. The list currently contains variables (SET @..) and local temporary tables (without data).
@changelog_1108_li
@changelog_1111_li
#After an automatic re-connect, part of the session state stays (the part that is stored in the SESSION_STATE table).
@changelog_1109_li
@changelog_1112_li
#The build didn't work if the directory temp didn't exist before.
@changelog_1110_li
@changelog_1113_li
#New system property h2.maxReconnect (default 3) to limit the number of re-connects for the same SQL statement (this is usually only important for SHUTDOWN).
@changelog_1111_li
@changelog_1114_li
#WHERE .. IN (SELECT ...) could throw a NullPointerException.
@changelog_1112_li
@changelog_1115_li
#Improved Glassfish / Toplink support in H2Platform thanks to Marcio Borges from Brazil. Thanks a lot!
@changelog_1113_h2
@changelog_1116_h2
#Version 1.1.100 (2008-10-04)
@changelog_1114_li
@changelog_1117_li
#In version 1.1, the following system properties are now enabled by default: h2.lobFilesInDirectories, h2.optimizeGroupSorted, h2.optimizeInJoin, h2.shareLinkedConnections
@changelog_1115_li
@changelog_1118_li
#The H2 Console tool now works with the JDBC-ODBC bridge.
@changelog_1116_li
@changelog_1119_li
#The H2 Console tool now supports command line options to start things separately.
@changelog_1117_li
@changelog_1120_li
#Large objects did not work for in-memory databases in server mode in Linux.
@changelog_1118_li
@changelog_1121_li
#Connections from a local address other than 'localhost' were not allowed if remote connections were disabled. This was always a problem, but only got visible in the last release because the server no longer connects to 'localhost' if networked.
@changelog_1119_li
@changelog_1122_li
#The h2console.war can now be built using the Java build.
@changelog_1120_li
@changelog_1123_li
#By default, databases are shared in the same process. For read-only databases this causes unnecessary synchronization, but safes memory. If you want that each connection opens its own database, append ;OPEN_NEW=TRUE to the database URL.
@changelog_1121_li
@changelog_1124_li
#New auto-reconnect feature will cause the JDBC driver to reconnect to the database if the connection is lost. To enable, append ;AUTO_RECONNECT=TRUE to the database URL. This is specially helpful when using AUTO_SERVER. AUTO_SERVER automatically uses auto-reconnect.
@changelog_1122_li
@changelog_1125_li
#CreateCluster: the property 'serverlist' is now called 'serverList'.
@changelog_1123_li
@changelog_1126_li
#The ConvertTraceFile tool could not parse some files because the trace mechanism did not encode prepared statement parameters.
@changelog_1124_li
@changelog_1127_li
#Databases names can now be one character long (the minimum size used to be 2 characters).
@changelog_1125_h2
@changelog_1128_h2
#Version 1.0.79 (2008-09-26)
@changelog_1126_li
@changelog_1129_li
#Linked tables that point to the same database can now share the connection within the same database. Access to the same connection is serialized. To enable this feature, set the system property h2.shareLinkedConnections to true.
@changelog_1127_li
@changelog_1130_li
#Multiple processes can now access the same database without having to explicitly start the server. To do that, append ;AUTO_SERVER=TRUE to the database URL. In this case, the server is started automatically if the connection is in embedded mode, and the server mode is used if a server is running. If the process that opened the first connection is closed, the other client need to reconnect (there is no automatic re-connect so far). Remote connections are allowed, but only to this database.
@changelog_1128_li
@changelog_1131_li
#The server tool now displays the correct IP address if networked.
@changelog_1129_li
@changelog_1132_li
#Can now start a TCP server with port 0 (automatically select a port).
@changelog_1130_li
@changelog_1133_li
#Result sets with just a unique index can now be updated (previously a primary key was required).
@changelog_1131_li
@changelog_1134_li
#LINKED TABLE: the schema name can now be set. When multiple tables exist in different schema, and the schema name is not set, an exception is thrown.
@changelog_1132_li
@changelog_1135_li
#LINKED TABLE: worked around a bug in Oracle with the CHAR data type.
@changelog_1133_li
@changelog_1136_li
#Faster hash code calculation for large binary arrays.
@changelog_1134_li
@changelog_1137_li
#Faster storage re-use algorithm thanks to Greg Dhuse from cleversafe.com.
@changelog_1135_li
@changelog_1138_li
#The database supports the SHOW command for better MySQL and PostgreSQL compatibility.
@changelog_1136_li
@changelog_1139_li
#The H2 Console now abbreviates large texts in results.
@changelog_1137_li
@changelog_1140_li
#Multiple UNION queries could not be used in derived tables.
@changelog_1138_li
@changelog_1141_li
#Linked tables can now be read-only.
@changelog_1139_li
@changelog_1142_li
#Temporary linked tables are now supported.
@changelog_1140_li
@changelog_1143_li
#It was possible to create tables in read-only databases.
@changelog_1141_li
@changelog_1144_li
#SET SCHEMA_SEARCH_PATH is now documented.
@changelog_1142_li
@changelog_1145_li
#SET SCHEMA did not work for views.
@changelog_1143_li
@changelog_1146_li
#Row level locking for MVCC is now enabled. The exception 'Concurrent update in table ...' is still thrown, but only after the lock timeout.
@changelog_1144_li
@changelog_1147_li
#The maximum log file size setting was ignored for large databases.
@changelog_1145_li
@changelog_1148_li
#Multi-Version Concurrency (MVCC) may no longer be used when using the multi-threaded kernel feature (MULTI_THREADED). An exception is thrown when trying to connect with both settings. Additional synchronization is required before those features can be used together.
@changelog_1146_li
@changelog_1149_li
#The data type JAVA_OBJECT could not be used in updatable result sets.
@changelog_1147_li
@changelog_1150_li
#The system property h2.optimizeInJoin did not work correctly.
@changelog_1148_li
@changelog_1151_li
#Conditions such as ID=? AND ID>? were slow.
@changelog_1149_h2
@changelog_1152_h2
#Version 1.0.78 (2008-08-28)
@changelog_1150_li
@changelog_1153_li
#The documentation no longer uses a frameset (except the Javadocs).
@changelog_1151_li
@changelog_1154_li
#When using DB_CLOSE_DELAY, sometimes a NullPointerException is thrown when the database is opened almost at the same time as it is closed automatically. Thanks a lot to Dmitry Pekar for finding this!
@changelog_1152_li
@changelog_1155_li
#Java methods with variable number of parameters can now be used (for Java 1.5 or newer).
@changelog_1153_li
@changelog_1156_li
#The Japanese translation has been improved by Masahiro Ikemoto. Thanks a lot!
@changelog_1154_li
@changelog_1157_li
#The H2 Console replaced an empty user name with a single space.
@changelog_1155_li
@changelog_1158_li
#The build target 'build jarSmall' now includes the embedded database.
@changelog_1156_li
@changelog_1159_li
#JdbcDataSource now keeps the password in a char array where possible.
@changelog_1157_li
@changelog_1160_li
#ResultSet.absolute did not always work with large result sets.
@changelog_1158_li
@changelog_1161_li
#Column aliases can now be used in GROUP BY and HAVING.
@changelog_1159_li
@changelog_1162_li
#Jason Brittain has contributed MySQL date functions. Thanks a lot! They are not in the h2.jar file currently, but in src/tools/org/h2/mode/FunctionsMySQL.java. To install, add this class to the classpath and call FunctionsMySQL.register(conn) in the Java code.
@changelog_1160_h2
@changelog_1163_h2
#Version 1.0.77 (2008-08-16)
@changelog_1161_li
@changelog_1164_li
#JaQu is now using prepared statements and supports Date, Time, Timestamp.
@changelog_1162_li
@changelog_1165_li
#When using remote in-memory databases, large LOB objects did not work.
@changelog_1163_li
@changelog_1166_li
#Timestamp columns such as TIMESTAMP(6) were not compatible to other database.
@changelog_1164_li
@changelog_1167_li
#Opening a large database was slow if there was a problem opening the previous time.
@changelog_1165_li
@changelog_1168_li
#NOT IN(SELECT ...) was incorrect if the subquery returns no rows.
@changelog_1166_li
@changelog_1169_li
#CREATE TABLE AS SELECT did not work correctly in the multi-version concurrency mode.
@changelog_1167_li
@changelog_1170_li
#Support a comma before closing a list, as in: create table test(id int,)
@changelog_1168_li
@changelog_1171_li
#MySQL compatibility: linked tables had lower case column names on some systems.
@changelog_1169_li
@changelog_1172_li
#DB2 compatibility: the DB2 fetch-first-clause is supported.
@changelog_1170_li
@changelog_1173_li
#Oracle compatibility: old style outer join syntax using (+) did work correctly sometimes.
@changelog_1171_li
@changelog_1174_li
#ResultSet.setFetchSize is now supported.
@changelog_1172_li
@changelog_1175_li
#It has been reported that when using Install4j on some Linux systems and enabling the 'pack200' option, the h2.jar becomes corrupted by the install process, causing application failure. A workaround is to add an empty file h2.jar.nopack next to the h2.jar file. The reason for this problem is not known.
@changelog_1173_h2
@changelog_1176_h2
#Version 1.0.76 (2008-07-27)
@changelog_1174_li
@changelog_1177_li
#The comment of a domain (user defined data type) is now used as the default column comment when creating a column with this domain.
@changelog_1175_li
@changelog_1178_li
#Invalid database names are now detected and a better error message is thrown.
@changelog_1176_li
@changelog_1179_li
#ResultSetMetaData.getColumnClassName now returns the correct class name for BLOB and CLOB.
@changelog_1177_li
@changelog_1180_li
#Fixed the Oracle mode: Oracle allows multiple rows only where all columns of the unique index are NULL.
@changelog_1178_li
@changelog_1181_li
#There is a problem with Hibernate when using Boolean columns. A patch for Hibernate has been submitted at http://opensource.atlassian.com/projects/hibernate/browse/HHH-3401
@changelog_1179_li
@changelog_1182_li
#ORDER BY on tableName.columnName didn't work correctly if the column name was also used as an alias.
@changelog_1180_li
@changelog_1183_li
#H2 Console: The progress display when opening a database has been improved.
@changelog_1181_li
@changelog_1184_li
#The error message when the server doesn't start has been improved.
@changelog_1182_li
@changelog_1185_li
#Key values can now be changed in updatable result sets.
@changelog_1183_li
@changelog_1186_li
#Changes in updatable result sets are now visible even when resetting the result set.
@changelog_1184_li
@changelog_1187_li
#Temporary files were sometimes deleted too late when executing large insert, update, or delete operations.
@changelog_1185_li
@changelog_1188_li
#The database file was growing after deleting many rows, and after large update operations.
@changelog_1186_h2
@changelog_1189_h2
#Version 1.0.75 (2008-07-14)
@changelog_1187_li
@changelog_1190_li
#Multi version concurrency (MVCC): when a row was updated or deleted, but this change was rolled back, the row was not visible by other sessions if no index was used to access it. Fixed.
@changelog_1188_li
@changelog_1191_li
#Views with multiple joined tables (where one was an outer join) couldn't be used in some cases. Fixed.
@changelog_1189_li
@changelog_1192_li
#The CSVREAD method did not process NULL correctly when using a whitespace field separator.
@changelog_1190_li
@changelog_1193_li
#Fixed the Oracle mode: Oracle allows multiple rows with NULL in a unique index.
@changelog_1191_li
@changelog_1194_li
#Running out of memory could result in incomplete transactions or corrupted databases. Fixed.
@changelog_1192_li
@changelog_1195_li
#When using order by in a query that uses the same table multiple times, the order could be incorrect. Fixed.
@changelog_1193_li
@changelog_1196_li
#Referential constraint checking improvement: now the constraint is only checked if the key column values change.
@changelog_1194_li
@changelog_1197_li
#Some database metadata calls returned the wrong data type for DATA_TYPE columns.
@changelog_1195_li
@changelog_1198_li
#The Lucene fulltext index was empty when opening a database with fulltext index enabled, and re-indexing it didn't work. Fixed.
@changelog_1196_li
@changelog_1199_li
#The character '$' could not be used in identifier names (table name, column names and so on). Fixed.
@changelog_1197_li
@changelog_1200_li
#The new method org.h2.tools.Server.startWebServer(conn) starts the H2 Console to inspect a database while debugging.
@changelog_1198_li
@changelog_1201_li
#Stopping a WebServer didn't always work. Fixed.
@changelog_1199_h2
@changelog_1202_h2
#Version 1.0.74 (2008-06-21)
@changelog_1200_li
@changelog_1203_li
#Work on row level locking has been started (but there is nothing usable yet).
@changelog_1201_li
@changelog_1204_li
#JaQu (Java Query), a tool similar to LINQ (Language Integrated Query; from Microsoft) is now included under src/tools/org/h2/jaqu. A small sample application is included under src/test/org/h2/test/jaqu.
@changelog_1202_li
@changelog_1205_li
#The source code is now switched to Java 1.6 by default. To switch back to Java 1.4, run 'build compile'. The h2.jar file is still Java 1.4.
@changelog_1203_li
@changelog_1206_li
#The ChangePassword tool is now called ChangeFileEncryption.
@changelog_1204_li
@changelog_1207_li
#It is no longer allowed to create columns with the data type NULL. Also, it is no longer allowed to convert a column to the data type NULL. This was possible before but caused data loss.
@changelog_1205_li
@changelog_1208_li
#When using computed columns or default values with a different data type than the column data type, a class cast exception could occur. Fixed.
@changelog_1206_li
@changelog_1209_li
#Opening databases larger than 1 GB was sometimes very slow if a lot of data was deleted previously. Fixed.
@changelog_1207_li
@changelog_1210_li
#RUNSCRIPT could throw a NullPointerException if the script name was an expression.
@changelog_1208_li
@changelog_1211_li
#Improved compatibility. New compatibility modes for Oracle and Derby. New compatibility flag uniqueIndexNullDistinct to only allow one row with 'NULL' in a unique index. This flag is enabled for Derby, Oracle, MSSQLServer, and HSQLDB.
@changelog_1209_li
@changelog_1212_li
#Linked tables: To view the statements that are executed against the target table, set the trace level to 3.
@changelog_1210_li
@changelog_1213_li
#RunScript tool: new options to show and check the results of queries.
@changelog_1211_li
@changelog_1214_li
#Deadlocks are now detected. One transaction is rolled back automatically.
@changelog_1212_li
@changelog_1215_li
#The Lucene fulltext index was always re-created when opening a database with fulltext index enabled.
@changelog_1213_li
@changelog_1216_li
#Support for overloaded Java methods. A user defined function can now be bound to multiple Java methods, if the Java methods have the same name but a different number of parameters. Thanks to Gary Tong for providing a patch!
@changelog_1214_h2
@changelog_1217_h2
#Version 1.0.73 (2008-05-31)
@changelog_1215_li
@changelog_1218_li
#ParameterMetaData now returns the right data type for most conditions, as in WHERE ID=?.
@changelog_1216_li
@changelog_1219_li
#The table SYSTEM_RANGE now supports expressions and parameters.
@changelog_1217_li
@changelog_1220_li
#New column INFORMATION_SCHEMA.CONSTRAINTS.UNIQUE_INDEX_NAME that contains the name of the unique index used to enforce this constraint, if there is such an index.
@changelog_1218_li
@changelog_1221_li
#SET QUERY_TIMEOUT and Statement.setQueryTimeout no longer commits a transaction. The same applies to SET @VARIABLE, SET LOCK_TIMEOUT, SET TRACE_LEVEL_*, SET THROTTLE, and SET PATH.
@changelog_1219_li
@changelog_1222_li
#The SCRIPT command does now emit IF NOT EXISTS for CREATE ROLE.
@changelog_1220_li
@changelog_1223_li
#MySQL compatibility: auto_increment column are no longer automatically converted to primary key columns.
@changelog_1221_li
@changelog_1224_li
#PostgreSQL compatibility: support for BOOL_OR and BOOL_AND aggregate functions.
@changelog_1222_li
@changelog_1225_li
#Negative scale values for DECIMAL or NUMBER columns are now supported in regular tables and in linked tables.
@changelog_1223_li
@changelog_1226_li
#A role or right can now be granted or revoked multiple times without getting an exception.
@changelog_1224_li
@changelog_1227_li
#Infinite numbers in SQL scripts are listed as POWER(0, -1)), negative infinite as (-POWER(0, -1)), and NaN (not a number) as SQRT(-1).
@changelog_1225_li
@changelog_1228_li
#The special double and float values 'NaN' (not a number) did not work correctly when sorting or comparing.
@changelog_1226_li
@changelog_1229_li
#The fulltext search did not support CLOB data types.
@changelog_1227_li
@changelog_1230_li
#If the drive with the database files was disconnected or unmounted while writing, sometimes a stack overflow exception was thrown instead of a IO exception.
@changelog_1228_li
@changelog_1231_li
#The H2 Console could not be shut down from within the tool if the browser supports keepAlive (most browsers do).
@changelog_1229_li
@changelog_1232_li
#If the password was passed as a char array, it was kept in an internal buffer longer than required. Theoretically the password could have been stolen if the main memory was swapped to disk before the garbage collection was run.
@changelog_1230_h2
@changelog_1233_h2
#Version 1.0.72 (2008-05-10)
@changelog_1231_li
@changelog_1234_li
#Some databases could not be opened when appending ;RECOVER=1 to the database URL.
@changelog_1232_li
@changelog_1235_li
#The Japanese translation of the error messages and the H2 Console has been completed by Masahiro Ikemoto (Arizona Design Inc.)
@changelog_1233_li
@changelog_1236_li
#Updates made to updatable rows are now visible within the same result set. DatabaseMetaData.ownUpdatesAreVisible now returns true.
@changelog_1234_li
@changelog_1237_li
#ParameterMetaData now returns the correct data for INSERT and UPDATE statements.
@changelog_1235_li
@changelog_1238_li
#H2 Shell: DESCRIBE now supports an schema name.
@changelog_1236_li
@changelog_1239_li
#A subset of the PostgreSQL 'dollar quoting' feature is now supported.
@changelog_1237_li
@changelog_1240_li
#SLF4J is now supported by using adding TRACE_LEVEL_FILE=4 to the database URL.
@changelog_1238_li
@changelog_1241_li
#The recovery tool did not work if the table name contained spaces or if there was a comment on the table.
@changelog_1239_li
@changelog_1242_li
#Triggers are no longer executed when changing the table structure (ALTER TABLE).
@changelog_1240_li
@changelog_1243_li
#When setting BLOB or CLOB values larger than 65 KB using a remote connection, temporary files were kept on the client longer than required (until the connection was closed or the object is garbage collected). Now they are removed as soon as the PreparedStatement is closed, or when the value is overwritten.
@changelog_1241_li
@changelog_1244_li
#Statements can now be canceled remotely (when using remote connections).
@changelog_1242_li
@changelog_1245_li
#The Shell tool now uses java.io.Console to read the password when using JDK 1.6
@changelog_1243_li
@changelog_1246_li
#When using read-only databases and setting LOG=2, an exception was written to the trace file when closing the database. Fixed.
@changelog_1244_h2
@changelog_1247_h2
#Version 1.0.71 (2008-04-25)
@changelog_1245_li
@changelog_1248_li
#H2 is now dual-licensed under the Eclipse Public License (EPL) and the old 'H2 License' (which is basically MPL).
@changelog_1246_li
@changelog_1249_li
#Sometimes an exception 'File ID mismatch' or 'try to add a record twice' occurred after large records (8 KB or larger) are updated or deleted. See also http://code.google.com/p/h2database/issues/detail?id=22
@changelog_1247_li
@changelog_1250_li
#H2 Console: The tools can now be translated (it didn't work in the last release).
@changelog_1248_li
@changelog_1251_li
#New traditional Chinese translation. Thanks a lot to Derek Chao!
@changelog_1249_li
@changelog_1252_li
#Indexes were not used when enabling the optimization for IN(SELECT...) (system property h2.optimizeInJoin).
@changelog_1250_h2
@changelog_1253_h2
#Version 1.0.70 (2008-04-20)
@changelog_1251_li
@changelog_1254_li
#The plan is to dual-license H2. The additional license is EPL (Eclipse Public License). The current license (MPL, Mozilla Public License) will stay. Current users are not affected because they can keep MPL. EPL is very similar to MPL, the only bigger difference is related to patents (EPL is a bit more business friendly in this regard). See also http://opensource.org/licenses/eclipse-1.0.php, http://www.eclipse.org/legal/eplfaq.php (FAQ), http://blogs.zdnet.com/Burnette/?p=131
@changelog_1252_li
@changelog_1255_li
#Multi version concurrency (MVCC): when a row was updated, and the updated column was not indexed, this update was visible sometimes for other sessions even if it was not committed.
@changelog_1253_li
@changelog_1256_li
#Calling SHUTDOWN on one connection and starting a query on another connection concurrently could result in a Java level deadlock.
@changelog_1254_li
@changelog_1257_li
#New system property h2.enableAnonymousSSL (default: true) to enable anonymous SSL connections.
@changelog_1255_li
@changelog_1258_li
#The precision if SUBSTR is now calculated if possible.
@changelog_1256_li
@changelog_1259_li
#The autocomplete in the H2 Console has been improved a bit.
@changelog_1257_li
@changelog_1260_li
#The tools in the H2 Console are now translatable.
@changelog_1258_li
@changelog_1261_li
#The servlet and lucene jar files are now automatically downloaded when building.
@changelog_1259_li
@changelog_1262_li
#The code switch tool has been replaced by a simpler tool called SwitchSource that just uses find and replace.
@changelog_1260_li
@changelog_1263_li
#Started to write a Ant replacement ('JAnt') that uses pure Java build definitions. Advantages: ability to debug the build, extensible, flexible, no XML, a bit faster. Future plan: support creating custom h2 distributions (for embedded use). Maybe create a new project 'Jant' or 'Javen' if other people are interested.
@changelog_1261_li
@changelog_1264_li
#The jar file is now about 10% smaller because the variable debugging info is no longer included. The source file and line number debugging info is still included. If required, the jar file size of the full version can be further reduced to about 720 KB using 'build jarSmall' or even more by removing unneeded components.
@changelog_1262_li
@changelog_1265_li
#Added shell scripts run.sh and build.sh. chmod +x is required, but otherwise it should work. Feedback or improvements are welcome!
@changelog_1263_li
@changelog_1266_li
#Databases in zip files: large queries are now supported. Temp files are created in the temp directory if required. The documentation how to create the zip file has been corrected.
@changelog_1264_li
@changelog_1267_li
#Invalid inline views threw confusing SQL exceptions.
@changelog_1265_li
@changelog_1268_li
#The Japanese translation of the error messages and the H2 Console has been improved. Thanks a lot to Masahiro IKEMOTO.
@changelog_1266_li
@changelog_1269_li
#Optimization for MIN() and MAX() when using MVCC.
@changelog_1267_li
@changelog_1270_li
#To protect against remote brute force password attacks, the delay after each unsuccessful login now gets double as long. New system properties h2.delayWrongPasswordMin and h2.delayWrongPasswordMax.
@changelog_1268_li
@changelog_1271_li
#After setting the query timeout and then resetting it, the next query would still timeout. Fixed.
@changelog_1269_li
@changelog_1272_li
#Adding a IDENTITY column to a table with data threw a lock timeout.
@changelog_1270_li
@changelog_1273_li
#OutOfMemoryError could occur when using EXISTS or IN(SELECT ..).
@changelog_1271_li
@changelog_1274_li
#The built-in connection pool is not called JdbcConnectionPool. The API and documentation has been changed.
@changelog_1272_li
@changelog_1275_li
#The ConvertTraceFile tool now generates SQL statement statistics at the end of the SQL script file (similar to the profiling data generated when using java -Xrunhprof).
@changelog_1273_li
@changelog_1276_li
#Nested joins are now supported (A JOIN B JOIN C ON .. ON ..)
@changelog_1274_h2
@changelog_1277_h2
#Version 1.0.69 (2008-03-29)
@changelog_1275_li
@changelog_1278_li
#Most command line tools can now be called from within the H2 Console.
@changelog_1276_li
@changelog_1279_li
#A new Shell tools is now included (org.h2.tools.Shell) to query a database from the command line.
@changelog_1277_li
@changelog_1280_li
#The command line options in the tools have changed: instead of '-log true' now '-trace' is used. Also, '-ifExists', '-tcpSSL' and '-tcpAllowOthers' and so on have changed: now the 'true' is no longer needed. The old behavior is still supported.
@changelog_1278_li
@changelog_1281_li
#New system property h2.sortNullsHigh to invert the default sorting behavior for NULL. The default didn't change.
@changelog_1279_li
@changelog_1282_li
#Performance was very slow when using LOG=2 and deleting or updating all rows of a table in a loop. Fixed.
@changelog_1280_li
@changelog_1283_li
#ALTER TABLE or CREATE TABLE now support parameters for the password field.
@changelog_1281_li
@changelog_1284_li
#The linear hash has been removed. It was always slower than the b-tree index, and there were some bugs that would be hard to fix.
@changelog_1282_li
@changelog_1285_li
#TRACE_LEVEL_ settings are no longer persistent. This was a problem when database initialization code caused a lot of trace output.
@changelog_1283_li
@changelog_1286_li
#Fulltext search (native implementation): The words table is no longer an in-memory table because this caused memory problems in some cases.
@changelog_1284_li
@changelog_1287_li
#It was possible to create a role with the name as an existing user (but not vice versa). This is not allowed any more.
@changelog_1285_li
@changelog_1288_li
#The recovery tool didn't work correctly for tables without rows.
@changelog_1286_li
@changelog_1289_li
#For years below 1, the YEAR method didn't return the correct value, and the conversion from date and timestamp to varchar was incorrect.
@changelog_1287_li
@changelog_1290_li
#CSVWRITE caused a NullPointerException when not specifying a nullString.
@changelog_1288_li
@changelog_1291_li
#When a log file switch occurred just after a truncate table or drop table statement, the database could not be started normally (RECOVER=1 was required). Fixed.
@changelog_1289_li
@changelog_1292_li
#When a log file switch occurred in the middle of a sequence flush (sequences are only flushed every 32 values by default), the sequence value was lost. Fixed.
@changelog_1290_li
@changelog_1293_li
#Altering a sequence didn't unlock the system table when autocommit switched off.
@changelog_1291_h2
@changelog_1294_h2
#Version 1.0.68 (2008-03-18)
@changelog_1292_li
@changelog_1295_li
#Very large SELECT DISTINCT and UNION EXCEPT queries are now supported, however this feature is disabled by default. To enable it, set the system property h2.maxMemoryRowsDistinct to a lower value, for example 10000.
@changelog_1293_li
@changelog_1296_li
#A error is now thrown when trying to call a method inside a trigger that implicitly commits the current transaction, if an object is locked.
@changelog_1294_li
@changelog_1297_li
#Unused LOB files were deleted much too late. Now they are deleted if no longer referenced in memory.
@changelog_1295_li
@changelog_1298_li
#ALTER SEQUENCE and ALTER TABLE ALTER COLUMN RESTART can now be used inside a transaction.
@changelog_1296_li
@changelog_1299_li
#New system property h2.aliasColumnName. When enabled, aliased columns (as in SELECT ID AS I FROM TEST) return the real table and column name in ResultSetMetaData.getTableName() and getColumnName(). This is disabled by default for compatibility with other databases (HSQLDB, Apache Derby, PostgreSQL, some version of MySQL). In version 1.1 this setting will be enabled.
@changelog_1297_li
@changelog_1300_li
#When using encrypted databases, and using the wrong file password, the log file was renamed if the database was not already open. Fixed.
@changelog_1298_li
@changelog_1301_li
#Improved performance when using lob files in directories (however this is still disabled by default)
@changelog_1299_li
@changelog_1302_li
#H2 Console: autocomplete didn't work with very large scripts. Fixed.
@changelog_1300_li
@changelog_1303_li
#Fulltext search: new method SEARCH_DATA that returns the column names and primary keys as arrays.
@changelog_1301_li
@changelog_1304_li
#New experimental optimization for GROUP BY queries if an index can be used that matches the group by columns. To enable this optimization, set the system property h2.optimizeGroupSorted to true.
@changelog_1302_li
@changelog_1305_li
#When using multi-version concurrency (MVCC=TRUE), duplicate rows could appear in the result set when running queries with uncommitted changes in the same session.
@changelog_1303_li
@changelog_1306_li
#H2 Console: remote connections were very slow because getHostName/getRemoteHost was used. Fixed (now using getHostAddress/getRemoteAddr.
@changelog_1304_li
@changelog_1307_li
#H2 Console: on Linux, Firefox, Konqueror, or Opera (in this order) are now started if available. This has been tested on Ubuntu.
@changelog_1305_li
@changelog_1308_li
#H2 Console: the start window works better with IKVM
@changelog_1306_li
@changelog_1309_li
#H2 Console: improved compatibility with Safari (Safari requires keep-alive)
@changelog_1307_li
@changelog_1310_li
#Random: the process didn't stop if generating the random seed using the standard way (SecureRandom.generateSeed) was very slow. Now using a daemon thread to avoid this problem.
@changelog_1308_li
@changelog_1311_li
#SELECT UNION with a different number of ORDER BY columns did throw an ArrayIndexOutOfBoundsException.
@changelog_1309_li
@changelog_1312_li
#When using a view, the column precision was changed to the default scale for some data types.
@changelog_1310_li
@changelog_1313_li
#CSVWRITE now supports a 'null string' that is used for parsing and writing NULL.
@changelog_1311_li
@changelog_1314_li
#Some long running queries could not be canceled.
@changelog_1312_li
@changelog_1315_li
#Queries with many outer join tables were very slow. Fixed.
@changelog_1313_li
@changelog_1316_li
#The performance of text comparison has been improved when using locale sensitive string comparison (SET COLLATOR). Now CollationKey is used with a LRU cache. The default cache size is 10000, and can be changed using the system property h2.collatorCacheSize. Use 0 to disable the cache.
@changelog_1314_li
@changelog_1317_li
#UPDATE SET column=DEFAULT is now supported.
@changelog_1315_h2
@changelog_1318_h2
#Version 1.0.67 (2008-02-22)
@changelog_1316_li
@changelog_1319_li
#New function FILE_READ to read a file or from an URL. Both binary and text data is supported.
@changelog_1317_li
@changelog_1320_li
#CREATE TABLE AS SELECT now supports specifying the column list and data types.
@changelog_1318_li
@changelog_1321_li
#Connecting to a TCP server and at shutting it down at the same time could cause a Java level deadlock.
@changelog_1319_li
@changelog_1322_li
#A user now has all rights on his own local temporary tables.
@changelog_1320_li
@changelog_1323_li
#The CSV tool now supports a custom lineSeparator.
@changelog_1321_li
@changelog_1324_li
#When using multiple connections, empty space was reused too early sometimes. This could corrupt the database when recovering.
@changelog_1322_li
@changelog_1325_li
#The H2 Console has been translated to Dutch. Thanks a lot to Remco Schoen!
@changelog_1323_li
@changelog_1326_li
#Databases can now be opened even if trigger classes are not in the classpath. The exception is thrown when trying to fire the trigger.
@changelog_1324_li
@changelog_1327_li
#Opening databases with ACCESS_MODE_DATA=r is now supported. In this case the database is read-only, but the files don't not need to be read-only.
@changelog_1325_li
@changelog_1328_li
#Security: The database now waits 200 ms before throwing an exception if the user name or password don't match, to slow down dictionary attacks.
@changelog_1326_li
@changelog_1329_li
#The value cache is now a soft reference cache. This should help save memory.
@changelog_1327_li
@changelog_1330_li
#CREATE INDEX on a table with many rows could run out of memory. Fixed.
@changelog_1328_li
@changelog_1331_li
#Large result sets are now a bit faster.
@changelog_1329_li
@changelog_1332_li
#ALTER TABLE ALTER COLUMN RESTART and ALTER SEQUENCE now support parameters (any expressions).
@changelog_1330_li
@changelog_1333_li
#When setting the base directory on the command line, the user directory prefix ('~') was ignored.
@changelog_1331_li
@changelog_1334_li
#The DbStarter servlet didn't start the TCP listener even if configured.
@changelog_1332_li
@changelog_1335_li
#Statement.setQueryTimeout() is now supported.
@changelog_1333_li
@changelog_1336_li
#New session setting QUERY_TIMEOUT, and new system property h2.maxQueryTimeout.
@changelog_1334_li
@changelog_1337_li
#Changing the transaction log level (SET LOG) is now written to the trace file by default.
@changelog_1335_li
@changelog_1338_li
#In a SQL script, primary key constraints are now ordered before foreign key constraints.
@changelog_1336_li
@changelog_1339_li
#It was not possible to create a referential constraint to a table in a different schema in some situations.
@changelog_1337_li
@changelog_1340_li
#The H2 Console was slow when the database contains many tables. Now the column names are not shown in this case.
@changelog_1338_h2
@changelog_1341_h2
#Version 1.0.66 (2008-02-02)
@changelog_1339_li
#There is a new online error analyzer tool.
@changelog_1340_li
#H2 Console: stack traces are now links to the source code in the source repository (H2 database only).
@changelog_1341_li
#CHAR data type equals comparison was case insensitive instead of case sensitive.
@changelog_1342_li
#The exception 'Value too long for column' now includes the data.
#There is a new online error analyzer tool.
@changelog_1343_li
#The table name was missing in the documentation of CREATE INDEX.
#H2 Console: stack traces are now links to the source code in the source repository (H2 database only).
@changelog_1344_li
#Better support for IKVM (www.ikvm.net): the H2 Console now opens a browser window.
#CHAR data type equals comparison was case insensitive instead of case sensitive.
@changelog_1345_li
#The cache size was not correctly calculated for tables with large objects (specially if compression is used). This could lead to out-of-memory exceptions.
@changelog_1346_li
#The exception "Hexadecimal string contains non-hex character" was not always thrown when it should have been. Fixed.
@changelog_1347_li
#The H2 Console now provides a link to the documentation when an error occurs (H2 databases only so far).
@changelog_1348_li
#The acting as PostgreSQL server, when a base directory was set, and the H2 Console was started as well, the base directory was applied twice.
@changelog_1349_li
#Calling EXTRACT(HOUR FROM ...) or EXTRACT(HH FROM ...) returned the wrong values (0 to 11 instead of 0 to 23). All other tested databases return values from 0 to 23. Please check if your application relies on the old behavior before upgrading.
@changelog_1350_li
#For compatibility with other databases the column default (COLUMN_DEF) for columns without default is now null (it was an empty string).
@changelog_1351_li
#Statements that contain very large subqueries (where the subquery result does not fit in memory) are now faster.
@changelog_1352_li
#Variables: large objects (CLOB and BLOB) that don't fit in memory did not work correctly when used as variables.
@changelog_1353_li
#Fulltext search is now supported in named in-memory databases.
@changelog_1354_li
#H2 Console: multiple consecutive spaces in the setting name did not work. Fixed.
@changelog_1355_h2
#Version 1.0.65 (2008-01-18)
@changelog_1356_li
#The build (ant) now automatically switches the source code to the correct version (JDK 1.4/1.5 or 1.6).
@changelog_1357_li
#A recovery bug has been fixed. With older versions, it was necessary to add ;RECOVER=1 to the database URL in cases where it should not have been required.
@changelog_1358_li
#The performance for DROP and DROP ALL OBJECTS has been improved.
@changelog_1359_li
#The ChangePassword API has been improved.
@changelog_1360_li
#User defined variables are now supported. Examples: SET @VAR=10;CALL @VAR. This can be used for running totals as in: select x, set(@t, ifnull(@t, 0) + x) from system_range(1, 10)
@changelog_1361_li
#The Ukrainian translation has been improved.
@changelog_1362_li
#CALL statements can now be used in batch updates and called using Statement.executeUpdate.
@changelog_1363_li
#New read-only setting CREATE_BUILD (the build number of the database engine that created the database).
@changelog_1364_li
#The optimizer did not use multi column indexes for range queries in some cases. Fixed.
@changelog_1365_li
#The H2 Console now calls DataSource.getConnection() instead of DataSource.getConnection(user, password) when user name and password are not specified.
#The exception 'Value too long for column' now includes the data.
@changelog_1366_li
#The bind IP address can now be set when using multi-homed host (if multiple network adapters are available) using the system property h2.bindAddress.
@changelog_1346_li
#The table name was missing in the documentation of CREATE INDEX.
@changelog_1367_li
#Batch update: Calling BatchUpdateException.printStackTrace() could result in out of memory. Fixed.
@changelog_1347_li
#Better support for IKVM (www.ikvm.net): the H2 Console now opens a browser window.
@changelog_1368_li
#Indexes of unique or foreign constraints where not dropped when the constraint was dropped after altering the table (for example dropping a column). Fixed.
@changelog_1348_li
#The cache size was not correctly calculated for tables with large objects (specially if compression is used). This could lead to out-of-memory exceptions.
@changelog_1369_li
#The performance for large result sets in the server mode has been improved.
@changelog_1349_li
#The exception "Hexadecimal string contains non-hex character" was not always thrown when it should have been. Fixed.
@changelog_1370_li
#The setting h2.serverSmallResultSetSize has been renamed to h2.serverResultSetFetchSize.
@changelog_1350_li
#The H2 Console now provides a link to the documentation when an error occurs (H2 databases only so far).
@changelog_1371_li
#The SCRIPT command now uses multi-row insert statements to save space except if the option SIMPLE is used.
@changelog_1351_li
#The acting as PostgreSQL server, when a base directory was set, and the H2 Console was started as well, the base directory was applied twice.
@changelog_1372_li
#The SCRIPT command did not split up CLOB data correctly. Fixed.
@changelog_1352_li
#Calling EXTRACT(HOUR FROM ...) or EXTRACT(HH FROM ...) returned the wrong values (0 to 11 instead of 0 to 23). All other tested databases return values from 0 to 23. Please check if your application relies on the old behavior before upgrading.
@changelog_1373_li
#Optimization for single column distinct queries with an index: select distinct name from test. Can be disabled by setting the system property h2.optimizeDistinct to false.
@changelog_1353_li
#For compatibility with other databases the column default (COLUMN_DEF) for columns without default is now null (it was an empty string).
@changelog_1374_li
#DROP ALL OBJECTS did not drop user defined aggregate functions and domains.
@changelog_1354_li
#Statements that contain very large subqueries (where the subquery result does not fit in memory) are now faster.
@changelog_1375_li
#PostgreSQL compatibility: COUNT(T.*) is now supported.
@changelog_1355_li
#Variables: large objects (CLOB and BLOB) that don't fit in memory did not work correctly when used as variables.
@changelog_1376_li
#LIKE comparisons are now faster.
@changelog_1356_li
#Fulltext search is now supported in named in-memory databases.
@changelog_1377_li
#Encrypted databases are now faster.
@changelog_1357_li
#H2 Console: multiple consecutive spaces in the setting name did not work. Fixed.
@download_1000_h1
ダウンロード
@download_1001_h3
#Version 1.1.106 (2009-01-04, Beta)
#Version 1.1.107 (2009-01-24, Beta)
@download_1002_a
Windows Installer
......@@ -2355,142 +2295,145 @@ F A Q
@faq_1015_li
#When using Install4j before 4.1.4 on Linux and enabling 'pack200', the h2*.jar becomes corrupted by the install process, causing application failure. A workaround is to add an empty file h2*.jar.nopack next to the h2*.jar file. This problem is solved in Install4j 4.1.4.
@faq_1016_h3
@faq_1016_li
#Tomcat sets all static fields (final or non-final) to null when unloading a web application. This can cause a NullPointerException in H2. In Tomcat >= 6.0 this behavior can be disabled by setting the system property org.apache.catalina.loader.WebappClassLoader.ENABLE_CLEAR_REFERENCES to false.
@faq_1017_h3
このデータベースエンジンはオープンソースですか?
@faq_1017_p
@faq_1018_p
はい、H2DBはフリーウェアであり、再配布も可能です。ソースコードも含まれています。ライセンスページも合わせてご確認ください。
@faq_1018_h3
@faq_1019_h3
#My Query is Slow
@faq_1019_p
@faq_1020_p
SELECT (または DELETE、UPDATE、MERGE) ステートメント実行に時間がかかるのはいくつかの理由が考えられます。以下のチェックリストをご確認ください:
@faq_1020_li
ANALYZEを実行する (詳細はドキュメントをご覧下さい)
@faq_1021_li
クエリにEXPLAINオプションを付けて実行し、インデックスが利用されているかどうか確認する (詳細はドキュメントをご覧下さい)
#Run ANALYZE (see documentation for details).
@faq_1022_li
必要に応じてインデックスを追加し、ANALYZE、EXPLAINオプションを用いて再度クエリを実行する
クエリにEXPLAINオプションを付けて実行し、インデックスが利用されているかどうか確認する (詳細はドキュメントをご覧下さい)
@faq_1023_li
必要に応じてインデックスを追加し、ANALYZE、EXPLAINオプションを用いて再度クエリを実行する
@faq_1024_li
それでも解決しない場合は、ご連絡ください
@faq_1024_h3
@faq_1025_h3
新規データベースの構築方法は?
@faq_1025_p
@faq_1026_p
データベースがまだ存在しない場合、デフォルト設定では自動的に新規作成されます
@faq_1026_h3
@faq_1027_h3
データベースへの接続方法は?
@faq_1027_p
@faq_1028_p
データベースドライバは <code>org.h2.Driver</code> で、データベースURLは <code>jdbc:h2:</code> で始まります。JDBCを利用してデータベースに接続する場合は、以下のコードを利用して下さい:
@faq_1028_h3
@faq_1029_h3
データベースのファイルはどこに保存されますか?
@faq_1029_p
@faq_1030_p
#When using database URLs like jdbc:h2:~/test, the database is stored in the user directory. For Windows, this is usually C:\Documents and Settings\&lt;userName&gt;. If the base directory is not set (as in jdbc:h2:test), the database files are stored in the directory where the application is started (the current working directory). When using the H2 Console application from the start menu, this is [Installation Directory]/bin. The base directory can be set in the database URL. A fixed or relative path can be used. When using the URL jdbc:h2:file:data/sample, the database is stored in the directory data (relative to the current working directory). The directory is created automatically if it does not yet exist. It is also possible to use the fully qualified directory (and for Windows, drive) name. Example: jdbc:h2:file:C:/data/test
@faq_1030_h3
@faq_1031_h3
#What is the Size Limit (Maximum Size) of a Database?
@faq_1031_p
@faq_1032_p
理論上のデータの制限は現在256GBです。これはBLOBとCLOBデータを含まない状態での値です: BLOB、CLOBの最大値はそれぞれ256GB以上の設定が可能です。インデックスデータのサイズ制限も同様に256GBです。
@faq_1032_p
@faq_1033_p
#The maximum number of rows per table is 2'147'483'648.
@faq_1033_p
@faq_1034_p
FAT、FAT32ファイルシステムの最大ファイルサイズは4GBです。よって、FATやFAT32を利用する場合は、データの制限は4GBということになります。
@faq_1034_p
@faq_1035_p
#The larger the database, the more main memory is required. Currently the minimum main memory required for a 12 GB database is around 240 MB.
@faq_1035_h3
@faq_1036_h3
これは信頼できるデータベースですか?
@faq_1036_p
@faq_1037_p
#That is not easy to say. It is still a quite new product. A lot of tests have been written, and the code coverage of these tests is very high. Randomized stress tests are run regularly. But as this is a relatively new product, there are probably some problems that have not yet been found (as with most software). Some features are known to be dangerous by design, and some problems are hard to solve. Those are:
@faq_1037_li
@faq_1038_li
#Using SET LOG 0 to disable the transaction log file.
@faq_1038_li
@faq_1039_li
#Using the transaction isolation level READ_UNCOMMITTED (LOCK_MODE 0) while at the same time using multiple connections may result in inconsistent transactions.
@faq_1039_li
@faq_1040_li
#Using FILE_LOCK=NO in the database URL.
@faq_1040_p
@faq_1041_p
#In addition to that, running out of memory should be avoided. In some versions, OutOfMemory errors while using the database could corrupt a databases. Not all such problems may be fixed.
@faq_1041_p
@faq_1042_p
#Areas that are not fully tested:
@faq_1042_li
@faq_1043_li
#Platforms other than Windows XP or Linux, or JVMs other than Sun 1.4 - 1.6
@faq_1043_li
@faq_1044_li
#The features AUTO_SERVER and AUTO_RECONNECT
@faq_1044_li
@faq_1045_li
#The MVCC (multi version concurrency) mode
@faq_1045_li
@faq_1046_li
#Cluster mode, 2-phase commit, savepoints
@faq_1046_li
@faq_1047_li
#24/7 operation
@faq_1047_li
@faq_1048_li
#Some operations on databases larger than 500 MB may be slower than expected
@faq_1048_li
@faq_1049_li
#Multi-threading and using multiple connections
@faq_1049_li
@faq_1050_li
#The optimizer may not always select the best plan
@faq_1050_p
@faq_1051_p
試験的に考慮された箇所は以下の通り:
@faq_1051_li
@faq_1052_li
#The PostgreSQL server
@faq_1052_li
@faq_1053_li
他のデータベースとの互換モード (一部の特徴のみ提供される)
@faq_1053_li
@faq_1054_li
#The ARRAY data type and related functionality
@faq_1054_h3
@faq_1055_h3
#Why is Opening my Database Slow?
@faq_1055_p
@faq_1056_p
#If it takes a long time to open a database, in most cases it was not closed the last time. This is specially a problem for larger databases. To close a database, close all connections to it before the application ends, or execute the command SHUTDOWN. The database is also closed when the virtual machine exits normally by using a shutdown hook. However killing a Java process or calling Runtime.halt will prevent this.
@faq_1056_p
@faq_1057_p
#To find out what the problem is, open the database in embedded mode using the H2 Console. This will print progress information. If you have many 'Creating index' lines it is an indication that the database was not closed the last time.
@faq_1057_p
@faq_1058_p
#Other possible reasons are: the database is very big (many GB), or contains linked tables that are slow to open.
@faq_1058_h3
@faq_1059_h3
#Is the GCJ Version Stable? Faster?
@faq_1059_p
@faq_1060_p
GCJバージョンは、Javaバージョンほどは安定していません。GCJバージョンでリグレッションテストを実行した時、アプリケーションはランダムポイントと思われるところで、エラーメッセージなしで停止する場合があります。現在、GCJバージョンはSun VMの使用時よりも低速です。しかし、GCJバージョンの起動はVM使用時よりも高速です。
@faq_1060_h3
@faq_1061_h3
このプロジェクトの翻訳方法は?
@faq_1061_p
@faq_1062_p
#For more information, see <a href="build.html#translating">Build/Translating</a> .
@features_1000_h1
......@@ -4440,52 +4383,55 @@ Javaは将来への証明でもあります: 多くの会社がJavaをサポー
@history_1024_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_1025_li
#Donald Bleyl, USA
@history_1025_a
#SkyCash, Poland
@history_1026_li
#lumber-mill.co.jp, Japan
#Donald Bleyl, USA
@history_1027_li
#Frank Berger, Germany
#lumber-mill.co.jp, Japan
@history_1028_li
#Ashwin Jayaprakash, USA
#Frank Berger, Germany
@history_1029_li
#Florent Ramiere, France
#Ashwin Jayaprakash, USA
@history_1030_li
#Jun Iyama, Japan
#Florent Ramiere, France
@history_1031_li
#Antonio Casqueiro, Portugal
#Jun Iyama, Japan
@history_1032_li
#Oliver Computing LLC, USA
#Antonio Casqueiro, Portugal
@history_1033_li
#Harpal Grover Consulting Inc., USA
#Oliver Computing LLC, USA
@history_1034_li
#Elisabetta Berlini, Italy
#Harpal Grover Consulting Inc., USA
@history_1035_li
#William Gilbert, USA
#Elisabetta Berlini, Italy
@history_1036_li
#William Gilbert, USA
@history_1037_li
#Antonio Dieguez, Chile
@history_1037_a
@history_1038_a
#Ontology Works, USA
@history_1038_li
@history_1039_li
#Pete Haidinyak, USA
@history_1039_li
@history_1040_li
#William Osmond, USA
@history_1040_li
@history_1041_li
#Joachim Ansorg, Germany
@installation_1000_h1
......@@ -4510,7 +4456,7 @@ Javaは将来への証明でもあります: 多くの会社がJavaをサポー
データベースを実行するために、以下のソフトウェアが動作することを確認します。
@installation_1007_li
Windows XP、MacOS、またはLinux
#Windows XP, Mac OS X, or Linux #Windows XP、MacOS、またはLinux
@installation_1008_li
推奨されるWindowsファイルシステム: NTFS (FAT32は4GB以上ファイルをサポートします)
......@@ -4525,7 +4471,7 @@ Mozilla Firefox 1.5以降
サポートされているプラットフォーム
@installation_1012_p
このデータベースはJavaで書かれているため、多くの異なったプラットフォームで実行することができます。 Java 1.4、1.5、1.6でテストされましたが、GCJを使用することでネイティブコードにコンパイルすることもできます。 ソースコードはJava 1.5の特徴は使われていません。現在、データベースはWindows XPでSun JDK 1.4を使用して開発、テストされていますが、恐らく他の多くのOSと他のJava Runtime Environmentを使用しても動作するでしょう。
#As this database is written in Java, it can run on many different platforms. It is tested with Java 1.4, 1.5, and 1.6 but can also be compiled to native code using GCJ. The source code does not use features of Java 1.5. Currently, the database is developed and tested on Windows XP and Mac OS X using the Sun JDK 1.5, but it also works in many other operating systems and using other Java runtime environments. #このデータベースはJavaで書かれているため、多くの異なったプラットフォームで実行することができます。 Java 1.4、1.5、1.6でテストされましたが、GCJを使用することでネイティブコードにコンパイルすることもできます。 ソースコードはJava 1.5の特徴は使われていません。現在、データベースはWindows XPでSun JDK 1.4を使用して開発、テストされていますが、恐らく他の多くのOSと他のJava Runtime Environmentを使用しても動作するでしょう。
@installation_1013_h2
ソフトウェアのインストール
......@@ -4711,7 +4657,7 @@ Sourceファイル
#Summary and License FAQ
@license_1002_p
#H2 is dual licensed and available under a modified version of the MPL 1.1 ( <a href="http://www.mozilla.org/MPL">Mozilla Public License</a> ) or EPL 1.0 ( <a href="http://opensource.org/licenses/eclipse-1.0.php">Eclipse Public License</a> ). The changes are
#H2 is dual licensed and available under a modified version of the MPL 1.1 ( <a href="http://www.mozilla.org/MPL">Mozilla Public License</a> ) or under the (unmodified) EPL 1.0 ( <a href="http://opensource.org/licenses/eclipse-1.0.php">Eclipse Public License</a> ). The changes to the MPL are
@license_1003_em
#underlined</em> . There is a License FAQ for both the MPL and the EPL, most of that is applicable to the H2 License as well.
......@@ -5575,213 +5521,225 @@ Sourceファイル
#From: NIH Chemical Genomics Center, National Institutes of Health, USA. An open source application in the life sciences research field. This application handles chemical structures and biological responses of thousands of compounds with the potential to handle million+ compounds. It utilizes an embedded H2 database to enable flexible query/retrieval of all data including advanced chemical substructure and similarity searching. The application highlights an automated curve fitting and classification algorithm that outperforms commercial packages in the field. Commercial alternatives are typically small desktop software that handle a few dose response curves at a time. A couple of commercial packages that do handle several thousand curves are very expensive tools (&gt;60k USD) that require manual curation of analysis by the user; require a license to Oracle; lack advanced query/retrieval; and the ability to handle chemical structures.
@links_1133_a
#nWire
#Nuxeo
@links_1134_p
#Eclipse plug-in which expedites Java development. It's main purpose is to help developers find code quicker and easily understand how it relates to the rest of the application, thus, understand the application structure.
#Standards-based, open source platform for building ECM applications.
@links_1135_a
#Ontology Works
#nWire
@links_1136_p
#This company provides semantic technologies including deductive information repositories (the Ontology Works Knowledge Servers), semantic information fusion and semantic federation of legacy databases, ontology-based domain modeling, and management of the distributed enterprise.
#Eclipse plug-in which expedites Java development. It's main purpose is to help developers find code quicker and easily understand how it relates to the rest of the application, thus, understand the application structure.
@links_1137_a
#Ontoprise OntoBroker
#Ontology Works
@links_1138_p
#SemanticWeb-Middleware. It supports all W3C Semantic Web recommendations: OWL, RDF, RDFS, SPARQL, and F-Logic.
#This company provides semantic technologies including deductive information repositories (the Ontology Works Knowledge Servers), semantic information fusion and semantic federation of legacy databases, ontology-based domain modeling, and management of the distributed enterprise.
@links_1139_a
#Open Anzo
#Ontoprise OntoBroker
@links_1140_p
#Semantic Application Server.
#SemanticWeb-Middleware. It supports all W3C Semantic Web recommendations: OWL, RDF, RDFS, SPARQL, and F-Logic.
@links_1141_a
#OpenGroove
#Open Anzo
@links_1142_p
#OpenGroove is a groupware program that allows users to synchronize data.
#Semantic Application Server.
@links_1143_a
#Orion
#OpenGroove
@links_1144_p
#J2EE Application Server.
#OpenGroove is a groupware program that allows users to synchronize data.
@links_1145_a
#P5H2
#Orion
@links_1146_p
#A library for the <a href="http://www.processing.org">Processing</a> programming language and environment.
#J2EE Application Server.
@links_1147_a
#Phase-6
#P5H2
@links_1148_p
#A computer based learning software.
#A library for the <a href="http://www.processing.org">Processing</a> programming language and environment.
@links_1149_a
#Pickle
#Phase-6
@links_1150_p
#Pickle is a Java library containing classes for persistence, concurrency, and logging.
#A computer based learning software.
@links_1151_a
#Piman
#Pickle
@links_1152_p
#Water treatment projects data management.
#Pickle is a Java library containing classes for persistence, concurrency, and logging.
@links_1153_a
#PolePosition
#Piman
@links_1154_p
#Open source database benchmark.
#Water treatment projects data management.
@links_1155_a
#Poormans
#PolePosition
@links_1156_p
#Very basic CMS running as a SWT application and generating static html pages.
#Open source database benchmark.
@links_1157_a
#Railo
#Poormans
@links_1158_p
#Railo is an alternative engine for the Cold Fusion Markup Language, that compiles code programmed in CFML into Java bytecode and executes it on a servlet engine.
#Very basic CMS running as a SWT application and generating static html pages.
@links_1159_a
#Razuna
#Railo
@links_1160_p
#Open source Digital Asset Management System with integrated Web Content Management.
#Railo is an alternative engine for the Cold Fusion Markup Language, that compiles code programmed in CFML into Java bytecode and executes it on a servlet engine.
@links_1161_a
#RIFE
#Razuna
@links_1162_p
#A full-stack web application framework with tools and APIs to implement most common web features.
#Open source Digital Asset Management System with integrated Web Content Management.
@links_1163_a
#Rutema
#RIFE
@links_1164_p
#Rutema is a test execution and management tool for heterogeneous development environments written in Ruby.
#A full-stack web application framework with tools and APIs to implement most common web features.
@links_1165_a
#Sava
#Rutema
@links_1166_p
#Open-source web-based content management system.
#Rutema is a test execution and management tool for heterogeneous development environments written in Ruby.
@links_1167_a
#Scriptella
#Sava
@links_1168_p
#ETL (Extract-Transform-Load) and script execution tool.
#Open-source web-based content management system.
@links_1169_a
#Sesar
#Scriptella
@links_1170_p
#Dependency Injection Container with Aspect Oriented Programming.
#ETL (Extract-Transform-Load) and script execution tool.
@links_1171_a
#SemmleCode
#Sesar
@links_1172_p
#Eclipse plugin to help you improve software quality.
#Dependency Injection Container with Aspect Oriented Programming.
@links_1173_a
#SeQuaLite
#SemmleCode
@links_1174_p
#A free, light-weight, java data access framework.
#Eclipse plugin to help you improve software quality.
@links_1175_a
#ShapeLogic
#SeQuaLite
@links_1176_p
#Toolkit for declarative programming, image processing and computer vision.
#A free, light-weight, java data access framework.
@links_1177_a
#Shellbook
#ShapeLogic
@links_1178_p
#Desktop publishing application.
#Toolkit for declarative programming, image processing and computer vision.
@links_1179_a
#Signsoft intelliBO
#Shellbook
@links_1180_p
#Persistence middleware supporting the JDO specification.
#Desktop publishing application.
@links_1181_a
#SimpleORM
#Signsoft intelliBO
@links_1182_p
#Simple Java Object Relational Mapping.
#Persistence middleware supporting the JDO specification.
@links_1183_a
#SmartFoxServer
#SimpleORM
@links_1184_p
#Platform for developing multiuser applications and games with Macromedia Flash.
#Simple Java Object Relational Mapping.
@links_1185_a
#Social Bookmarks Friend Finder
#SymmetricDS
@links_1186_p
#A GUI application that allows you to find users with similar bookmarks to the user specified (for delicious.com).
#A web-enabled, database independent, data synchronization/replication software.
@links_1187_a
#SQLOrm
#SmartFoxServer
@links_1188_p
#Java Object Relation Mapping.
#Platform for developing multiuser applications and games with Macromedia Flash.
@links_1189_a
#StorYBook
#Social Bookmarks Friend Finder
@links_1190_p
#A summary-based tool for novelist and script writers. It helps to keep the overview over the various traces a story has.
#A GUI application that allows you to find users with similar bookmarks to the user specified (for delicious.com).
@links_1191_a
#StreamCruncher
#SQLOrm
@links_1192_p
#Event (stream) processing kernel.
#Java Object Relation Mapping.
@links_1193_a
#Tune Backup
#StorYBook
@links_1194_p
#Easy-to-use backup solution for your iTunes library.
#A summary-based tool for novelist and script writers. It helps to keep the overview over the various traces a story has.
@links_1195_a
#weblica
#StreamCruncher
@links_1196_p
#Desktop CMS.
#Event (stream) processing kernel.
@links_1197_a
#Web of Web
#Tune Backup
@links_1198_p
#Collaborative and realtime interactive media platform for the web.
#Easy-to-use backup solution for your iTunes library.
@links_1199_a
#Werkzeugkasten
#weblica
@links_1200_p
#Minimum Java Toolset.
#Desktop CMS.
@links_1201_a
#Volunteer database
#Web of Web
@links_1202_p
#Collaborative and realtime interactive media platform for the web.
@links_1203_a
#Werkzeugkasten
@links_1204_p
#Minimum Java Toolset.
@links_1205_a
#Volunteer database
@links_1206_p
#A database front end to register volunteers, partnership and donation for a Non Profit organization.
@mainWeb_1000_h1
......@@ -5806,7 +5764,7 @@ H2 データベース エンジン
#Download Beta
@mainWeb_1007_td
#Version 1.1.106 (2009-01-04):
#Version 1.1.107 (2009-01-24):
@mainWeb_1008_a
#Windows Installer (3.1 MB)
......@@ -7161,79 +7119,79 @@ JDBCドライバークラスを使用する: <code>org.h2.Driver</code>
@quickstart_1007_li
データベースURL <code>jdbc:h2:~/test</code> ユーザーホームディレクトリ内の "test" でデータベースを開く
@quickstart_1008_h2
@quickstart_1008_li
#A new database is automatically created
@quickstart_1009_h2
H2 コンソール アプリケーション
@quickstart_1009_p
@quickstart_1010_p
このコンソールはブラウザインターフェースを使ってSQL データベースにアクセスします。
@quickstart_1010_p
@quickstart_1011_p
Windows XPをご使用でなかったり、期待通りに機能しない場合は、<a href="tutorial.html">チュートリアル</a>内の詳細説明をご覧下さい。
@quickstart_1011_h3
@quickstart_1012_h3
手順
@quickstart_1012_h4
@quickstart_1013_h4
インストール
@quickstart_1013_p
@quickstart_1014_p
Windows インストーラーを使用してソフトウェアをインストールしましょう (まだインストールされていない場合)。
@quickstart_1014_h4
@quickstart_1015_h4
コンソールを起動する
@quickstart_1015_p
<span class="button">スタート</span>、
<span class="button">すべてのプログラム</span>、
<span class="button">H2</span>、
<span class="button">H2 Console (Command Line)</span>をクリックします:
@quickstart_1016_p
コンソールウィンドウが 開きます:
#Click [Start], [All Programs], [H2], and [H2 Console (Command Line)]: #コンソールウィンドウが 開きます:
@quickstart_1017_p
コンソールウィンドウが 開きます:
@quickstart_1018_p
#Also, a new browser page should open with the URL <a href="http://localhost:8082">http://localhost:8082</a> . You may get a security warning from the firewall. If you don't want other computers in the network to access the database on your machine, you can let the firewall block these connections. Only local connections are required at this time.
@quickstart_1018_h4
@quickstart_1019_h4
ログイン
@quickstart_1019_p
<span class="button">Generic H2</span>を選び、<span class="button">Connect</span>をクリックします:
@quickstart_1020_p
#Select [Generic H2] and click [Connect]: #ログインされました。
@quickstart_1021_p
ログインされました。
@quickstart_1021_h4
@quickstart_1022_h4
サンプル
@quickstart_1022_p
<span class="button">Sample SQL Script</span>をクリックします。:
@quickstart_1023_p
#Click on the [Sample SQL Script]: #SQLコマンドがコマンドエリアに表示されます。
@quickstart_1024_p
SQLコマンドがコマンドエリアに表示されます。
@quickstart_1024_h4
@quickstart_1025_h4
実行する
@quickstart_1025_p
<span class="button">Run</span>をクリックします:
@quickstart_1026_p
#Click [Run] #左側のデータベースアイコンの下に、 新しいテーブル TEST が追加されます。動作とステートメントの結果は、スクリプトの下に表示されます。
@quickstart_1027_p
左側のデータベースアイコンの下に、 新しいテーブル TEST が追加されます。動作とステートメントの結果は、スクリプトの下に表示されます。
@quickstart_1027_h4
@quickstart_1028_h4
切断
@quickstart_1028_p
<span class="button">Disconnect</span>をクリックします:
@quickstart_1029_p
#Click on [Disconnect]: #データベースを閉じます
@quickstart_1030_p
データベースを閉じます
@quickstart_1030_h4
@quickstart_1031_h4
終了
@quickstart_1031_p
@quickstart_1032_p
コンソールウィンドウを閉じます。詳細は<a href="tutorial.html">チュートリアル</a>をご覧下さい。
@roadmap_1000_h1
......@@ -7378,7 +7336,7 @@ SQLコマンドがコマンドエリアに表示されます。
#Test with dbcopy (http://dbcopyplugin.sourceforge.net)
@roadmap_1047_li
#Test with Spatial DB in a box / JTS
#Test with Spatial DB in a box / JTS: http://www.opengeospatial.org/standards/sfs - OpenGIS Implementation Specification
@roadmap_1048_li
#Write more tests and documentation for MVCC (Multi Version Concurrency Control)
......@@ -7927,7 +7885,7 @@ SQLコマンドがコマンドエリアに表示されます。
#Support compatibility for jdbc:hsqldb:res:
@roadmap_1230_li
#In the MySQL and PostgreSQL, use lower case identifiers by default (DatabaseMetaData.storesLowerCaseIdentifiers = true)
#In the MySQL and PostgreSQL mode, use lower case identifiers by default (DatabaseMetaData.storesLowerCaseIdentifiers = true)
@roadmap_1231_li
#Provide a simple, lightweight O/R mapping tool
......@@ -8331,13 +8289,22 @@ SQLコマンドがコマンドエリアに表示されます。
@roadmap_1364_li
#Delete temporary files or objects using finalize.
@roadmap_1365_h2
#Not Planned
@roadmap_1365_li
#MySQL, MS SQL Server compatibility: support case sensitive (mixed case) identifiers without quotes.
@roadmap_1366_li
#HSQLDB (did) support this: select id i from test where i>0 (other databases don't). Supporting it may break compatibility.
#Oracle compatibility: support calling 0-parameters functions without parenthesis. Make constants obsolete.
@roadmap_1367_li
#MySQL, HSQLDB compatibility: support where 'a'=1 (not supported by Derby, PostgreSQL)
@roadmap_1368_h2
#Not Planned
@roadmap_1369_li
#HSQLDB (did) support this: select id i from test where i>0 (other databases don't). Supporting it may break compatibility.
@roadmap_1370_li
#String.intern (so that Strings can be compared with ==) will not be used because some VMs have problems when used extensively.
@search_1000_b
......@@ -8512,7 +8479,7 @@ Java Web Start / JNLP
起動とH2コンソールの使用
@tutorial_1020_p
このアプリケーションはブラウザインターフェースを使ってSQLデータベースにアクセスします。 これは、H2データベース、またはJDBC APIをサポートする別のデータベースであるかもしれません。
#The H2 Console application lets you access a SQL database using a browser interface. This can be a H2 database, or another database that supports the JDBC API. #このアプリケーションはブラウザインターフェースを使ってSQLデータベースにアクセスします。 これは、H2データベース、またはJDBC APIをサポートする別のデータベースであるかもしれません。
@tutorial_1021_p
これはクライアント / サーバーアプリケーションで、サーバーとクライアントの両方実行されることが必要です。
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -667,7 +667,7 @@ COMMIT TRANSACTION XID_TEST
"Commands (Other)","CHECKPOINT","
CHECKPOINT
","
Flushes the log and data files and switches to a new log file.
Flushes the log and data files and switches to a new log file if possible.
Admin rights are required to execute this command.
","
CHECKPOINT
......
......@@ -13,7 +13,7 @@ alexahin alexander algo algorithm algorithms alias aliased aliases aliasing alig
aligned alive all allclasses alleging allocate allocated allocation allow allowed
allowing allows almost alone along alpha already also alt alter altering
alternate alternative alternatives alters altersequence always ambiguous amount
amp amt analyse analysis analyze analyzer analyzing anchor and andrew android
amp amt analysis analyze analyzer analyzing anchor and andrew android
andy ang angle animal anne annual anon anonymous another ansi ant anti antonio
any anyone anything anyway anywhere apache api apos app apparatus appear appears
append appended appending appendix appends apple apples applets applicable
......@@ -579,4 +579,4 @@ xive evolving mssqlserver eric respond faulhaber fixing northern lying
federal santa america county clara courts california york venue away stages
titles headers grew orchestration social razor finder ranging friend intervals
bot jot delicious rife appenders circles spelling cash sky ecm nuxeo poland
opengeospatial sfs
opengeospatial sfs symmetric obsolete failing parenthesis unloading
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论