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

--no commit message

--no commit message
上级 6abab875
#Sat Mar 29 10:53:56 CET 2008 #Sat Mar 29 10:53:56 CET 2008
benchmark.drivers.dir=C\:/data/java benchmark.drivers.dir=C\:/data/java
javac=javac javac=javac
version.name.maven=1.0.69 version.name.maven=1.0.70
...@@ -118,7 +118,7 @@ ...@@ -118,7 +118,7 @@
</jar> </jar>
</target> </target>
<target name="jarClient" depends="resources, manifest"> <target name="jarClient" depends="switchSourceAuto, resources, manifest">
<javac executable="${javac}" srcdir="src/main" destdir="bin" debug="true" debuglevel="lines,source"> <javac executable="${javac}" srcdir="src/main" destdir="bin" debug="true" debuglevel="lines,source">
<include name="org/h2/*" /> <include name="org/h2/*" />
<include name="org/h2/jdbc/**" /> <include name="org/h2/jdbc/**" />
...@@ -165,7 +165,7 @@ ...@@ -165,7 +165,7 @@
<mkdir dir="docs/javadocImpl"/> <mkdir dir="docs/javadocImpl"/>
<javadoc <javadoc
sourcepath="src/main;src/test;src/tools" sourcepath="src/main;src/test;src/tools"
classpath="${path.lucene.jar};${path.servlet.jar};${java.class.path}" classpath="ext/servlet-api-2.4.jar;ext/lucene-core-2.2.0.jar;${java.class.path}"
packagenames="org.h2.*" packagenames="org.h2.*"
doclet="org.h2.build.doclet.Doclet" doclet="org.h2.build.doclet.Doclet"
docletpath="bin" docletpath="bin"
...@@ -176,7 +176,7 @@ ...@@ -176,7 +176,7 @@
noindex="true" noindex="true"
packagenames="org.h2.*" packagenames="org.h2.*"
excludepackagenames="org.h2.build.*,org.h2.dev.*" excludepackagenames="org.h2.build.*,org.h2.dev.*"
classpath="${path.lucene.jar};${path.servlet.jar};${java.class.path}" classpath="ext/servlet-api-2.4.jar;ext/lucene-core-2.2.0.jar;${java.class.path}"
destDir="docs/javadocImpl" destDir="docs/javadocImpl"
/> />
<copy todir="docs/javadoc"> <copy todir="docs/javadoc">
......
...@@ -84,7 +84,7 @@ Example: ...@@ -84,7 +84,7 @@ Example:
&lt;dependency&gt; &lt;dependency&gt;
&lt;groupId&gt;com.h2database&lt;/groupId&gt; &lt;groupId&gt;com.h2database&lt;/groupId&gt;
&lt;artifactId&gt;h2&lt;/artifactId&gt; &lt;artifactId&gt;h2&lt;/artifactId&gt;
&lt;version&gt;1.0.69&lt;/version&gt; &lt;version&gt;1.0.70&lt;/version&gt;
&lt;/dependency&gt; &lt;/dependency&gt;
</pre> </pre>
<p> <p>
......
...@@ -15,6 +15,11 @@ Change Log ...@@ -15,6 +15,11 @@ Change Log
<h2>Next Version (unreleased)</h2> <h2>Next Version (unreleased)</h2>
<ul> <ul>
<li>-
</li></ul>
<h2>Version 1.0.70 (2008-04-20)</h2>
<ul>
<li>The plan is to dual-license H2. The additional license is EPL (Eclipse Public License). <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. The current license (MPL, Mozilla Public License) will stay.
Current users are not affected because they can keep MPL. Current users are not affected because they can keep MPL.
...@@ -48,7 +53,7 @@ Change Log ...@@ -48,7 +53,7 @@ Change Log
more by removing unneeded components. more by removing unneeded components.
</li><li>Added shell scripts run.sh and build.sh. chmod +x is required, </li><li>Added shell scripts run.sh and build.sh. chmod +x is required,
but otherwise it should work. Feedback or improvements are welcome! but otherwise it should work. Feedback or improvements are welcome!
</li><li>Databases in zip files: large queries are now support. Temp files are created in </li><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 temp directory if required. The documentation how to create
the zip file has been corrected. the zip file has been corrected.
</li><li>Invalid inline views threw confusing SQL exceptions. </li><li>Invalid inline views threw confusing SQL exceptions.
......
...@@ -15,16 +15,16 @@ H2 Database Engine ...@@ -15,16 +15,16 @@ H2 Database Engine
<h1>Downloads</h1> <h1>Downloads</h1>
<h3>Version 1.0.69 (2008-03-29, Current)</h3> <h3>Version 1.0.69 (2008-04-20, Current)</h3>
<p> <p>
<a href="http://www.h2database.com/h2-setup-2008-03-29.exe">Windows Installer</a><br /> <a href="http://www.h2database.com/h2-setup-2008-04-20.exe">Windows Installer</a><br />
<a href="http://www.h2database.com/h2-2008-03-29.zip">Platform-Independent Zip</a><br /> <a href="http://www.h2database.com/h2-2008-04-20.zip">Platform-Independent Zip</a><br />
</p> </p>
<h3>Version 1.0.68 (2008-03-15, Last Stable)</h3> <h3>Version 1.0.68 (2008-03-29, Last Stable)</h3>
<p> <p>
<a href="http://www.h2database.com/h2-setup-2008-03-15.exe">Windows Installer</a><br /> <a href="http://www.h2database.com/h2-setup-2008-03-29.exe">Windows Installer</a><br />
<a href="http://www.h2database.com/h2-2008-03-15.zip">Platform-Independent Zip</a><br /> <a href="http://www.h2database.com/h2-2008-03-29.zip">Platform-Independent Zip</a><br />
</p> </p>
<h3>Download Mirror and Older Versions</h3> <h3>Download Mirror and Older Versions</h3>
......
...@@ -32,17 +32,17 @@ Welcome to H2, the Java SQL database. The main feature of H2 are: ...@@ -32,17 +32,17 @@ Welcome to H2, the Java SQL database. The main feature of H2 are:
<table style="border: 0px; margin: 5px; background-color: #eee;"> <table style="border: 0px; margin: 5px; background-color: #eee;">
<tr><td style="border: 0px; background-color: #eee;" colspan="2"> <tr><td style="border: 0px; background-color: #eee;" colspan="2">
<h3>Download</h3> <h3>Download</h3>
Version 1.0.69 (2008-03-29): Version 1.0.70 (2008-04-20):
</td></tr> </td></tr>
<tr><td style="border: 0px; background-color: #eee;"> <tr><td style="border: 0px; background-color: #eee;">
<a href="http://www.h2database.com/h2-setup-2008-03-29.exe"><img border="1" src="images/download.png" alt="download" /></a> <a href="http://www.h2database.com/h2-setup-2008-04-20.exe"><img border="1" src="images/download.png" alt="download" /></a>
</td><td style="vertical-align: middle; border: 0px; background-color: #eee;"> </td><td style="vertical-align: middle; border: 0px; background-color: #eee;">
<a href="http://www.h2database.com/h2-setup-2008-03-29.exe">Windows Installer (3.0 MB)</a> <a href="http://www.h2database.com/h2-setup-2008-04-20.exe">Windows Installer (3.1 MB)</a>
</td></tr> </td></tr>
<tr><td style="border: 0px; background-color: #eee;"> <tr><td style="border: 0px; background-color: #eee;">
<a href="http://www.h2database.com/h2-2008-03-29.zip"><img border="1" src="images/download.png" alt="download" /></a> <a href="http://www.h2database.com/h2-2008-04-20.zip"><img border="1" src="images/download.png" alt="download" /></a>
</td><td style="vertical-align: middle; border: 0px; background-color: #eee;"> </td><td style="vertical-align: middle; border: 0px; background-color: #eee;">
<a href="http://www.h2database.com/h2-2008-03-29.zip">All platforms (zip, 4.2 MB)</a> <a href="http://www.h2database.com/h2-2008-04-20.zip">All platforms (zip, 4.5 MB)</a>
</td></tr> </td></tr>
<tr><td style="border: 0px; background-color: #eee;" colspan="2"> <tr><td style="border: 0px; background-color: #eee;" colspan="2">
<a href="download.html">All Downloads</a> <a href="download.html">All Downloads</a>
......
...@@ -1001,844 +1001,850 @@ Change Log ...@@ -1001,844 +1001,850 @@ Change Log
Next Version (unreleased) Next Version (unreleased)
@changelog_1002_li @changelog_1002_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_1003_li @changelog_1003_h2
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. Version 1.0.70 (2008-04-20)
@changelog_1004_li @changelog_1004_li
Calling SHUTDOWN on one connection and starting a query on another connection concurrently could result in a Java level deadlock. 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_1005_li @changelog_1005_li
New system property h2.enableAnonymousSSL (default: true) to enable anonymous SSL connections. 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_1006_li @changelog_1006_li
The precision if SUBSTR is now calculated if possible. Calling SHUTDOWN on one connection and starting a query on another connection concurrently could result in a Java level deadlock.
@changelog_1007_li @changelog_1007_li
The autocomplete in the H2 Console has been improved a bit. New system property h2.enableAnonymousSSL (default: true) to enable anonymous SSL connections.
@changelog_1008_li @changelog_1008_li
The tools in the H2 Console are now translatable. The precision if SUBSTR is now calculated if possible.
@changelog_1009_li @changelog_1009_li
The servlet and lucene jar files are now automatically downloaded when building. The autocomplete in the H2 Console has been improved a bit.
@changelog_1010_li @changelog_1010_li
The code switch tool has been replaced by a simpler tool called SwitchSource that just uses find and replace. The tools in the H2 Console are now translatable.
@changelog_1011_li @changelog_1011_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. The servlet and lucene jar files are now automatically downloaded when building.
@changelog_1012_li @changelog_1012_li
The jar file is now about 10% smaller because the variable debugging info is no longer included. The source file and line number debugging info is still included. If required, the jar file size of the full version can be further reduced to about 720 KB using 'build jarSmall' or even more by removing unneeded components. The code switch tool has been replaced by a simpler tool called SwitchSource that just uses find and replace.
@changelog_1013_li @changelog_1013_li
Added shell scripts run.sh and build.sh. chmod +x is required, but otherwise it should work. Feedback or improvements are welcome! 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_1014_li @changelog_1014_li
Databases in zip files: large queries are now support. Temp files are created in the temp directory if required. The documentation how to create the zip file has been corrected. 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_1015_li @changelog_1015_li
Invalid inline views threw confusing SQL exceptions. Added shell scripts run.sh and build.sh. chmod +x is required, but otherwise it should work. Feedback or improvements are welcome!
@changelog_1016_li @changelog_1016_li
The Japanese translation of the error messages and the H2 Console has been improved. Thanks a lot to Masahiro IKEMOTO. 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_1017_li @changelog_1017_li
Optimization for MIN() and MAX() when using MVCC. Invalid inline views threw confusing SQL exceptions.
@changelog_1018_li @changelog_1018_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. The Japanese translation of the error messages and the H2 Console has been improved. Thanks a lot to Masahiro IKEMOTO.
@changelog_1019_li @changelog_1019_li
After setting the query timeout and then resetting it, the next query would still timeout. Fixed. Optimization for MIN() and MAX() when using MVCC.
@changelog_1020_li @changelog_1020_li
Adding a IDENTITY column to a table with data threw a lock timeout. 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_1021_li @changelog_1021_li
OutOfMemoryError could occur when using EXISTS or IN(SELECT ..). After setting the query timeout and then resetting it, the next query would still timeout. Fixed.
@changelog_1022_li @changelog_1022_li
The built-in connection pool is not called JdbcConnectionPool. The API and documentation has been changed. Adding a IDENTITY column to a table with data threw a lock timeout.
@changelog_1023_li @changelog_1023_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). OutOfMemoryError could occur when using EXISTS or IN(SELECT ..).
@changelog_1024_li @changelog_1024_li
The built-in connection pool is not called JdbcConnectionPool. The API and documentation has been changed.
@changelog_1025_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_1026_li
Nested joins are now supported (A JOIN B JOIN C ON .. ON ..) Nested joins are now supported (A JOIN B JOIN C ON .. ON ..)
@changelog_1025_h2 @changelog_1027_h2
Version 1.0.69 (2008-03-29) Version 1.0.69 (2008-03-29)
@changelog_1026_li @changelog_1028_li
Most command line tools can now be called from within the H2 Console. Most command line tools can now be called from within the H2 Console.
@changelog_1027_li @changelog_1029_li
A new Shell tools is now included (org.h2.tools.Shell) to query a database from the command line. A new Shell tools is now included (org.h2.tools.Shell) to query a database from the command line.
@changelog_1028_li @changelog_1030_li
The command line options in the tools have changed: instead of '-log true' now '-trace' is used. Also, '-ifExists', '-tcpSSL' and '-tcpAllowOthers' and so on have changed: now the 'true' is no longer needed. The old behavior is still supported. The command line options in the tools have changed: instead of '-log true' now '-trace' is used. Also, '-ifExists', '-tcpSSL' and '-tcpAllowOthers' and so on have changed: now the 'true' is no longer needed. The old behavior is still supported.
@changelog_1029_li @changelog_1031_li
New system property h2.sortNullsHigh to invert the default sorting behavior for NULL. The default didn't change. New system property h2.sortNullsHigh to invert the default sorting behavior for NULL. The default didn't change.
@changelog_1030_li @changelog_1032_li
Performance was very slow when using LOG=2 and deleting or updating all rows of a table in a loop. Fixed. Performance was very slow when using LOG=2 and deleting or updating all rows of a table in a loop. Fixed.
@changelog_1031_li @changelog_1033_li
ALTER TABLE or CREATE TABLE now support parameters for the password field. ALTER TABLE or CREATE TABLE now support parameters for the password field.
@changelog_1032_li @changelog_1034_li
The linear hash has been removed. It was always slower than the b-tree index, and there were some bugs that would be hard to fix. The linear hash has been removed. It was always slower than the b-tree index, and there were some bugs that would be hard to fix.
@changelog_1033_li @changelog_1035_li
TRACE_LEVEL_ settings are no longer persistent. This was a problem when database initialization code caused a lot of trace output. TRACE_LEVEL_ settings are no longer persistent. This was a problem when database initialization code caused a lot of trace output.
@changelog_1034_li @changelog_1036_li
Fulltext search (native implementation): The words table is no longer an in-memory table because this caused memory problems in some cases. Fulltext search (native implementation): The words table is no longer an in-memory table because this caused memory problems in some cases.
@changelog_1035_li @changelog_1037_li
It was possible to create a role with the name as an existing user (but not vice versa). This is not allowed any more. It was possible to create a role with the name as an existing user (but not vice versa). This is not allowed any more.
@changelog_1036_li @changelog_1038_li
The recovery tool didn't work correctly for tables without rows. The recovery tool didn't work correctly for tables without rows.
@changelog_1037_li @changelog_1039_li
For years below 1, the YEAR method didn't return the correct value, and the conversion from date and timestamp to varchar was incorrect. For years below 1, the YEAR method didn't return the correct value, and the conversion from date and timestamp to varchar was incorrect.
@changelog_1038_li @changelog_1040_li
CSVWRITE caused a NullPointerException when not specifying a nullString. CSVWRITE caused a NullPointerException when not specifying a nullString.
@changelog_1039_li @changelog_1041_li
When a log file switch occured just after a truncate table or drop table statement, the database could not be started normally (RECOVER=1 was required). Fixed. When a log file switch occured just after a truncate table or drop table statement, the database could not be started normally (RECOVER=1 was required). Fixed.
@changelog_1040_li @changelog_1042_li
When a log file switch occured in the middle of a sequence flush (sequences are only flushed every 32 values by default), the sequence value was lost. Fixed. When a log file switch occured in the middle of a sequence flush (sequences are only flushed every 32 values by default), the sequence value was lost. Fixed.
@changelog_1041_li @changelog_1043_li
Altering a sequence didn't unlock the system table when autocommit switched off. Altering a sequence didn't unlock the system table when autocommit switched off.
@changelog_1042_h2 @changelog_1044_h2
Version 1.0.68 (2008-03-18) Version 1.0.68 (2008-03-18)
@changelog_1043_li @changelog_1045_li
Very large SELECT DISTINCT and UNION EXCEPT queries are now supported, however this feature is disabled by default. To enable it, set the system property h2.maxMemoryRowsDistinct to a lower value, for example 10000. Very large SELECT DISTINCT and UNION EXCEPT queries are now supported, however this feature is disabled by default. To enable it, set the system property h2.maxMemoryRowsDistinct to a lower value, for example 10000.
@changelog_1044_li @changelog_1046_li
A error is now thrown when trying to call a method inside a trigger that implicitly commits the current transaction, if an object is locked. A error is now thrown when trying to call a method inside a trigger that implicitly commits the current transaction, if an object is locked.
@changelog_1045_li @changelog_1047_li
Unused LOB files were deleted much too late. Now they are deleted if no longer referenced in memory. Unused LOB files were deleted much too late. Now they are deleted if no longer referenced in memory.
@changelog_1046_li @changelog_1048_li
ALTER SEQUENCE and ALTER TABLE ALTER COLUMN RESTART can now be used inside a transaction. ALTER SEQUENCE and ALTER TABLE ALTER COLUMN RESTART can now be used inside a transaction.
@changelog_1047_li @changelog_1049_li
New system property h2.aliasColumnName. When enabled, aliased columns (as in SELECT ID AS I FROM TEST) return the real table and column name in ResultSetMetaData.getTableName() and getColumnName(). This is disabled by default for compatibility with other databases (HSQLDB, Apache Derby, PostgreSQL, some version of MySQL). In version 1.1 this setting will be enabled. New system property h2.aliasColumnName. When enabled, aliased columns (as in SELECT ID AS I FROM TEST) return the real table and column name in ResultSetMetaData.getTableName() and getColumnName(). This is disabled by default for compatibility with other databases (HSQLDB, Apache Derby, PostgreSQL, some version of MySQL). In version 1.1 this setting will be enabled.
@changelog_1048_li @changelog_1050_li
When using encrypted databases, and using the wrong file password, the log file was renamed if the database was not already open. Fixed. When using encrypted databases, and using the wrong file password, the log file was renamed if the database was not already open. Fixed.
@changelog_1049_li @changelog_1051_li
Improved performance when using lob files in directories (however this is still disabled by default) Improved performance when using lob files in directories (however this is still disabled by default)
@changelog_1050_li @changelog_1052_li
H2 Console: autocomplete didn't work with very large scripts. Fixed. H2 Console: autocomplete didn't work with very large scripts. Fixed.
@changelog_1051_li @changelog_1053_li
Fulltext search: new method SEARCH_DATA that returns the column names and primary keys as arrays. Fulltext search: new method SEARCH_DATA that returns the column names and primary keys as arrays.
@changelog_1052_li @changelog_1054_li
New experimental optimization for GROUP BY queries if an index can be used that matches the group by columns. To enable this optimization, set the system property h2.optimizeGroupSorted to true. New experimental optimization for GROUP BY queries if an index can be used that matches the group by columns. To enable this optimization, set the system property h2.optimizeGroupSorted to true.
@changelog_1053_li @changelog_1055_li
When using multi-version concurrency (MVCC=TRUE), duplicate rows could appear in the result set when running queries with uncommitted changes in the same session. When using multi-version concurrency (MVCC=TRUE), duplicate rows could appear in the result set when running queries with uncommitted changes in the same session.
@changelog_1054_li @changelog_1056_li
H2 Console: remote connections were very slow because getHostName/getRemoteHost was used. Fixed (now using getHostAddress/getRemoteAddr. H2 Console: remote connections were very slow because getHostName/getRemoteHost was used. Fixed (now using getHostAddress/getRemoteAddr.
@changelog_1055_li @changelog_1057_li
H2 Console: on Linux, Firefox, Konqueror, or Opera (in this order) are now started if available. This has been tested on Ubuntu. H2 Console: on Linux, Firefox, Konqueror, or Opera (in this order) are now started if available. This has been tested on Ubuntu.
@changelog_1056_li @changelog_1058_li
H2 Console: the start window works better with IKVM H2 Console: the start window works better with IKVM
@changelog_1057_li @changelog_1059_li
H2 Console: improved compatibility with Safari (Safari requires keep-alive) H2 Console: improved compatibility with Safari (Safari requires keep-alive)
@changelog_1058_li @changelog_1060_li
Random: the process didn't stop if generating the random seed using the standard way (SecureRandom.generateSeed) was very slow. Now using a daemon thread to avoid this problem. Random: the process didn't stop if generating the random seed using the standard way (SecureRandom.generateSeed) was very slow. Now using a daemon thread to avoid this problem.
@changelog_1059_li @changelog_1061_li
SELECT UNION with a different number of ORDER BY columns did throw an ArrayIndexOutOfBoundsException. SELECT UNION with a different number of ORDER BY columns did throw an ArrayIndexOutOfBoundsException.
@changelog_1060_li @changelog_1062_li
When using a view, the column precision was changed to the default scale for some data types. When using a view, the column precision was changed to the default scale for some data types.
@changelog_1061_li @changelog_1063_li
CSVWRITE now supports a 'null string' that is used for parsing and writing NULL. CSVWRITE now supports a 'null string' that is used for parsing and writing NULL.
@changelog_1062_li @changelog_1064_li
Some long running queries could not be cancelled. Some long running queries could not be cancelled.
@changelog_1063_li @changelog_1065_li
Queries with many outer join tables were very slow. Fixed. Queries with many outer join tables were very slow. Fixed.
@changelog_1064_li @changelog_1066_li
The performance of text comparison has been improved when using locale sensitive string comparison (SET COLLATOR). Now CollationKey is used with a LRU cache. The default cache size is 10000, and can be changed using the system property h2.collatorCacheSize. Use 0 to disable the cache. The performance of text comparison has been improved when using locale sensitive string comparison (SET COLLATOR). Now CollationKey is used with a LRU cache. The default cache size is 10000, and can be changed using the system property h2.collatorCacheSize. Use 0 to disable the cache.
@changelog_1065_li @changelog_1067_li
UPDATE SET column=DEFAULT is now supported. UPDATE SET column=DEFAULT is now supported.
@changelog_1066_h2 @changelog_1068_h2
Version 1.0.67 (2008-02-22) Version 1.0.67 (2008-02-22)
@changelog_1067_li @changelog_1069_li
New function FILE_READ to read a file or from an URL. Both binary and text data is supported. New function FILE_READ to read a file or from an URL. Both binary and text data is supported.
@changelog_1068_li @changelog_1070_li
CREATE TABLE AS SELECT now supports specifying the column list and data types. CREATE TABLE AS SELECT now supports specifying the column list and data types.
@changelog_1069_li @changelog_1071_li
Connecting to a TCP server and at shutting it down at the same time could cause a Java level deadlock. Connecting to a TCP server and at shutting it down at the same time could cause a Java level deadlock.
@changelog_1070_li @changelog_1072_li
A user now has all rights on his own local temporary tables. A user now has all rights on his own local temporary tables.
@changelog_1071_li @changelog_1073_li
The CSV tool now supports a custom lineSeparator. The CSV tool now supports a custom lineSeparator.
@changelog_1072_li @changelog_1074_li
When using multiple connections, empty space was reused too early sometimes. This could corrupt the database when recovering. When using multiple connections, empty space was reused too early sometimes. This could corrupt the database when recovering.
@changelog_1073_li @changelog_1075_li
The H2 Console has been translated to Dutch. Thanks a lot to Remco Schoen! The H2 Console has been translated to Dutch. Thanks a lot to Remco Schoen!
@changelog_1074_li @changelog_1076_li
Databases can now be opened even if trigger classes are not in the classpath. The exception is thrown when trying to fire the trigger. Databases can now be opened even if trigger classes are not in the classpath. The exception is thrown when trying to fire the trigger.
@changelog_1075_li @changelog_1077_li
Opening databases with ACCESS_MODE_DATA=r is now supported. In this case the database is read-only, but the files don't not need to be read-only. Opening databases with ACCESS_MODE_DATA=r is now supported. In this case the database is read-only, but the files don't not need to be read-only.
@changelog_1076_li @changelog_1078_li
Security: The database now waits 200 ms before throwing an exception if the user name or password don't match, to slow down dictionary attacks. Security: The database now waits 200 ms before throwing an exception if the user name or password don't match, to slow down dictionary attacks.
@changelog_1077_li @changelog_1079_li
The value cache is now a soft reference cache. This should help save memory. The value cache is now a soft reference cache. This should help save memory.
@changelog_1078_li @changelog_1080_li
CREATE INDEX on a table with many rows could run out of memory. Fixed. CREATE INDEX on a table with many rows could run out of memory. Fixed.
@changelog_1079_li @changelog_1081_li
Large result sets are now a bit faster. Large result sets are now a bit faster.
@changelog_1080_li @changelog_1082_li
ALTER TABLE ALTER COLUMN RESTART and ALTER SEQUENCE now support parameters (any expressions). ALTER TABLE ALTER COLUMN RESTART and ALTER SEQUENCE now support parameters (any expressions).
@changelog_1081_li @changelog_1083_li
When setting the base directory on the command line, the user directory prefix ('~') was ignored. When setting the base directory on the command line, the user directory prefix ('~') was ignored.
@changelog_1082_li @changelog_1084_li
The DbStarter servlet didn't start the TCP listener even if configured. The DbStarter servlet didn't start the TCP listener even if configured.
@changelog_1083_li @changelog_1085_li
Statement.setQueryTimeout() is now supported. Statement.setQueryTimeout() is now supported.
@changelog_1084_li @changelog_1086_li
New session setting QUERY_TIMEOUT, and new system property h2.maxQueryTimeout. New session setting QUERY_TIMEOUT, and new system property h2.maxQueryTimeout.
@changelog_1085_li @changelog_1087_li
Changing the transaction log level (SET LOG) is now written to the trace file by default. Changing the transaction log level (SET LOG) is now written to the trace file by default.
@changelog_1086_li @changelog_1088_li
In a SQL script, primary key constraints are now ordered before foreign key constraints. In a SQL script, primary key constraints are now ordered before foreign key constraints.
@changelog_1087_li @changelog_1089_li
It was not possible to create a referential constraint to a table in a different schema in some situations. It was not possible to create a referential constraint to a table in a different schema in some situations.
@changelog_1088_li @changelog_1090_li
The H2 Console was slow when the database contains many tables. Now the column names are not shown in this case. The H2 Console was slow when the database contains many tables. Now the column names are not shown in this case.
@changelog_1089_h2 @changelog_1091_h2
Version 1.0.66 (2008-02-02) Version 1.0.66 (2008-02-02)
@changelog_1090_li @changelog_1092_li
There is a new online error analyzer tool. There is a new online error analyzer tool.
@changelog_1091_li @changelog_1093_li
H2 Console: stack traces are now links to the source code in the source repository (H2 database only). H2 Console: stack traces are now links to the source code in the source repository (H2 database only).
@changelog_1092_li @changelog_1094_li
CHAR data type equals comparison was case insensitive instead of case sensitive. CHAR data type equals comparison was case insensitive instead of case sensitive.
@changelog_1093_li @changelog_1095_li
The exception 'Value too long for column' now includes the data. The exception 'Value too long for column' now includes the data.
@changelog_1094_li @changelog_1096_li
The table name was missing in the documentation of CREATE INDEX. The table name was missing in the documentation of CREATE INDEX.
@changelog_1095_li @changelog_1097_li
Better support for IKVM (www.ikvm.net): the H2 Console now opens a browser window. Better support for IKVM (www.ikvm.net): the H2 Console now opens a browser window.
@changelog_1096_li @changelog_1098_li
The cache size was not correctly calculated for tables with large objects (specially if compression is used). This could lead to out-of-memory exceptions. The cache size was not correctly calculated for tables with large objects (specially if compression is used). This could lead to out-of-memory exceptions.
@changelog_1097_li @changelog_1099_li
The exception "Hexadecimal string contains non-hex character" was not always thrown when it should have been. Fixed. The exception "Hexadecimal string contains non-hex character" was not always thrown when it should have been. Fixed.
@changelog_1098_li @changelog_1100_li
The H2 Console now provides a link to the documentation when an error occurs (H2 databases only so far). The H2 Console now provides a link to the documentation when an error occurs (H2 databases only so far).
@changelog_1099_li @changelog_1101_li
The acting as PostgreSQL server, when a base directory was set, and the H2 Console was started as well, the base directory was applied twice. The acting as PostgreSQL server, when a base directory was set, and the H2 Console was started as well, the base directory was applied twice.
@changelog_1100_li @changelog_1102_li
Calling EXTRACT(HOUR FROM ...) or EXTRACT(HH FROM ...) returned the wrong values (0 to 11 instead of 0 to 23). All other tested databases return values from 0 to 23. Please check if your application relies on the old behavior before upgrading. Calling EXTRACT(HOUR FROM ...) or EXTRACT(HH FROM ...) returned the wrong values (0 to 11 instead of 0 to 23). All other tested databases return values from 0 to 23. Please check if your application relies on the old behavior before upgrading.
@changelog_1101_li @changelog_1103_li
For compatibility with other databases the column default (COLUMN_DEF) for columns without default is now null (it was an empty string). For compatibility with other databases the column default (COLUMN_DEF) for columns without default is now null (it was an empty string).
@changelog_1102_li @changelog_1104_li
Statements that contain very large subqueries (where the subquery result does not fit in memory) are now faster. Statements that contain very large subqueries (where the subquery result does not fit in memory) are now faster.
@changelog_1103_li @changelog_1105_li
Variables: large objects (CLOB and BLOB) that don't fit in memory did not work correctly when used as variables. Variables: large objects (CLOB and BLOB) that don't fit in memory did not work correctly when used as variables.
@changelog_1104_li @changelog_1106_li
Fulltext search is now supported in named in-memory databases. Fulltext search is now supported in named in-memory databases.
@changelog_1105_li @changelog_1107_li
H2 Console: multiple consecutive spaces in the setting name did not work. Fixed. H2 Console: multiple consecutive spaces in the setting name did not work. Fixed.
@changelog_1106_h2 @changelog_1108_h2
Version 1.0.65 (2008-01-18) Version 1.0.65 (2008-01-18)
@changelog_1107_li @changelog_1109_li
The build (ant) now automatically switches the source code to the correct version (JDK 1.4/1.5 or 1.6). The build (ant) now automatically switches the source code to the correct version (JDK 1.4/1.5 or 1.6).
@changelog_1108_li @changelog_1110_li
A recovery bug has been fixed. With older versions, it was necessary to add ;RECOVER=1 to the database URL in cases where it should not have been required. A recovery bug has been fixed. With older versions, it was necessary to add ;RECOVER=1 to the database URL in cases where it should not have been required.
@changelog_1109_li @changelog_1111_li
The performance for DROP and DROP ALL OBJECTS has been improved. The performance for DROP and DROP ALL OBJECTS has been improved.
@changelog_1110_li @changelog_1112_li
The ChangePassword API has been improved. The ChangePassword API has been improved.
@changelog_1111_li @changelog_1113_li
User defined variables are now supported. Examples: SET @VAR=10;CALL @VAR. This can be used for running totals as in: select x, set(@t, ifnull(@t, 0) + x) from system_range(1, 10) User defined variables are now supported. Examples: SET @VAR=10;CALL @VAR. This can be used for running totals as in: select x, set(@t, ifnull(@t, 0) + x) from system_range(1, 10)
@changelog_1112_li @changelog_1114_li
The Ukrainian translation has been improved. The Ukrainian translation has been improved.
@changelog_1113_li @changelog_1115_li
CALL statements can now be used in batch updates and called using Statement.executeUpdate. CALL statements can now be used in batch updates and called using Statement.executeUpdate.
@changelog_1114_li @changelog_1116_li
New read-only setting CREATE_BUILD (the build number of the database engine that created the database). New read-only setting CREATE_BUILD (the build number of the database engine that created the database).
@changelog_1115_li @changelog_1117_li
The optimizer did not use multi column indexes for range queries in some cases. Fixed. The optimizer did not use multi column indexes for range queries in some cases. Fixed.
@changelog_1116_li @changelog_1118_li
The H2 Console now calls DataSource.getConnection() instead of DataSource.getConnection(user, password) when user name and password are not specified. The H2 Console now calls DataSource.getConnection() instead of DataSource.getConnection(user, password) when user name and password are not specified.
@changelog_1117_li @changelog_1119_li
The bind IP address can now be set when using multi-homed host (if multiple network adapters are available) using the system property h2.bindAddress. The bind IP address can now be set when using multi-homed host (if multiple network adapters are available) using the system property h2.bindAddress.
@changelog_1118_li @changelog_1120_li
Batch update: Calling BatchUpdateException.printStackTrace() could result in out of memory. Fixed. Batch update: Calling BatchUpdateException.printStackTrace() could result in out of memory. Fixed.
@changelog_1119_li @changelog_1121_li
Indexes of unique or foreign constraints where not dropped when the constraint was dropped after altering the table (for example dropping a column). Fixed. Indexes of unique or foreign constraints where not dropped when the constraint was dropped after altering the table (for example dropping a column). Fixed.
@changelog_1120_li @changelog_1122_li
The performance for large result sets in the server mode has been improved. The performance for large result sets in the server mode has been improved.
@changelog_1121_li @changelog_1123_li
The setting h2.serverSmallResultSetSize has been renamed to h2.serverResultSetFetchSize. The setting h2.serverSmallResultSetSize has been renamed to h2.serverResultSetFetchSize.
@changelog_1122_li @changelog_1124_li
The SCRIPT command now uses multi-row insert statements to save space except if the option SIMPLE is used. The SCRIPT command now uses multi-row insert statements to save space except if the option SIMPLE is used.
@changelog_1123_li @changelog_1125_li
The SCRIPT command did not split up CLOB data correctly. Fixed. The SCRIPT command did not split up CLOB data correctly. Fixed.
@changelog_1124_li @changelog_1126_li
Optimization for single column distinct queries with an index: select distinct name from test. Can be disabled by setting the system property h2.optimizeDistinct to false. Optimization for single column distinct queries with an index: select distinct name from test. Can be disabled by setting the system property h2.optimizeDistinct to false.
@changelog_1125_li @changelog_1127_li
DROP ALL OBJECTS did not drop user defined aggregate functions and domains. DROP ALL OBJECTS did not drop user defined aggregate functions and domains.
@changelog_1126_li @changelog_1128_li
PostgreSQL compatibility: COUNT(T.*) is now supported. PostgreSQL compatibility: COUNT(T.*) is now supported.
@changelog_1127_li @changelog_1129_li
LIKE comparisons are now faster. LIKE comparisons are now faster.
@changelog_1128_li @changelog_1130_li
Encrypted databases are now faster. Encrypted databases are now faster.
@changelog_1129_h2 @changelog_1131_h2
Version 1.0.64 (2007-12-27) Version 1.0.64 (2007-12-27)
@changelog_1130_li @changelog_1132_li
3-way union queries with prepared statement or views could return the wrong results. Fixed. 3-way union queries with prepared statement or views could return the wrong results. Fixed.
@changelog_1131_li @changelog_1133_li
The PostgreSQL ODBC driver did not work in the last release due to a parser regression. Fixed. The PostgreSQL ODBC driver did not work in the last release due to a parser regression. Fixed.
@changelog_1132_li @changelog_1134_li
CSV tool: some escape/separator character combinations did not work. Fixed. CSV tool: some escape/separator character combinations did not work. Fixed.
@changelog_1133_li @changelog_1135_li
CSV tool: the character # could not be used as a separator when reading. CSV tool: the character # could not be used as a separator when reading.
@changelog_1134_li @changelog_1136_li
Recovery: when the index file is corrupt, now the database deletes it and re-creates it automatically. Recovery: when the index file is corrupt, now the database deletes it and re-creates it automatically.
@changelog_1135_li @changelog_1137_li
The MVCC mode did not work well with in-memory databases. Fixed. The MVCC mode did not work well with in-memory databases. Fixed.
@changelog_1136_li @changelog_1138_li
The FTP server now supports a event listener. Thanks Fulvio Biondi for the help! The FTP server now supports a event listener. Thanks Fulvio Biondi for the help!
@changelog_1137_li @changelog_1139_li
New system function CANCEL_SESSION to cancel the currently executing statement of another session. New system function CANCEL_SESSION to cancel the currently executing statement of another session.
@changelog_1138_li @changelog_1140_li
The database now supports an exclusive mode. In exclusive mode, new connections are rejected. The database now supports an exclusive mode. In exclusive mode, new connections are rejected.
@changelog_1139_li @changelog_1141_li
H2 Console: when editing result sets, columns can now be set to null. The text 'null' must be escaped using '=null'. H2 Console: when editing result sets, columns can now be set to null. The text 'null' must be escaped using '=null'.
@changelog_1140_li @changelog_1142_li
New built-in functions RPAD and LPAD. New built-in functions RPAD and LPAD.
@changelog_1141_li @changelog_1143_li
New meta data table INFORMATION_SCHEMA.SESSIONS and LOCKS to get information about active connections and locks. Admins will see all connections, non-admins only their own session. New meta data table INFORMATION_SCHEMA.SESSIONS and LOCKS to get information about active connections and locks. Admins will see all connections, non-admins only their own session.
@changelog_1142_li @changelog_1144_li
The Ukrainian translation was not working in the last release. Fixed. The Ukrainian translation was not working in the last release. Fixed.
@changelog_1143_li @changelog_1145_li
Creating many tables (many hundreds) was slow. Fixed. Creating many tables (many hundreds) was slow. Fixed.
@changelog_1144_li @changelog_1146_li
Opening a database with many indexes (thousands) was slow. Fixed. Opening a database with many indexes (thousands) was slow. Fixed.
@changelog_1145_li @changelog_1147_li
H2 Console / autocomplete: Ctrl+Space now shows the list in all modes. H2 Console / autocomplete: Ctrl+Space now shows the list in all modes.
@changelog_1146_li @changelog_1148_li
The method Trigger.init has been changed: the parameters 'before' and 'type', have been added to the init method. The method Trigger.init has been changed: the parameters 'before' and 'type', have been added to the init method.
@changelog_1147_li @changelog_1149_li
The performance has been improved for ResultSet methods with column name. The performance has been improved for ResultSet methods with column name.
@changelog_1148_li @changelog_1150_li
A stack trace was thrown if the system did not provide a quick secure random source and if there is no network or the network settings are not configured. Fixed. A stack trace was thrown if the system did not provide a quick secure random source and if there is no network or the network settings are not configured. Fixed.
@changelog_1149_li @changelog_1151_li
The H2 Console has been translated to Turkish. Thanks a lot to Ridvan Agar! The H2 Console has been translated to Turkish. Thanks a lot to Ridvan Agar!
@changelog_1150_li @changelog_1152_li
Improved debugging support: toString methods of most object now return a meaningful text. Improved debugging support: toString methods of most object now return a meaningful text.
@changelog_1151_li @changelog_1153_li
The classes DbStarter and WebServlet have been moved to src/main. The classes DbStarter and WebServlet have been moved to src/main.
@changelog_1152_li @changelog_1154_li
The column INFORMATION_SCHEMA.TRIGGERS.SQL now contains the CREATE TRIGGER statement. The column INFORMATION_SCHEMA.TRIGGERS.SQL now contains the CREATE TRIGGER statement.
@changelog_1153_li @changelog_1155_li
Loading classes and calling methods can be restricted using the new system property h2.allowedClasses. Loading classes and calling methods can be restricted using the new system property h2.allowedClasses.
@changelog_1154_li @changelog_1156_li
The database could not be used in Java applets due to security exceptions. Fixed. The database could not be used in Java applets due to security exceptions. Fixed.
@changelog_1155_h2 @changelog_1157_h2
Version 1.0.63 (2007-12-02) Version 1.0.63 (2007-12-02)
@changelog_1156_li @changelog_1158_li
The SecurePassword example has been improved. The SecurePassword example has been improved.
@changelog_1157_li @changelog_1159_li
In time zones where the summer time saving limit is at midnight, some dates do not work in some virtual machines, for example 2007-10-14 in Chile, using the Sun JVM 1.6.0_03-b05. Fixed. In time zones where the summer time saving limit is at midnight, some dates do not work in some virtual machines, for example 2007-10-14 in Chile, using the Sun JVM 1.6.0_03-b05. Fixed.
@changelog_1158_li @changelog_1160_li
The native fulltext search was not working properly after re-connecting. The native fulltext search was not working properly after re-connecting.
@changelog_1159_li @changelog_1161_li
Improved FTP server: now the PORT command is supported. Improved FTP server: now the PORT command is supported.
@changelog_1160_li @changelog_1162_li
Temporary views (FROM(...)) with UNION didn't work if nested. Fixed. Temporary views (FROM(...)) with UNION didn't work if nested. Fixed.
@changelog_1161_li @changelog_1163_li
Performance optimization for IN(...) and IN(SELECT...), currently disabled by default. To enable, use java -Dh2.optimizeInJoin=true Performance optimization for IN(...) and IN(SELECT...), currently disabled by default. To enable, use java -Dh2.optimizeInJoin=true
@changelog_1162_li @changelog_1164_li
The H2 Console has been translated to Ukrainian by Igor Dobrovolskyi. Thanks a lot! The H2 Console has been translated to Ukrainian by Igor Dobrovolskyi. Thanks a lot!
@changelog_1163_li @changelog_1165_li
New function TABLE_DISTINCT. New function TABLE_DISTINCT.
@changelog_1164_li @changelog_1166_li
Using LIMIT with values close to Integer.MAX_VALUE didn't work correctly. Using LIMIT with values close to Integer.MAX_VALUE didn't work correctly.
@changelog_1165_li @changelog_1167_li
Certain setting in the Server didn't work (http://code.google.com/p/h2database/issues/detail?id=7). Certain setting in the Server didn't work (http://code.google.com/p/h2database/issues/detail?id=7).
@changelog_1166_h2 @changelog_1168_h2
Version 1.0.62 (2007-11-25) Version 1.0.62 (2007-11-25)
@changelog_1167_li @changelog_1169_li
Large updates and deletes are now supported by buffering data to disk if required. The threshold is currently set to 100'000 bytes and can be changed using SET MAX_OPERATION_MEMORY or using by appending ;MAX_OPERATION_MEMORY=.. to the database URL. See also the docs. Large updates and deletes are now supported by buffering data to disk if required. The threshold is currently set to 100'000 bytes and can be changed using SET MAX_OPERATION_MEMORY or using by appending ;MAX_OPERATION_MEMORY=.. to the database URL. See also the docs.
@changelog_1168_li @changelog_1170_li
MVCC: now an exception is thrown when an application tries to change the MVCC setting while the database is already open. MVCC: now an exception is thrown when an application tries to change the MVCC setting while the database is already open.
@changelog_1169_li @changelog_1171_li
Referential integrity checks didn't lock the referenced table, and thus could read uncommitted rows of other connections. In that way the referential constraints could get violated (except when using MVCC). Referential integrity checks didn't lock the referenced table, and thus could read uncommitted rows of other connections. In that way the referential constraints could get violated (except when using MVCC).
@changelog_1170_li @changelog_1172_li
Renaming or dropping a user with a schema, or removing the admin property of that user made the schema inaccessible after re-opening the database. Fixed. Renaming or dropping a user with a schema, or removing the admin property of that user made the schema inaccessible after re-opening the database. Fixed.
@changelog_1171_li @changelog_1173_li
The H2 Console now also support the command line option -ifExists when started from the Server tool, but only when connecting to H2 databases. The H2 Console now also support the command line option -ifExists when started from the Server tool, but only when connecting to H2 databases.
@changelog_1172_li @changelog_1174_li
Duplicate column names were not detected when renaming columns. Fixed. Duplicate column names were not detected when renaming columns. Fixed.
@changelog_1173_li @changelog_1175_li
The console did not display multiple embedded spaces in text correctly. Fixed. The console did not display multiple embedded spaces in text correctly. Fixed.
@changelog_1174_li @changelog_1176_li
Google Android support: use 'ant codeswitchAndroid' to switch the source code to Android. Google Android support: use 'ant codeswitchAndroid' to switch the source code to Android.
@changelog_1175_li @changelog_1177_li
Values of type ARRAY are now sorted as in PostgreSQL. Values of type ARRAY are now sorted as in PostgreSQL.
@changelog_1176_li @changelog_1178_li
In the cluster mode, could not connect if only one server was running (last release only). Fixed. In the cluster mode, could not connect if only one server was running (last release only). Fixed.
@changelog_1177_li @changelog_1179_li
The performance of large CSV operations has been improved. The performance of large CSV operations has been improved.
@changelog_1178_li @changelog_1180_li
Now using custom toString() for most JDBC objects and commands. Now using custom toString() for most JDBC objects and commands.
@changelog_1179_li @changelog_1181_li
Nested temporary views (SELECT * FROM (SELECT ...)) with parameters didn't work in some cases. Fixed. Nested temporary views (SELECT * FROM (SELECT ...)) with parameters didn't work in some cases. Fixed.
@changelog_1180_li @changelog_1182_li
CSV: Using an empty field delimiter didn't work (a workaround was using char(0)). Fixed. CSV: Using an empty field delimiter didn't work (a workaround was using char(0)). Fixed.
@changelog_1181_li @changelog_1183_li
A patch for Apache DDL Utils is available at https://issues.apache.org/jira/browse/DDLUTILS-185 A patch for Apache DDL Utils is available at https://issues.apache.org/jira/browse/DDLUTILS-185
@changelog_1182_li @changelog_1184_li
The default value for h2.emergencySpaceInitial is now 256 KB (to speed up creating encrypted databases) The default value for h2.emergencySpaceInitial is now 256 KB (to speed up creating encrypted databases)
@changelog_1183_li @changelog_1185_li
Eduardo Velasques has translated the H2 Console and the error messages to Brazilian Portuguese. Thanks a lot! Eduardo Velasques has translated the H2 Console and the error messages to Brazilian Portuguese. Thanks a lot!
@changelog_1184_li @changelog_1186_li
Creating a table from GROUP_CONCAT didn't work if the data was longer than 255 characters Creating a table from GROUP_CONCAT didn't work if the data was longer than 255 characters
@changelog_1185_h2 @changelog_1187_h2
Version 1.0.61 (2007-11-10) Version 1.0.61 (2007-11-10)
@changelog_1186_li @changelog_1188_li
The Lucene Fulltext implementation is now compiled and included in the h2.jar. Requires Lucene 2.2. The Lucene Fulltext implementation is now compiled and included in the h2.jar. Requires Lucene 2.2.
@changelog_1187_li @changelog_1189_li
Added more tests. The code coverage is now at 83%. Added more tests. The code coverage is now at 83%.
@changelog_1188_li @changelog_1190_li
ResultSetMetaData.getColumnDisplaySize was calculated as the longest display size for the given result set, but should be the maximum size that fits in the column. Fixed. ResultSetMetaData.getColumnDisplaySize was calculated as the longest display size for the given result set, but should be the maximum size that fits in the column. Fixed.
@changelog_1189_li @changelog_1191_li
The MODE used to be a global setting, now it is a database level setting. The MODE used to be a global setting, now it is a database level setting.
@changelog_1190_li @changelog_1192_li
The database does now always round to the nearest number when converting a floating point to a integer: CAST(1.5 AS INT) will now result in 2, like in PostgreSQL and MySQL. The database does now always round to the nearest number when converting a floating point to a integer: CAST(1.5 AS INT) will now result in 2, like in PostgreSQL and MySQL.
@changelog_1191_li @changelog_1193_li
Math operations using unknown data types (for example -? and ?+?) are now interpreted as decimal. Math operations using unknown data types (for example -? and ?+?) are now interpreted as decimal.
@changelog_1192_li @changelog_1194_li
INSTR, LOCATE: backward searching is not supported by using a negative start position. INSTR, LOCATE: backward searching is not supported by using a negative start position.
@changelog_1193_li @changelog_1195_li
Can now open a database stored in a jar or zip file (for example, jdbc:h2:zip:c:/temp/h2.zip!/test). Can now open a database stored in a jar or zip file (for example, jdbc:h2:zip:c:/temp/h2.zip!/test).
@changelog_1194_li @changelog_1196_li
Files access now uses an API (FileSystem, FileObject), this will simplify adding other file systems and features (for example replication). Files access now uses an API (FileSystem, FileObject), this will simplify adding other file systems and features (for example replication).
@changelog_1195_li @changelog_1197_li
Vlad Alexahin has translated H2 Console to Russian. Thanks a lot! Vlad Alexahin has translated H2 Console to Russian. Thanks a lot!
@changelog_1196_li @changelog_1198_li
Descending indexes are now supported. This is useful when sorting columns descending, for example by creation date. Descending indexes are now supported. This is useful when sorting columns descending, for example by creation date.
@changelog_1197_li @changelog_1199_li
Solved a Java level deadlock in the DatabaseCloser. Solved a Java level deadlock in the DatabaseCloser.
@changelog_1198_li @changelog_1200_li
CREATE SEQUENCE: New option CACHE (number of pre-allocated numbers). New column CACHE in the sequence meta data table. The default cache size is still 32. CREATE SEQUENCE: New option CACHE (number of pre-allocated numbers). New column CACHE in the sequence meta data table. The default cache size is still 32.
@changelog_1199_li @changelog_1201_li
MVCC: The system property h2.mvcc has been removed. A few bugs have been fixed, and new tests have been added. MVCC: The system property h2.mvcc has been removed. A few bugs have been fixed, and new tests have been added.
@changelog_1200_h2 @changelog_1202_h2
Version 1.0.60 (2007-10-20) Version 1.0.60 (2007-10-20)
@changelog_1201_li @changelog_1203_li
JdbcXAConnection: starting a transaction before getting the connection didn't switch off autocommit. JdbcXAConnection: starting a transaction before getting the connection didn't switch off autocommit.
@changelog_1202_li @changelog_1204_li
User defined aggregate functions are not supported. User defined aggregate functions are not supported.
@changelog_1203_li @changelog_1205_li
Server.shutdownTcpServer was blocked when first called with force=false and then force=true. Now documentation is improved, and it is no longer blocked. Server.shutdownTcpServer was blocked when first called with force=false and then force=true. Now documentation is improved, and it is no longer blocked.
@changelog_1204_li @changelog_1206_li
Stack traces did not include the SQL statement in all cases where they could have. Also, stack traces with SQL statement are now shorter. Stack traces did not include the SQL statement in all cases where they could have. Also, stack traces with SQL statement are now shorter.
@changelog_1205_li @changelog_1207_li
Linked tables: now tables in non-default schemas are supported as well Linked tables: now tables in non-default schemas are supported as well
@changelog_1206_li @changelog_1208_li
New Italian translation from PierPaolo Ucchino. Thanks a lot! New Italian translation from PierPaolo Ucchino. Thanks a lot!
@changelog_1207_li @changelog_1209_li
CSV: New methods to set the escape character and field delimiter in the Csv tool and the CSVWRITE and CSVREAD methods. CSV: New methods to set the escape character and field delimiter in the Csv tool and the CSVWRITE and CSVREAD methods.
@changelog_1208_li @changelog_1210_li
Prepared statements could not be used after data definition statements (creating tables and so on). Fixed. Prepared statements could not be used after data definition statements (creating tables and so on). Fixed.
@changelog_1209_li @changelog_1211_li
PreparedStatement.setMaxRows could not be changed to a higher value after the statement was executed. PreparedStatement.setMaxRows could not be changed to a higher value after the statement was executed.
@changelog_1210_li @changelog_1212_li
The H2 Console could not connect twice to the same H2 embedded database at the same time. Fixed. The H2 Console could not connect twice to the same H2 embedded database at the same time. Fixed.
@changelog_1211_li @changelog_1213_li
CSVREAD, RUNSCRIPT and so on now support URLs as well, using URL.openStream(). Example: select * from csvread('jar:file:///c:/temp/test.jar!/test.csv'); CSVREAD, RUNSCRIPT and so on now support URLs as well, using URL.openStream(). Example: select * from csvread('jar:file:///c:/temp/test.jar!/test.csv');
@changelog_1212_h2 @changelog_1214_h2
Version 1.0.59 (2007-10-03) Version 1.0.59 (2007-10-03)
@changelog_1213_li @changelog_1215_li
When the data type was unknown in a subquery, sometimes the wrong exception (ArrayIndexOutOfBounds) was thrown. Fixed. When the data type was unknown in a subquery, sometimes the wrong exception (ArrayIndexOutOfBounds) was thrown. Fixed.
@changelog_1214_li @changelog_1216_li
If the process was killed while the database was running, sometimes the database could not be opened ('double allocation') except when the system property h2.check was set to false. Fixed. If the process was killed while the database was running, sometimes the database could not be opened ('double allocation') except when the system property h2.check was set to false. Fixed.
@changelog_1215_li @changelog_1217_li
Multi-threaded kernel (MULTI_THREADED=1): A synchronization problem has been fixed. Multi-threaded kernel (MULTI_THREADED=1): A synchronization problem has been fixed.
@changelog_1216_li @changelog_1218_li
A PreparedStatement that was cancelled could not be reused. Fixed. A PreparedStatement that was cancelled could not be reused. Fixed.
@changelog_1217_li @changelog_1219_li
H2 Console: Progress information when logging into a H2 embedded database (useful when opening a database is slow). H2 Console: Progress information when logging into a H2 embedded database (useful when opening a database is slow).
@changelog_1218_li @changelog_1220_li
When the database was closed while logging was disabled (LOG 0), re-opening the database was slow. Fixed. When the database was closed while logging was disabled (LOG 0), re-opening the database was slow. Fixed.
@changelog_1219_li @changelog_1221_li
Fulltext search is now documented (in the Tutorial). Fulltext search is now documented (in the Tutorial).
@changelog_1220_li @changelog_1222_li
The Console did not refresh the table list if the CREATE TABLE statement started with a comment. Fixed. The Console did not refresh the table list if the CREATE TABLE statement started with a comment. Fixed.
@changelog_1221_li @changelog_1223_li
When creating a table using CREATE TABLE .. AS SELECT, the precision for some data types (for example VARCHAR) was set to the default precision. Fixed. When creating a table using CREATE TABLE .. AS SELECT, the precision for some data types (for example VARCHAR) was set to the default precision. Fixed.
@changelog_1222_li @changelog_1224_li
When using the (undocumented) in-memory file system (jdbc:h2:memFS:x or jdbc:h2:memLZF:x), and using multiple connections, a ConcurrentModificationException could occur. Fixed. When using the (undocumented) in-memory file system (jdbc:h2:memFS:x or jdbc:h2:memLZF:x), and using multiple connections, a ConcurrentModificationException could occur. Fixed.
@changelog_1223_li @changelog_1225_li
REGEXP compatibility: So far String.matches was used, but for compatibility with MySQL, now Matcher.find is used. REGEXP compatibility: So far String.matches was used, but for compatibility with MySQL, now Matcher.find is used.
@changelog_1224_li @changelog_1226_li
SCRIPT: the SQL statements in the result set now include the terminating semicolon as well. Simplifies copy and paste. SCRIPT: the SQL statements in the result set now include the terminating semicolon as well. Simplifies copy and paste.
@changelog_1225_li @changelog_1227_li
When using a subquery with group by as a table, some columns could not be used in the where condition in the outer query. Example: SELECT * FROM (SELECT ID, COUNT(*) C FROM TEST) WHERE C > 100. Fixed. When using a subquery with group by as a table, some columns could not be used in the where condition in the outer query. Example: SELECT * FROM (SELECT ID, COUNT(*) C FROM TEST) WHERE C > 100. Fixed.
@changelog_1226_li @changelog_1228_li
Views with subqueries as tables and queries with nested subqueries as tables did not always work. Fixed. Views with subqueries as tables and queries with nested subqueries as tables did not always work. Fixed.
@changelog_1227_li @changelog_1229_li
Compatibility: comparing columns with constants that are out of range does not throw an exception. Compatibility: comparing columns with constants that are out of range does not throw an exception.
@changelog_1228_h2 @changelog_1230_h2
Version 1.0.58 (2007-09-15) Version 1.0.58 (2007-09-15)
@changelog_1229_li @changelog_1231_li
System.exit is no longer called by the WebServer, the Console and the Server tool (except to set the exit code if required). This is important when using OSGi. System.exit is no longer called by the WebServer, the Console and the Server tool (except to set the exit code if required). This is important when using OSGi.
@changelog_1230_li @changelog_1232_li
Optimization for independent subqueries. For example, this query can now an index: SELECT * FROM TEST WHERE ID = (SELECT MAX(ID) FROM TEST) This can be disabled by setting the system property h2.optimizeSubqueryCache to false. Optimization for independent subqueries. For example, this query can now an index: SELECT * FROM TEST WHERE ID = (SELECT MAX(ID) FROM TEST) This can be disabled by setting the system property h2.optimizeSubqueryCache to false.
@changelog_1231_li @changelog_1233_li
The explain plan now says: /* direct lookup query */ if the query can be processed directly without reading rows, for example when using MIN(indexed column), MAX(indexed column), or COUNT(*). The explain plan now says: /* direct lookup query */ if the query can be processed directly without reading rows, for example when using MIN(indexed column), MAX(indexed column), or COUNT(*).
@changelog_1232_li @changelog_1234_li
When using IFNULL, NULLIF, COALESCE, LEAST, or GREATEST, and the first parameter was ?, an exception was thrown. Now the highest data type of all parameters is used. When using IFNULL, NULLIF, COALESCE, LEAST, or GREATEST, and the first parameter was ?, an exception was thrown. Now the highest data type of all parameters is used.
@changelog_1233_li @changelog_1235_li
When comparing TINYINT or SMALLINT columns against constants, the index was not used. Fixed. When comparing TINYINT or SMALLINT columns against constants, the index was not used. Fixed.
@changelog_1234_li @changelog_1236_li
Maven 2: new version are now automatically synced with the central repositories. Maven 2: new version are now automatically synced with the central repositories.
@changelog_1235_li @changelog_1237_li
The default value for MAX_MEMORY_UNDO is now 100000. The default value for MAX_MEMORY_UNDO is now 100000.
@changelog_1236_li @changelog_1238_li
The documentation indexer does no longer index Japanese pages. If somebody knows how to split Japanese into words please post it. The documentation indexer does no longer index Japanese pages. If somebody knows how to split Japanese into words please post it.
@changelog_1237_li @changelog_1239_li
Oracle compatibility: SYSDATE now returns a timestamp. CHR(..) is now an alias for CHAR(..). Oracle compatibility: SYSDATE now returns a timestamp. CHR(..) is now an alias for CHAR(..).
@changelog_1238_li @changelog_1240_li
After deleting data, empty space in the database files was not efficiently reused (but it was reused when opening the database). This has been fixed. After deleting data, empty space in the database files was not efficiently reused (but it was reused when opening the database). This has been fixed.
@changelog_1239_li @changelog_1241_li
About 230 bytes per database was leaked. This is a problem for applications opening and closing many thousand databases. The main problem: a shutdown hook was added but never removed. Fixed. In JDK 1.4, there is <a href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4197876">an additionally problem</a> . A workaround has been implemented. About 230 bytes per database was leaked. This is a problem for applications opening and closing many thousand databases. The main problem: a shutdown hook was added but never removed. Fixed. In JDK 1.4, there is <a href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4197876">an additionally problem</a> . A workaround has been implemented.
@changelog_1240_li @changelog_1242_li
Optimization for COLUMN IN(.., NULL) if the column does not allow NULL values. Optimization for COLUMN IN(.., NULL) if the column does not allow NULL values.
@changelog_1241_li @changelog_1243_li
Using spaces in column and table aliases was not supported when used inside a view or temporary view. Using spaces in column and table aliases was not supported when used inside a view or temporary view.
@changelog_1242_li @changelog_1244_li
The version (build) number is now included in the manifest file. The version (build) number is now included in the manifest file.
@changelog_1243_li @changelog_1245_li
In some systems, SecureRandom.generateSeed is very slow (taking one minute or more). For those cases, an alternative method is used that takes less than one second. In some systems, SecureRandom.generateSeed is very slow (taking one minute or more). For those cases, an alternative method is used that takes less than one second.
@changelog_1244_li @changelog_1246_li
The database file sizes are now increased at most 32 MB at any time. The database file sizes are now increased at most 32 MB at any time.
@changelog_1245_li @changelog_1247_li
New method DatabaseEventListener.opened that is called just after opening a database. New method DatabaseEventListener.opened that is called just after opening a database.
@changelog_1246_li @changelog_1248_li
When using the Console with Internet Explorer 6.0 or 7.0, a Javascript error was thrown after clearing the query. When using the Console with Internet Explorer 6.0 or 7.0, a Javascript error was thrown after clearing the query.
@changelog_1247_li @changelog_1249_li
A database can now be opened even if class of a user defined function is not in the classpath. Trying to call the function will throws an exception. A database can now be opened even if class of a user defined function is not in the classpath. Trying to call the function will throws an exception.
@changelog_1248_li @changelog_1250_li
User defined functions and constants may not overload built-in functions and constants. This didn't work before, but now trying to create such an object will fail. User defined functions and constants may not overload built-in functions and constants. This didn't work before, but now trying to create such an object will fail.
@changelog_1249_li @changelog_1251_li
Improved MultiDimension tool (for spatial queries): in the last few releases the tool was actually slower than using a regular query (because index lookup got faster, and because the tool didn't support prepared statements) Now the tool generates prepared statements, and the performance is better again (about 5 times faster for a reasonable amount of data). Improved MultiDimension tool (for spatial queries): in the last few releases the tool was actually slower than using a regular query (because index lookup got faster, and because the tool didn't support prepared statements) Now the tool generates prepared statements, and the performance is better again (about 5 times faster for a reasonable amount of data).
@changelog_1250_li @changelog_1252_li
Adding a foreign key or when re-enabling referential integrity for a table failed when checking was enabled and the reference contained NULL. Adding a foreign key or when re-enabling referential integrity for a table failed when checking was enabled and the reference contained NULL.
@changelog_1251_li @changelog_1253_li
For PgServer, character encoding other than UTF-8 did not work correctly. Fixed. For PgServer, character encoding other than UTF-8 did not work correctly. Fixed.
@changelog_1252_li @changelog_1254_li
Using a function in a GROUP BY expression that is used in a view as a condition did not always work. Using a function in a GROUP BY expression that is used in a view as a condition did not always work.
@changelog_1253_h2 @changelog_1255_h2
Version 1.0.57 (2007-08-25) Version 1.0.57 (2007-08-25)
@changelog_1254_li @changelog_1256_li
New experimental feature MVCC (multi version concurrency control). Can be set as a option when opening the database (jdbc:h2:~/test;MVCC=TRUE) or as a system property (-Dh2.mvcc=true). This is work-in-progress, use it at your own risk. Feedback is welcome. New experimental feature MVCC (multi version concurrency control). Can be set as a option when opening the database (jdbc:h2:~/test;MVCC=TRUE) or as a system property (-Dh2.mvcc=true). This is work-in-progress, use it at your own risk. Feedback is welcome.
@changelog_1255_li @changelog_1257_li
The version number is now major.minor.micro where micro is the build number. Not all version are public, so there may be gaps in the micro. The minor changes when there is a file format change. The version number is now major.minor.micro where micro is the build number. Not all version are public, so there may be gaps in the micro. The minor changes when there is a file format change.
@changelog_1256_li @changelog_1258_li
The backup tool (org.h2.tools.Backup) did not work. The restore tool did not work when the -db parameter was used. Fixed. The documentation of the backup tool has been changed: only one database may be backed up at any time. The backup tool (org.h2.tools.Backup) did not work. The restore tool did not work when the -db parameter was used. Fixed. The documentation of the backup tool has been changed: only one database may be backed up at any time.
@changelog_1257_li @changelog_1259_li
Opening large read-only databases was very slow. Fixed. Opening large read-only databases was very slow. Fixed.
@changelog_1258_li @changelog_1260_li
New Japanese translation of the error messages thanks to Ikemoto Masahiro. Thanks a lot! New Japanese translation of the error messages thanks to Ikemoto Masahiro. Thanks a lot!
@changelog_1259_li @changelog_1261_li
Disabling / enabling referential integrity for a table can now be used inside a transaction. Disabling / enabling referential integrity for a table can now be used inside a transaction.
@changelog_1260_li @changelog_1262_li
Rights checking for dynamic tables (SELECT * FROM (SELECT ...)) did not work. Fixed. Rights checking for dynamic tables (SELECT * FROM (SELECT ...)) did not work. Fixed.
@changelog_1261_li @changelog_1263_li
Creating more than 10 views that depend on each other was very slow. Reconnecting was slow as well. Fixed. Creating more than 10 views that depend on each other was very slow. Reconnecting was slow as well. Fixed.
@changelog_1262_li @changelog_1264_li
When used as as Servlet, the H2 Console did not work with SSL (using Tomcat). Fixed. When used as as Servlet, the H2 Console did not work with SSL (using Tomcat). Fixed.
@changelog_1263_li @changelog_1265_li
When altering a table with foreign key constraint, if there was no manual index created for the referenced columns, the automatically created index was dropped while still being used. Fixed. When altering a table with foreign key constraint, if there was no manual index created for the referenced columns, the automatically created index was dropped while still being used. Fixed.
@changelog_1264_li @changelog_1266_li
Check and foreign key constraints now checks if the existing data is consistent (this can be disabled by appending NOCHECK). It is also possible to check existing data when re-enabling referential integrity for a table. Check and foreign key constraints now checks if the existing data is consistent (this can be disabled by appending NOCHECK). It is also possible to check existing data when re-enabling referential integrity for a table.
@changelog_1265_li @changelog_1267_li
Some unit tests failed on Linux because the file system works differently. The unit tests are fixed and should work now. Some unit tests failed on Linux because the file system works differently. The unit tests are fixed and should work now.
@changelog_1266_li @changelog_1268_li
Can now incrementally translate the documentation. See also FAQ. Can now incrementally translate the documentation. See also FAQ.
@changelog_1267_li @changelog_1269_li
Improved error messages: some tools can't show the root cause of an exception. Adding the message of the root cause to the message of the thrown exception now where it makes sense. Improved error messages: some tools can't show the root cause of an exception. Adding the message of the root cause to the message of the thrown exception now where it makes sense.
@changelog_1268_li @changelog_1270_li
The H2 Console can now connect to databases using JNDI. The driver class name must be a javax.naming.Context, (for example javax.naming.InitialContext), and the URL the resource name (for example java:comp/env/jdbc/Test). This should also work for linked tables. The H2 Console can now connect to databases using JNDI. The driver class name must be a javax.naming.Context, (for example javax.naming.InitialContext), and the URL the resource name (for example java:comp/env/jdbc/Test). This should also work for linked tables.
@changelog_1269_li @changelog_1271_li
Google translate did not work for the H2 homepage. It should be fixed now. Google translate did not work for the H2 homepage. It should be fixed now.
@changelog_1270_li @changelog_1272_li
The CONVERT function did not work with views when using UNION. The CONVERT function did not work with views when using UNION.
@changelog_1271_li @changelog_1273_li
The build now issues a warning if the source code is switched to the wrong version. The build now issues a warning if the source code is switched to the wrong version.
@changelog_1272_li @changelog_1274_li
The default lock mode is now read committed instead of serialized. The default lock mode is now read committed instead of serialized.
@changelog_1273_li @changelog_1275_li
PG server: data was truncated when reading large VARCHAR columns and decimal columns. PG server: data was truncated when reading large VARCHAR columns and decimal columns.
@changelog_1274_li @changelog_1276_li
PG server: when the same database was accessed multiple times using the PostgreSQL ODBC driver, the pg_catalog schema update failed, and connecting to the database was not possible. Fixed. PG server: when the same database was accessed multiple times using the PostgreSQL ODBC driver, the pg_catalog schema update failed, and connecting to the database was not possible. Fixed.
@changelog_1275_li @changelog_1277_li
Some file operations didn't work for files in the root directory. Fixed. Some file operations didn't work for files in the root directory. Fixed.
@changelog_1276_li @changelog_1278_li
In the Restore tool, the parameter -file did not work. Fixed. In the Restore tool, the parameter -file did not work. Fixed.
@changelog_1277_li @changelog_1279_li
Two-phase commit: commit with transaction name was only supported in the recovery scan. Now it is always supported. Two-phase commit: commit with transaction name was only supported in the recovery scan. Now it is always supported.
@changelog_1278_li @changelog_1280_li
The column name C_CURRENT_TIMESTAMP did not work in the last release. The column name C_CURRENT_TIMESTAMP did not work in the last release.
@changelog_1279_li @changelog_1281_li
OpenOffice compatibility: support database name in column names. OpenOffice compatibility: support database name in column names.
@download_1000_h1 @download_1000_h1
Downloads Downloads
@download_1001_h3 @download_1001_h3
Version 1.0.69 (2008-03-29, Current) Version 1.0.69 (2008-04-20, Current)
@download_1002_a @download_1002_a
Windows Installer Windows Installer
...@@ -1847,7 +1853,7 @@ Windows Installer ...@@ -1847,7 +1853,7 @@ Windows Installer
Platform-Independent Zip Platform-Independent Zip
@download_1004_h3 @download_1004_h3
Version 1.0.68 (2008-03-15, Last Stable) Version 1.0.68 (2008-03-29, Last Stable)
@download_1005_a @download_1005_a
Windows Installer Windows Installer
...@@ -4358,13 +4364,13 @@ Small footprint: around 1 MB ...@@ -4358,13 +4364,13 @@ Small footprint: around 1 MB
Download Download
@mainWeb_1008_td @mainWeb_1008_td
Version 1.0.69 (2008-03-29): Version 1.0.70 (2008-04-20):
@mainWeb_1009_a @mainWeb_1009_a
Windows Installer (3.0 MB) Windows Installer (3.1 MB)
@mainWeb_1010_a @mainWeb_1010_a
All platforms (zip, 4.2 MB) All platforms (zip, 4.5 MB)
@mainWeb_1011_a @mainWeb_1011_a
All Downloads All Downloads
......
...@@ -1003,844 +1003,850 @@ Centralリポジトリの利用 ...@@ -1003,844 +1003,850 @@ Centralリポジトリの利用
#Next Version (unreleased) #Next Version (unreleased)
@changelog_1002_li @changelog_1002_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_1003_li @changelog_1003_h2
#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. #Version 1.0.70 (2008-04-20)
@changelog_1004_li @changelog_1004_li
#Calling SHUTDOWN on one connection and starting a query on another connection concurrently could result in a Java level deadlock. #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_1005_li @changelog_1005_li
#New system property h2.enableAnonymousSSL (default: true) to enable anonymous SSL connections. #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_1006_li @changelog_1006_li
#The precision if SUBSTR is now calculated if possible. #Calling SHUTDOWN on one connection and starting a query on another connection concurrently could result in a Java level deadlock.
@changelog_1007_li @changelog_1007_li
#The autocomplete in the H2 Console has been improved a bit. #New system property h2.enableAnonymousSSL (default: true) to enable anonymous SSL connections.
@changelog_1008_li @changelog_1008_li
#The tools in the H2 Console are now translatable. #The precision if SUBSTR is now calculated if possible.
@changelog_1009_li @changelog_1009_li
#The servlet and lucene jar files are now automatically downloaded when building. #The autocomplete in the H2 Console has been improved a bit.
@changelog_1010_li @changelog_1010_li
#The code switch tool has been replaced by a simpler tool called SwitchSource that just uses find and replace. #The tools in the H2 Console are now translatable.
@changelog_1011_li @changelog_1011_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. #The servlet and lucene jar files are now automatically downloaded when building.
@changelog_1012_li @changelog_1012_li
#The jar file is now about 10% smaller because the variable debugging info is no longer included. The source file and line number debugging info is still included. If required, the jar file size of the full version can be further reduced to about 720 KB using 'build jarSmall' or even more by removing unneeded components. #The code switch tool has been replaced by a simpler tool called SwitchSource that just uses find and replace.
@changelog_1013_li @changelog_1013_li
#Added shell scripts run.sh and build.sh. chmod +x is required, but otherwise it should work. Feedback or improvements are welcome! #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_1014_li @changelog_1014_li
#Databases in zip files: large queries are now support. Temp files are created in the temp directory if required. The documentation how to create the zip file has been corrected. #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_1015_li @changelog_1015_li
#Invalid inline views threw confusing SQL exceptions. #Added shell scripts run.sh and build.sh. chmod +x is required, but otherwise it should work. Feedback or improvements are welcome!
@changelog_1016_li @changelog_1016_li
#The Japanese translation of the error messages and the H2 Console has been improved. Thanks a lot to Masahiro IKEMOTO. #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_1017_li @changelog_1017_li
#Optimization for MIN() and MAX() when using MVCC. #Invalid inline views threw confusing SQL exceptions.
@changelog_1018_li @changelog_1018_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. #The Japanese translation of the error messages and the H2 Console has been improved. Thanks a lot to Masahiro IKEMOTO.
@changelog_1019_li @changelog_1019_li
#After setting the query timeout and then resetting it, the next query would still timeout. Fixed. #Optimization for MIN() and MAX() when using MVCC.
@changelog_1020_li @changelog_1020_li
#Adding a IDENTITY column to a table with data threw a lock timeout. #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_1021_li @changelog_1021_li
#OutOfMemoryError could occur when using EXISTS or IN(SELECT ..). #After setting the query timeout and then resetting it, the next query would still timeout. Fixed.
@changelog_1022_li @changelog_1022_li
#The built-in connection pool is not called JdbcConnectionPool. The API and documentation has been changed. #Adding a IDENTITY column to a table with data threw a lock timeout.
@changelog_1023_li @changelog_1023_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). #OutOfMemoryError could occur when using EXISTS or IN(SELECT ..).
@changelog_1024_li @changelog_1024_li
#The built-in connection pool is not called JdbcConnectionPool. The API and documentation has been changed.
@changelog_1025_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_1026_li
#Nested joins are now supported (A JOIN B JOIN C ON .. ON ..) #Nested joins are now supported (A JOIN B JOIN C ON .. ON ..)
@changelog_1025_h2 @changelog_1027_h2
#Version 1.0.69 (2008-03-29) #Version 1.0.69 (2008-03-29)
@changelog_1026_li @changelog_1028_li
#Most command line tools can now be called from within the H2 Console. #Most command line tools can now be called from within the H2 Console.
@changelog_1027_li @changelog_1029_li
#A new Shell tools is now included (org.h2.tools.Shell) to query a database from the command line. #A new Shell tools is now included (org.h2.tools.Shell) to query a database from the command line.
@changelog_1028_li @changelog_1030_li
#The command line options in the tools have changed: instead of '-log true' now '-trace' is used. Also, '-ifExists', '-tcpSSL' and '-tcpAllowOthers' and so on have changed: now the 'true' is no longer needed. The old behavior is still supported. #The command line options in the tools have changed: instead of '-log true' now '-trace' is used. Also, '-ifExists', '-tcpSSL' and '-tcpAllowOthers' and so on have changed: now the 'true' is no longer needed. The old behavior is still supported.
@changelog_1029_li @changelog_1031_li
#New system property h2.sortNullsHigh to invert the default sorting behavior for NULL. The default didn't change. #New system property h2.sortNullsHigh to invert the default sorting behavior for NULL. The default didn't change.
@changelog_1030_li @changelog_1032_li
#Performance was very slow when using LOG=2 and deleting or updating all rows of a table in a loop. Fixed. #Performance was very slow when using LOG=2 and deleting or updating all rows of a table in a loop. Fixed.
@changelog_1031_li @changelog_1033_li
#ALTER TABLE or CREATE TABLE now support parameters for the password field. #ALTER TABLE or CREATE TABLE now support parameters for the password field.
@changelog_1032_li @changelog_1034_li
#The linear hash has been removed. It was always slower than the b-tree index, and there were some bugs that would be hard to fix. #The linear hash has been removed. It was always slower than the b-tree index, and there were some bugs that would be hard to fix.
@changelog_1033_li @changelog_1035_li
#TRACE_LEVEL_ settings are no longer persistent. This was a problem when database initialization code caused a lot of trace output. #TRACE_LEVEL_ settings are no longer persistent. This was a problem when database initialization code caused a lot of trace output.
@changelog_1034_li @changelog_1036_li
#Fulltext search (native implementation): The words table is no longer an in-memory table because this caused memory problems in some cases. #Fulltext search (native implementation): The words table is no longer an in-memory table because this caused memory problems in some cases.
@changelog_1035_li @changelog_1037_li
#It was possible to create a role with the name as an existing user (but not vice versa). This is not allowed any more. #It was possible to create a role with the name as an existing user (but not vice versa). This is not allowed any more.
@changelog_1036_li @changelog_1038_li
#The recovery tool didn't work correctly for tables without rows. #The recovery tool didn't work correctly for tables without rows.
@changelog_1037_li @changelog_1039_li
#For years below 1, the YEAR method didn't return the correct value, and the conversion from date and timestamp to varchar was incorrect. #For years below 1, the YEAR method didn't return the correct value, and the conversion from date and timestamp to varchar was incorrect.
@changelog_1038_li @changelog_1040_li
#CSVWRITE caused a NullPointerException when not specifying a nullString. #CSVWRITE caused a NullPointerException when not specifying a nullString.
@changelog_1039_li @changelog_1041_li
#When a log file switch occured just after a truncate table or drop table statement, the database could not be started normally (RECOVER=1 was required). Fixed. #When a log file switch occured just after a truncate table or drop table statement, the database could not be started normally (RECOVER=1 was required). Fixed.
@changelog_1040_li @changelog_1042_li
#When a log file switch occured in the middle of a sequence flush (sequences are only flushed every 32 values by default), the sequence value was lost. Fixed. #When a log file switch occured in the middle of a sequence flush (sequences are only flushed every 32 values by default), the sequence value was lost. Fixed.
@changelog_1041_li @changelog_1043_li
#Altering a sequence didn't unlock the system table when autocommit switched off. #Altering a sequence didn't unlock the system table when autocommit switched off.
@changelog_1042_h2 @changelog_1044_h2
#Version 1.0.68 (2008-03-18) #Version 1.0.68 (2008-03-18)
@changelog_1043_li @changelog_1045_li
#Very large SELECT DISTINCT and UNION EXCEPT queries are now supported, however this feature is disabled by default. To enable it, set the system property h2.maxMemoryRowsDistinct to a lower value, for example 10000. #Very large SELECT DISTINCT and UNION EXCEPT queries are now supported, however this feature is disabled by default. To enable it, set the system property h2.maxMemoryRowsDistinct to a lower value, for example 10000.
@changelog_1044_li @changelog_1046_li
#A error is now thrown when trying to call a method inside a trigger that implicitly commits the current transaction, if an object is locked. #A error is now thrown when trying to call a method inside a trigger that implicitly commits the current transaction, if an object is locked.
@changelog_1045_li @changelog_1047_li
#Unused LOB files were deleted much too late. Now they are deleted if no longer referenced in memory. #Unused LOB files were deleted much too late. Now they are deleted if no longer referenced in memory.
@changelog_1046_li @changelog_1048_li
#ALTER SEQUENCE and ALTER TABLE ALTER COLUMN RESTART can now be used inside a transaction. #ALTER SEQUENCE and ALTER TABLE ALTER COLUMN RESTART can now be used inside a transaction.
@changelog_1047_li @changelog_1049_li
#New system property h2.aliasColumnName. When enabled, aliased columns (as in SELECT ID AS I FROM TEST) return the real table and column name in ResultSetMetaData.getTableName() and getColumnName(). This is disabled by default for compatibility with other databases (HSQLDB, Apache Derby, PostgreSQL, some version of MySQL). In version 1.1 this setting will be enabled. #New system property h2.aliasColumnName. When enabled, aliased columns (as in SELECT ID AS I FROM TEST) return the real table and column name in ResultSetMetaData.getTableName() and getColumnName(). This is disabled by default for compatibility with other databases (HSQLDB, Apache Derby, PostgreSQL, some version of MySQL). In version 1.1 this setting will be enabled.
@changelog_1048_li @changelog_1050_li
#When using encrypted databases, and using the wrong file password, the log file was renamed if the database was not already open. Fixed. #When using encrypted databases, and using the wrong file password, the log file was renamed if the database was not already open. Fixed.
@changelog_1049_li @changelog_1051_li
#Improved performance when using lob files in directories (however this is still disabled by default) #Improved performance when using lob files in directories (however this is still disabled by default)
@changelog_1050_li @changelog_1052_li
#H2 Console: autocomplete didn't work with very large scripts. Fixed. #H2 Console: autocomplete didn't work with very large scripts. Fixed.
@changelog_1051_li @changelog_1053_li
#Fulltext search: new method SEARCH_DATA that returns the column names and primary keys as arrays. #Fulltext search: new method SEARCH_DATA that returns the column names and primary keys as arrays.
@changelog_1052_li @changelog_1054_li
#New experimental optimization for GROUP BY queries if an index can be used that matches the group by columns. To enable this optimization, set the system property h2.optimizeGroupSorted to true. #New experimental optimization for GROUP BY queries if an index can be used that matches the group by columns. To enable this optimization, set the system property h2.optimizeGroupSorted to true.
@changelog_1053_li @changelog_1055_li
#When using multi-version concurrency (MVCC=TRUE), duplicate rows could appear in the result set when running queries with uncommitted changes in the same session. #When using multi-version concurrency (MVCC=TRUE), duplicate rows could appear in the result set when running queries with uncommitted changes in the same session.
@changelog_1054_li @changelog_1056_li
#H2 Console: remote connections were very slow because getHostName/getRemoteHost was used. Fixed (now using getHostAddress/getRemoteAddr. #H2 Console: remote connections were very slow because getHostName/getRemoteHost was used. Fixed (now using getHostAddress/getRemoteAddr.
@changelog_1055_li @changelog_1057_li
#H2 Console: on Linux, Firefox, Konqueror, or Opera (in this order) are now started if available. This has been tested on Ubuntu. #H2 Console: on Linux, Firefox, Konqueror, or Opera (in this order) are now started if available. This has been tested on Ubuntu.
@changelog_1056_li @changelog_1058_li
#H2 Console: the start window works better with IKVM #H2 Console: the start window works better with IKVM
@changelog_1057_li @changelog_1059_li
#H2 Console: improved compatibility with Safari (Safari requires keep-alive) #H2 Console: improved compatibility with Safari (Safari requires keep-alive)
@changelog_1058_li @changelog_1060_li
#Random: the process didn't stop if generating the random seed using the standard way (SecureRandom.generateSeed) was very slow. Now using a daemon thread to avoid this problem. #Random: the process didn't stop if generating the random seed using the standard way (SecureRandom.generateSeed) was very slow. Now using a daemon thread to avoid this problem.
@changelog_1059_li @changelog_1061_li
#SELECT UNION with a different number of ORDER BY columns did throw an ArrayIndexOutOfBoundsException. #SELECT UNION with a different number of ORDER BY columns did throw an ArrayIndexOutOfBoundsException.
@changelog_1060_li @changelog_1062_li
#When using a view, the column precision was changed to the default scale for some data types. #When using a view, the column precision was changed to the default scale for some data types.
@changelog_1061_li @changelog_1063_li
#CSVWRITE now supports a 'null string' that is used for parsing and writing NULL. #CSVWRITE now supports a 'null string' that is used for parsing and writing NULL.
@changelog_1062_li @changelog_1064_li
#Some long running queries could not be cancelled. #Some long running queries could not be cancelled.
@changelog_1063_li @changelog_1065_li
#Queries with many outer join tables were very slow. Fixed. #Queries with many outer join tables were very slow. Fixed.
@changelog_1064_li @changelog_1066_li
#The performance of text comparison has been improved when using locale sensitive string comparison (SET COLLATOR). Now CollationKey is used with a LRU cache. The default cache size is 10000, and can be changed using the system property h2.collatorCacheSize. Use 0 to disable the cache. #The performance of text comparison has been improved when using locale sensitive string comparison (SET COLLATOR). Now CollationKey is used with a LRU cache. The default cache size is 10000, and can be changed using the system property h2.collatorCacheSize. Use 0 to disable the cache.
@changelog_1065_li @changelog_1067_li
#UPDATE SET column=DEFAULT is now supported. #UPDATE SET column=DEFAULT is now supported.
@changelog_1066_h2 @changelog_1068_h2
#Version 1.0.67 (2008-02-22) #Version 1.0.67 (2008-02-22)
@changelog_1067_li @changelog_1069_li
#New function FILE_READ to read a file or from an URL. Both binary and text data is supported. #New function FILE_READ to read a file or from an URL. Both binary and text data is supported.
@changelog_1068_li @changelog_1070_li
#CREATE TABLE AS SELECT now supports specifying the column list and data types. #CREATE TABLE AS SELECT now supports specifying the column list and data types.
@changelog_1069_li @changelog_1071_li
#Connecting to a TCP server and at shutting it down at the same time could cause a Java level deadlock. #Connecting to a TCP server and at shutting it down at the same time could cause a Java level deadlock.
@changelog_1070_li @changelog_1072_li
#A user now has all rights on his own local temporary tables. #A user now has all rights on his own local temporary tables.
@changelog_1071_li @changelog_1073_li
#The CSV tool now supports a custom lineSeparator. #The CSV tool now supports a custom lineSeparator.
@changelog_1072_li @changelog_1074_li
#When using multiple connections, empty space was reused too early sometimes. This could corrupt the database when recovering. #When using multiple connections, empty space was reused too early sometimes. This could corrupt the database when recovering.
@changelog_1073_li @changelog_1075_li
#The H2 Console has been translated to Dutch. Thanks a lot to Remco Schoen! #The H2 Console has been translated to Dutch. Thanks a lot to Remco Schoen!
@changelog_1074_li @changelog_1076_li
#Databases can now be opened even if trigger classes are not in the classpath. The exception is thrown when trying to fire the trigger. #Databases can now be opened even if trigger classes are not in the classpath. The exception is thrown when trying to fire the trigger.
@changelog_1075_li @changelog_1077_li
#Opening databases with ACCESS_MODE_DATA=r is now supported. In this case the database is read-only, but the files don't not need to be read-only. #Opening databases with ACCESS_MODE_DATA=r is now supported. In this case the database is read-only, but the files don't not need to be read-only.
@changelog_1076_li @changelog_1078_li
#Security: The database now waits 200 ms before throwing an exception if the user name or password don't match, to slow down dictionary attacks. #Security: The database now waits 200 ms before throwing an exception if the user name or password don't match, to slow down dictionary attacks.
@changelog_1077_li @changelog_1079_li
#The value cache is now a soft reference cache. This should help save memory. #The value cache is now a soft reference cache. This should help save memory.
@changelog_1078_li @changelog_1080_li
#CREATE INDEX on a table with many rows could run out of memory. Fixed. #CREATE INDEX on a table with many rows could run out of memory. Fixed.
@changelog_1079_li @changelog_1081_li
#Large result sets are now a bit faster. #Large result sets are now a bit faster.
@changelog_1080_li @changelog_1082_li
#ALTER TABLE ALTER COLUMN RESTART and ALTER SEQUENCE now support parameters (any expressions). #ALTER TABLE ALTER COLUMN RESTART and ALTER SEQUENCE now support parameters (any expressions).
@changelog_1081_li @changelog_1083_li
#When setting the base directory on the command line, the user directory prefix ('~') was ignored. #When setting the base directory on the command line, the user directory prefix ('~') was ignored.
@changelog_1082_li @changelog_1084_li
#The DbStarter servlet didn't start the TCP listener even if configured. #The DbStarter servlet didn't start the TCP listener even if configured.
@changelog_1083_li @changelog_1085_li
#Statement.setQueryTimeout() is now supported. #Statement.setQueryTimeout() is now supported.
@changelog_1084_li @changelog_1086_li
#New session setting QUERY_TIMEOUT, and new system property h2.maxQueryTimeout. #New session setting QUERY_TIMEOUT, and new system property h2.maxQueryTimeout.
@changelog_1085_li @changelog_1087_li
#Changing the transaction log level (SET LOG) is now written to the trace file by default. #Changing the transaction log level (SET LOG) is now written to the trace file by default.
@changelog_1086_li @changelog_1088_li
#In a SQL script, primary key constraints are now ordered before foreign key constraints. #In a SQL script, primary key constraints are now ordered before foreign key constraints.
@changelog_1087_li @changelog_1089_li
#It was not possible to create a referential constraint to a table in a different schema in some situations. #It was not possible to create a referential constraint to a table in a different schema in some situations.
@changelog_1088_li @changelog_1090_li
#The H2 Console was slow when the database contains many tables. Now the column names are not shown in this case. #The H2 Console was slow when the database contains many tables. Now the column names are not shown in this case.
@changelog_1089_h2 @changelog_1091_h2
#Version 1.0.66 (2008-02-02) #Version 1.0.66 (2008-02-02)
@changelog_1090_li @changelog_1092_li
#There is a new online error analyzer tool. #There is a new online error analyzer tool.
@changelog_1091_li @changelog_1093_li
#H2 Console: stack traces are now links to the source code in the source repository (H2 database only). #H2 Console: stack traces are now links to the source code in the source repository (H2 database only).
@changelog_1092_li @changelog_1094_li
#CHAR data type equals comparison was case insensitive instead of case sensitive. #CHAR data type equals comparison was case insensitive instead of case sensitive.
@changelog_1093_li @changelog_1095_li
#The exception 'Value too long for column' now includes the data. #The exception 'Value too long for column' now includes the data.
@changelog_1094_li @changelog_1096_li
#The table name was missing in the documentation of CREATE INDEX. #The table name was missing in the documentation of CREATE INDEX.
@changelog_1095_li @changelog_1097_li
#Better support for IKVM (www.ikvm.net): the H2 Console now opens a browser window. #Better support for IKVM (www.ikvm.net): the H2 Console now opens a browser window.
@changelog_1096_li @changelog_1098_li
#The cache size was not correctly calculated for tables with large objects (specially if compression is used). This could lead to out-of-memory exceptions. #The cache size was not correctly calculated for tables with large objects (specially if compression is used). This could lead to out-of-memory exceptions.
@changelog_1097_li @changelog_1099_li
#The exception "Hexadecimal string contains non-hex character" was not always thrown when it should have been. Fixed. #The exception "Hexadecimal string contains non-hex character" was not always thrown when it should have been. Fixed.
@changelog_1098_li @changelog_1100_li
#The H2 Console now provides a link to the documentation when an error occurs (H2 databases only so far). #The H2 Console now provides a link to the documentation when an error occurs (H2 databases only so far).
@changelog_1099_li @changelog_1101_li
#The acting as PostgreSQL server, when a base directory was set, and the H2 Console was started as well, the base directory was applied twice. #The acting as PostgreSQL server, when a base directory was set, and the H2 Console was started as well, the base directory was applied twice.
@changelog_1100_li @changelog_1102_li
#Calling EXTRACT(HOUR FROM ...) or EXTRACT(HH FROM ...) returned the wrong values (0 to 11 instead of 0 to 23). All other tested databases return values from 0 to 23. Please check if your application relies on the old behavior before upgrading. #Calling EXTRACT(HOUR FROM ...) or EXTRACT(HH FROM ...) returned the wrong values (0 to 11 instead of 0 to 23). All other tested databases return values from 0 to 23. Please check if your application relies on the old behavior before upgrading.
@changelog_1101_li @changelog_1103_li
#For compatibility with other databases the column default (COLUMN_DEF) for columns without default is now null (it was an empty string). #For compatibility with other databases the column default (COLUMN_DEF) for columns without default is now null (it was an empty string).
@changelog_1102_li @changelog_1104_li
#Statements that contain very large subqueries (where the subquery result does not fit in memory) are now faster. #Statements that contain very large subqueries (where the subquery result does not fit in memory) are now faster.
@changelog_1103_li @changelog_1105_li
#Variables: large objects (CLOB and BLOB) that don't fit in memory did not work correctly when used as variables. #Variables: large objects (CLOB and BLOB) that don't fit in memory did not work correctly when used as variables.
@changelog_1104_li @changelog_1106_li
#Fulltext search is now supported in named in-memory databases. #Fulltext search is now supported in named in-memory databases.
@changelog_1105_li @changelog_1107_li
#H2 Console: multiple consecutive spaces in the setting name did not work. Fixed. #H2 Console: multiple consecutive spaces in the setting name did not work. Fixed.
@changelog_1106_h2 @changelog_1108_h2
#Version 1.0.65 (2008-01-18) #Version 1.0.65 (2008-01-18)
@changelog_1107_li @changelog_1109_li
#The build (ant) now automatically switches the source code to the correct version (JDK 1.4/1.5 or 1.6). #The build (ant) now automatically switches the source code to the correct version (JDK 1.4/1.5 or 1.6).
@changelog_1108_li @changelog_1110_li
#A recovery bug has been fixed. With older versions, it was necessary to add ;RECOVER=1 to the database URL in cases where it should not have been required. #A recovery bug has been fixed. With older versions, it was necessary to add ;RECOVER=1 to the database URL in cases where it should not have been required.
@changelog_1109_li @changelog_1111_li
#The performance for DROP and DROP ALL OBJECTS has been improved. #The performance for DROP and DROP ALL OBJECTS has been improved.
@changelog_1110_li @changelog_1112_li
#The ChangePassword API has been improved. #The ChangePassword API has been improved.
@changelog_1111_li @changelog_1113_li
#User defined variables are now supported. Examples: SET @VAR=10;CALL @VAR. This can be used for running totals as in: select x, set(@t, ifnull(@t, 0) + x) from system_range(1, 10) #User defined variables are now supported. Examples: SET @VAR=10;CALL @VAR. This can be used for running totals as in: select x, set(@t, ifnull(@t, 0) + x) from system_range(1, 10)
@changelog_1112_li @changelog_1114_li
#The Ukrainian translation has been improved. #The Ukrainian translation has been improved.
@changelog_1113_li @changelog_1115_li
#CALL statements can now be used in batch updates and called using Statement.executeUpdate. #CALL statements can now be used in batch updates and called using Statement.executeUpdate.
@changelog_1114_li @changelog_1116_li
#New read-only setting CREATE_BUILD (the build number of the database engine that created the database). #New read-only setting CREATE_BUILD (the build number of the database engine that created the database).
@changelog_1115_li @changelog_1117_li
#The optimizer did not use multi column indexes for range queries in some cases. Fixed. #The optimizer did not use multi column indexes for range queries in some cases. Fixed.
@changelog_1116_li @changelog_1118_li
#The H2 Console now calls DataSource.getConnection() instead of DataSource.getConnection(user, password) when user name and password are not specified. #The H2 Console now calls DataSource.getConnection() instead of DataSource.getConnection(user, password) when user name and password are not specified.
@changelog_1117_li @changelog_1119_li
#The bind IP address can now be set when using multi-homed host (if multiple network adapters are available) using the system property h2.bindAddress. #The bind IP address can now be set when using multi-homed host (if multiple network adapters are available) using the system property h2.bindAddress.
@changelog_1118_li @changelog_1120_li
#Batch update: Calling BatchUpdateException.printStackTrace() could result in out of memory. Fixed. #Batch update: Calling BatchUpdateException.printStackTrace() could result in out of memory. Fixed.
@changelog_1119_li @changelog_1121_li
#Indexes of unique or foreign constraints where not dropped when the constraint was dropped after altering the table (for example dropping a column). Fixed. #Indexes of unique or foreign constraints where not dropped when the constraint was dropped after altering the table (for example dropping a column). Fixed.
@changelog_1120_li @changelog_1122_li
#The performance for large result sets in the server mode has been improved. #The performance for large result sets in the server mode has been improved.
@changelog_1121_li @changelog_1123_li
#The setting h2.serverSmallResultSetSize has been renamed to h2.serverResultSetFetchSize. #The setting h2.serverSmallResultSetSize has been renamed to h2.serverResultSetFetchSize.
@changelog_1122_li @changelog_1124_li
#The SCRIPT command now uses multi-row insert statements to save space except if the option SIMPLE is used. #The SCRIPT command now uses multi-row insert statements to save space except if the option SIMPLE is used.
@changelog_1123_li @changelog_1125_li
#The SCRIPT command did not split up CLOB data correctly. Fixed. #The SCRIPT command did not split up CLOB data correctly. Fixed.
@changelog_1124_li @changelog_1126_li
#Optimization for single column distinct queries with an index: select distinct name from test. Can be disabled by setting the system property h2.optimizeDistinct to false. #Optimization for single column distinct queries with an index: select distinct name from test. Can be disabled by setting the system property h2.optimizeDistinct to false.
@changelog_1125_li @changelog_1127_li
#DROP ALL OBJECTS did not drop user defined aggregate functions and domains. #DROP ALL OBJECTS did not drop user defined aggregate functions and domains.
@changelog_1126_li @changelog_1128_li
#PostgreSQL compatibility: COUNT(T.*) is now supported. #PostgreSQL compatibility: COUNT(T.*) is now supported.
@changelog_1127_li @changelog_1129_li
#LIKE comparisons are now faster. #LIKE comparisons are now faster.
@changelog_1128_li @changelog_1130_li
#Encrypted databases are now faster. #Encrypted databases are now faster.
@changelog_1129_h2 @changelog_1131_h2
#Version 1.0.64 (2007-12-27) #Version 1.0.64 (2007-12-27)
@changelog_1130_li @changelog_1132_li
#3-way union queries with prepared statement or views could return the wrong results. Fixed. #3-way union queries with prepared statement or views could return the wrong results. Fixed.
@changelog_1131_li @changelog_1133_li
#The PostgreSQL ODBC driver did not work in the last release due to a parser regression. Fixed. #The PostgreSQL ODBC driver did not work in the last release due to a parser regression. Fixed.
@changelog_1132_li @changelog_1134_li
#CSV tool: some escape/separator character combinations did not work. Fixed. #CSV tool: some escape/separator character combinations did not work. Fixed.
@changelog_1133_li @changelog_1135_li
#CSV tool: the character # could not be used as a separator when reading. #CSV tool: the character # could not be used as a separator when reading.
@changelog_1134_li @changelog_1136_li
#Recovery: when the index file is corrupt, now the database deletes it and re-creates it automatically. #Recovery: when the index file is corrupt, now the database deletes it and re-creates it automatically.
@changelog_1135_li @changelog_1137_li
#The MVCC mode did not work well with in-memory databases. Fixed. #The MVCC mode did not work well with in-memory databases. Fixed.
@changelog_1136_li @changelog_1138_li
#The FTP server now supports a event listener. Thanks Fulvio Biondi for the help! #The FTP server now supports a event listener. Thanks Fulvio Biondi for the help!
@changelog_1137_li @changelog_1139_li
#New system function CANCEL_SESSION to cancel the currently executing statement of another session. #New system function CANCEL_SESSION to cancel the currently executing statement of another session.
@changelog_1138_li @changelog_1140_li
#The database now supports an exclusive mode. In exclusive mode, new connections are rejected. #The database now supports an exclusive mode. In exclusive mode, new connections are rejected.
@changelog_1139_li @changelog_1141_li
#H2 Console: when editing result sets, columns can now be set to null. The text 'null' must be escaped using '=null'. #H2 Console: when editing result sets, columns can now be set to null. The text 'null' must be escaped using '=null'.
@changelog_1140_li @changelog_1142_li
#New built-in functions RPAD and LPAD. #New built-in functions RPAD and LPAD.
@changelog_1141_li @changelog_1143_li
#New meta data table INFORMATION_SCHEMA.SESSIONS and LOCKS to get information about active connections and locks. Admins will see all connections, non-admins only their own session. #New meta data table INFORMATION_SCHEMA.SESSIONS and LOCKS to get information about active connections and locks. Admins will see all connections, non-admins only their own session.
@changelog_1142_li @changelog_1144_li
#The Ukrainian translation was not working in the last release. Fixed. #The Ukrainian translation was not working in the last release. Fixed.
@changelog_1143_li @changelog_1145_li
#Creating many tables (many hundreds) was slow. Fixed. #Creating many tables (many hundreds) was slow. Fixed.
@changelog_1144_li @changelog_1146_li
#Opening a database with many indexes (thousands) was slow. Fixed. #Opening a database with many indexes (thousands) was slow. Fixed.
@changelog_1145_li @changelog_1147_li
#H2 Console / autocomplete: Ctrl+Space now shows the list in all modes. #H2 Console / autocomplete: Ctrl+Space now shows the list in all modes.
@changelog_1146_li @changelog_1148_li
#The method Trigger.init has been changed: the parameters 'before' and 'type', have been added to the init method. #The method Trigger.init has been changed: the parameters 'before' and 'type', have been added to the init method.
@changelog_1147_li @changelog_1149_li
#The performance has been improved for ResultSet methods with column name. #The performance has been improved for ResultSet methods with column name.
@changelog_1148_li @changelog_1150_li
#A stack trace was thrown if the system did not provide a quick secure random source and if there is no network or the network settings are not configured. Fixed. #A stack trace was thrown if the system did not provide a quick secure random source and if there is no network or the network settings are not configured. Fixed.
@changelog_1149_li @changelog_1151_li
#The H2 Console has been translated to Turkish. Thanks a lot to Ridvan Agar! #The H2 Console has been translated to Turkish. Thanks a lot to Ridvan Agar!
@changelog_1150_li @changelog_1152_li
#Improved debugging support: toString methods of most object now return a meaningful text. #Improved debugging support: toString methods of most object now return a meaningful text.
@changelog_1151_li @changelog_1153_li
#The classes DbStarter and WebServlet have been moved to src/main. #The classes DbStarter and WebServlet have been moved to src/main.
@changelog_1152_li @changelog_1154_li
#The column INFORMATION_SCHEMA.TRIGGERS.SQL now contains the CREATE TRIGGER statement. #The column INFORMATION_SCHEMA.TRIGGERS.SQL now contains the CREATE TRIGGER statement.
@changelog_1153_li @changelog_1155_li
#Loading classes and calling methods can be restricted using the new system property h2.allowedClasses. #Loading classes and calling methods can be restricted using the new system property h2.allowedClasses.
@changelog_1154_li @changelog_1156_li
#The database could not be used in Java applets due to security exceptions. Fixed. #The database could not be used in Java applets due to security exceptions. Fixed.
@changelog_1155_h2 @changelog_1157_h2
#Version 1.0.63 (2007-12-02) #Version 1.0.63 (2007-12-02)
@changelog_1156_li @changelog_1158_li
#The SecurePassword example has been improved. #The SecurePassword example has been improved.
@changelog_1157_li @changelog_1159_li
#In time zones where the summer time saving limit is at midnight, some dates do not work in some virtual machines, for example 2007-10-14 in Chile, using the Sun JVM 1.6.0_03-b05. Fixed. #In time zones where the summer time saving limit is at midnight, some dates do not work in some virtual machines, for example 2007-10-14 in Chile, using the Sun JVM 1.6.0_03-b05. Fixed.
@changelog_1158_li @changelog_1160_li
#The native fulltext search was not working properly after re-connecting. #The native fulltext search was not working properly after re-connecting.
@changelog_1159_li @changelog_1161_li
#Improved FTP server: now the PORT command is supported. #Improved FTP server: now the PORT command is supported.
@changelog_1160_li @changelog_1162_li
#Temporary views (FROM(...)) with UNION didn't work if nested. Fixed. #Temporary views (FROM(...)) with UNION didn't work if nested. Fixed.
@changelog_1161_li @changelog_1163_li
#Performance optimization for IN(...) and IN(SELECT...), currently disabled by default. To enable, use java -Dh2.optimizeInJoin=true #Performance optimization for IN(...) and IN(SELECT...), currently disabled by default. To enable, use java -Dh2.optimizeInJoin=true
@changelog_1162_li @changelog_1164_li
#The H2 Console has been translated to Ukrainian by Igor Dobrovolskyi. Thanks a lot! #The H2 Console has been translated to Ukrainian by Igor Dobrovolskyi. Thanks a lot!
@changelog_1163_li @changelog_1165_li
#New function TABLE_DISTINCT. #New function TABLE_DISTINCT.
@changelog_1164_li @changelog_1166_li
#Using LIMIT with values close to Integer.MAX_VALUE didn't work correctly. #Using LIMIT with values close to Integer.MAX_VALUE didn't work correctly.
@changelog_1165_li @changelog_1167_li
#Certain setting in the Server didn't work (http://code.google.com/p/h2database/issues/detail?id=7). #Certain setting in the Server didn't work (http://code.google.com/p/h2database/issues/detail?id=7).
@changelog_1166_h2 @changelog_1168_h2
#Version 1.0.62 (2007-11-25) #Version 1.0.62 (2007-11-25)
@changelog_1167_li @changelog_1169_li
#Large updates and deletes are now supported by buffering data to disk if required. The threshold is currently set to 100'000 bytes and can be changed using SET MAX_OPERATION_MEMORY or using by appending ;MAX_OPERATION_MEMORY=.. to the database URL. See also the docs. #Large updates and deletes are now supported by buffering data to disk if required. The threshold is currently set to 100'000 bytes and can be changed using SET MAX_OPERATION_MEMORY or using by appending ;MAX_OPERATION_MEMORY=.. to the database URL. See also the docs.
@changelog_1168_li @changelog_1170_li
#MVCC: now an exception is thrown when an application tries to change the MVCC setting while the database is already open. #MVCC: now an exception is thrown when an application tries to change the MVCC setting while the database is already open.
@changelog_1169_li @changelog_1171_li
#Referential integrity checks didn't lock the referenced table, and thus could read uncommitted rows of other connections. In that way the referential constraints could get violated (except when using MVCC). #Referential integrity checks didn't lock the referenced table, and thus could read uncommitted rows of other connections. In that way the referential constraints could get violated (except when using MVCC).
@changelog_1170_li @changelog_1172_li
#Renaming or dropping a user with a schema, or removing the admin property of that user made the schema inaccessible after re-opening the database. Fixed. #Renaming or dropping a user with a schema, or removing the admin property of that user made the schema inaccessible after re-opening the database. Fixed.
@changelog_1171_li @changelog_1173_li
#The H2 Console now also support the command line option -ifExists when started from the Server tool, but only when connecting to H2 databases. #The H2 Console now also support the command line option -ifExists when started from the Server tool, but only when connecting to H2 databases.
@changelog_1172_li @changelog_1174_li
#Duplicate column names were not detected when renaming columns. Fixed. #Duplicate column names were not detected when renaming columns. Fixed.
@changelog_1173_li @changelog_1175_li
#The console did not display multiple embedded spaces in text correctly. Fixed. #The console did not display multiple embedded spaces in text correctly. Fixed.
@changelog_1174_li @changelog_1176_li
#Google Android support: use 'ant codeswitchAndroid' to switch the source code to Android. #Google Android support: use 'ant codeswitchAndroid' to switch the source code to Android.
@changelog_1175_li @changelog_1177_li
#Values of type ARRAY are now sorted as in PostgreSQL. #Values of type ARRAY are now sorted as in PostgreSQL.
@changelog_1176_li @changelog_1178_li
#In the cluster mode, could not connect if only one server was running (last release only). Fixed. #In the cluster mode, could not connect if only one server was running (last release only). Fixed.
@changelog_1177_li @changelog_1179_li
#The performance of large CSV operations has been improved. #The performance of large CSV operations has been improved.
@changelog_1178_li @changelog_1180_li
#Now using custom toString() for most JDBC objects and commands. #Now using custom toString() for most JDBC objects and commands.
@changelog_1179_li @changelog_1181_li
#Nested temporary views (SELECT * FROM (SELECT ...)) with parameters didn't work in some cases. Fixed. #Nested temporary views (SELECT * FROM (SELECT ...)) with parameters didn't work in some cases. Fixed.
@changelog_1180_li @changelog_1182_li
#CSV: Using an empty field delimiter didn't work (a workaround was using char(0)). Fixed. #CSV: Using an empty field delimiter didn't work (a workaround was using char(0)). Fixed.
@changelog_1181_li @changelog_1183_li
#A patch for Apache DDL Utils is available at https://issues.apache.org/jira/browse/DDLUTILS-185 #A patch for Apache DDL Utils is available at https://issues.apache.org/jira/browse/DDLUTILS-185
@changelog_1182_li @changelog_1184_li
#The default value for h2.emergencySpaceInitial is now 256 KB (to speed up creating encrypted databases) #The default value for h2.emergencySpaceInitial is now 256 KB (to speed up creating encrypted databases)
@changelog_1183_li @changelog_1185_li
#Eduardo Velasques has translated the H2 Console and the error messages to Brazilian Portuguese. Thanks a lot! #Eduardo Velasques has translated the H2 Console and the error messages to Brazilian Portuguese. Thanks a lot!
@changelog_1184_li @changelog_1186_li
#Creating a table from GROUP_CONCAT didn't work if the data was longer than 255 characters #Creating a table from GROUP_CONCAT didn't work if the data was longer than 255 characters
@changelog_1185_h2 @changelog_1187_h2
#Version 1.0.61 (2007-11-10) #Version 1.0.61 (2007-11-10)
@changelog_1186_li @changelog_1188_li
#The Lucene Fulltext implementation is now compiled and included in the h2.jar. Requires Lucene 2.2. #The Lucene Fulltext implementation is now compiled and included in the h2.jar. Requires Lucene 2.2.
@changelog_1187_li @changelog_1189_li
#Added more tests. The code coverage is now at 83%. #Added more tests. The code coverage is now at 83%.
@changelog_1188_li @changelog_1190_li
#ResultSetMetaData.getColumnDisplaySize was calculated as the longest display size for the given result set, but should be the maximum size that fits in the column. Fixed. #ResultSetMetaData.getColumnDisplaySize was calculated as the longest display size for the given result set, but should be the maximum size that fits in the column. Fixed.
@changelog_1189_li @changelog_1191_li
#The MODE used to be a global setting, now it is a database level setting. #The MODE used to be a global setting, now it is a database level setting.
@changelog_1190_li @changelog_1192_li
#The database does now always round to the nearest number when converting a floating point to a integer: CAST(1.5 AS INT) will now result in 2, like in PostgreSQL and MySQL. #The database does now always round to the nearest number when converting a floating point to a integer: CAST(1.5 AS INT) will now result in 2, like in PostgreSQL and MySQL.
@changelog_1191_li @changelog_1193_li
#Math operations using unknown data types (for example -? and ?+?) are now interpreted as decimal. #Math operations using unknown data types (for example -? and ?+?) are now interpreted as decimal.
@changelog_1192_li @changelog_1194_li
#INSTR, LOCATE: backward searching is not supported by using a negative start position. #INSTR, LOCATE: backward searching is not supported by using a negative start position.
@changelog_1193_li @changelog_1195_li
#Can now open a database stored in a jar or zip file (for example, jdbc:h2:zip:c:/temp/h2.zip!/test). #Can now open a database stored in a jar or zip file (for example, jdbc:h2:zip:c:/temp/h2.zip!/test).
@changelog_1194_li @changelog_1196_li
#Files access now uses an API (FileSystem, FileObject), this will simplify adding other file systems and features (for example replication). #Files access now uses an API (FileSystem, FileObject), this will simplify adding other file systems and features (for example replication).
@changelog_1195_li @changelog_1197_li
#Vlad Alexahin has translated H2 Console to Russian. Thanks a lot! #Vlad Alexahin has translated H2 Console to Russian. Thanks a lot!
@changelog_1196_li @changelog_1198_li
#Descending indexes are now supported. This is useful when sorting columns descending, for example by creation date. #Descending indexes are now supported. This is useful when sorting columns descending, for example by creation date.
@changelog_1197_li @changelog_1199_li
#Solved a Java level deadlock in the DatabaseCloser. #Solved a Java level deadlock in the DatabaseCloser.
@changelog_1198_li @changelog_1200_li
#CREATE SEQUENCE: New option CACHE (number of pre-allocated numbers). New column CACHE in the sequence meta data table. The default cache size is still 32. #CREATE SEQUENCE: New option CACHE (number of pre-allocated numbers). New column CACHE in the sequence meta data table. The default cache size is still 32.
@changelog_1199_li @changelog_1201_li
#MVCC: The system property h2.mvcc has been removed. A few bugs have been fixed, and new tests have been added. #MVCC: The system property h2.mvcc has been removed. A few bugs have been fixed, and new tests have been added.
@changelog_1200_h2 @changelog_1202_h2
#Version 1.0.60 (2007-10-20) #Version 1.0.60 (2007-10-20)
@changelog_1201_li @changelog_1203_li
#JdbcXAConnection: starting a transaction before getting the connection didn't switch off autocommit. #JdbcXAConnection: starting a transaction before getting the connection didn't switch off autocommit.
@changelog_1202_li @changelog_1204_li
#User defined aggregate functions are not supported. #User defined aggregate functions are not supported.
@changelog_1203_li @changelog_1205_li
#Server.shutdownTcpServer was blocked when first called with force=false and then force=true. Now documentation is improved, and it is no longer blocked. #Server.shutdownTcpServer was blocked when first called with force=false and then force=true. Now documentation is improved, and it is no longer blocked.
@changelog_1204_li @changelog_1206_li
#Stack traces did not include the SQL statement in all cases where they could have. Also, stack traces with SQL statement are now shorter. #Stack traces did not include the SQL statement in all cases where they could have. Also, stack traces with SQL statement are now shorter.
@changelog_1205_li @changelog_1207_li
#Linked tables: now tables in non-default schemas are supported as well #Linked tables: now tables in non-default schemas are supported as well
@changelog_1206_li @changelog_1208_li
#New Italian translation from PierPaolo Ucchino. Thanks a lot! #New Italian translation from PierPaolo Ucchino. Thanks a lot!
@changelog_1207_li @changelog_1209_li
#CSV: New methods to set the escape character and field delimiter in the Csv tool and the CSVWRITE and CSVREAD methods. #CSV: New methods to set the escape character and field delimiter in the Csv tool and the CSVWRITE and CSVREAD methods.
@changelog_1208_li @changelog_1210_li
#Prepared statements could not be used after data definition statements (creating tables and so on). Fixed. #Prepared statements could not be used after data definition statements (creating tables and so on). Fixed.
@changelog_1209_li @changelog_1211_li
#PreparedStatement.setMaxRows could not be changed to a higher value after the statement was executed. #PreparedStatement.setMaxRows could not be changed to a higher value after the statement was executed.
@changelog_1210_li @changelog_1212_li
#The H2 Console could not connect twice to the same H2 embedded database at the same time. Fixed. #The H2 Console could not connect twice to the same H2 embedded database at the same time. Fixed.
@changelog_1211_li @changelog_1213_li
#CSVREAD, RUNSCRIPT and so on now support URLs as well, using URL.openStream(). Example: select * from csvread('jar:file:///c:/temp/test.jar!/test.csv'); #CSVREAD, RUNSCRIPT and so on now support URLs as well, using URL.openStream(). Example: select * from csvread('jar:file:///c:/temp/test.jar!/test.csv');
@changelog_1212_h2 @changelog_1214_h2
#Version 1.0.59 (2007-10-03) #Version 1.0.59 (2007-10-03)
@changelog_1213_li @changelog_1215_li
#When the data type was unknown in a subquery, sometimes the wrong exception (ArrayIndexOutOfBounds) was thrown. Fixed. #When the data type was unknown in a subquery, sometimes the wrong exception (ArrayIndexOutOfBounds) was thrown. Fixed.
@changelog_1214_li @changelog_1216_li
#If the process was killed while the database was running, sometimes the database could not be opened ('double allocation') except when the system property h2.check was set to false. Fixed. #If the process was killed while the database was running, sometimes the database could not be opened ('double allocation') except when the system property h2.check was set to false. Fixed.
@changelog_1215_li @changelog_1217_li
#Multi-threaded kernel (MULTI_THREADED=1): A synchronization problem has been fixed. #Multi-threaded kernel (MULTI_THREADED=1): A synchronization problem has been fixed.
@changelog_1216_li @changelog_1218_li
#A PreparedStatement that was cancelled could not be reused. Fixed. #A PreparedStatement that was cancelled could not be reused. Fixed.
@changelog_1217_li @changelog_1219_li
#H2 Console: Progress information when logging into a H2 embedded database (useful when opening a database is slow). #H2 Console: Progress information when logging into a H2 embedded database (useful when opening a database is slow).
@changelog_1218_li @changelog_1220_li
#When the database was closed while logging was disabled (LOG 0), re-opening the database was slow. Fixed. #When the database was closed while logging was disabled (LOG 0), re-opening the database was slow. Fixed.
@changelog_1219_li @changelog_1221_li
#Fulltext search is now documented (in the Tutorial). #Fulltext search is now documented (in the Tutorial).
@changelog_1220_li @changelog_1222_li
#The Console did not refresh the table list if the CREATE TABLE statement started with a comment. Fixed. #The Console did not refresh the table list if the CREATE TABLE statement started with a comment. Fixed.
@changelog_1221_li @changelog_1223_li
#When creating a table using CREATE TABLE .. AS SELECT, the precision for some data types (for example VARCHAR) was set to the default precision. Fixed. #When creating a table using CREATE TABLE .. AS SELECT, the precision for some data types (for example VARCHAR) was set to the default precision. Fixed.
@changelog_1222_li @changelog_1224_li
#When using the (undocumented) in-memory file system (jdbc:h2:memFS:x or jdbc:h2:memLZF:x), and using multiple connections, a ConcurrentModificationException could occur. Fixed. #When using the (undocumented) in-memory file system (jdbc:h2:memFS:x or jdbc:h2:memLZF:x), and using multiple connections, a ConcurrentModificationException could occur. Fixed.
@changelog_1223_li @changelog_1225_li
#REGEXP compatibility: So far String.matches was used, but for compatibility with MySQL, now Matcher.find is used. #REGEXP compatibility: So far String.matches was used, but for compatibility with MySQL, now Matcher.find is used.
@changelog_1224_li @changelog_1226_li
#SCRIPT: the SQL statements in the result set now include the terminating semicolon as well. Simplifies copy and paste. #SCRIPT: the SQL statements in the result set now include the terminating semicolon as well. Simplifies copy and paste.
@changelog_1225_li @changelog_1227_li
#When using a subquery with group by as a table, some columns could not be used in the where condition in the outer query. Example: SELECT * FROM (SELECT ID, COUNT(*) C FROM TEST) WHERE C > 100. Fixed. #When using a subquery with group by as a table, some columns could not be used in the where condition in the outer query. Example: SELECT * FROM (SELECT ID, COUNT(*) C FROM TEST) WHERE C > 100. Fixed.
@changelog_1226_li @changelog_1228_li
#Views with subqueries as tables and queries with nested subqueries as tables did not always work. Fixed. #Views with subqueries as tables and queries with nested subqueries as tables did not always work. Fixed.
@changelog_1227_li @changelog_1229_li
#Compatibility: comparing columns with constants that are out of range does not throw an exception. #Compatibility: comparing columns with constants that are out of range does not throw an exception.
@changelog_1228_h2 @changelog_1230_h2
#Version 1.0.58 (2007-09-15) #Version 1.0.58 (2007-09-15)
@changelog_1229_li @changelog_1231_li
#System.exit is no longer called by the WebServer, the Console and the Server tool (except to set the exit code if required). This is important when using OSGi. #System.exit is no longer called by the WebServer, the Console and the Server tool (except to set the exit code if required). This is important when using OSGi.
@changelog_1230_li @changelog_1232_li
#Optimization for independent subqueries. For example, this query can now an index: SELECT * FROM TEST WHERE ID = (SELECT MAX(ID) FROM TEST) This can be disabled by setting the system property h2.optimizeSubqueryCache to false. #Optimization for independent subqueries. For example, this query can now an index: SELECT * FROM TEST WHERE ID = (SELECT MAX(ID) FROM TEST) This can be disabled by setting the system property h2.optimizeSubqueryCache to false.
@changelog_1231_li @changelog_1233_li
#The explain plan now says: /* direct lookup query */ if the query can be processed directly without reading rows, for example when using MIN(indexed column), MAX(indexed column), or COUNT(*). #The explain plan now says: /* direct lookup query */ if the query can be processed directly without reading rows, for example when using MIN(indexed column), MAX(indexed column), or COUNT(*).
@changelog_1232_li @changelog_1234_li
#When using IFNULL, NULLIF, COALESCE, LEAST, or GREATEST, and the first parameter was ?, an exception was thrown. Now the highest data type of all parameters is used. #When using IFNULL, NULLIF, COALESCE, LEAST, or GREATEST, and the first parameter was ?, an exception was thrown. Now the highest data type of all parameters is used.
@changelog_1233_li @changelog_1235_li
#When comparing TINYINT or SMALLINT columns against constants, the index was not used. Fixed. #When comparing TINYINT or SMALLINT columns against constants, the index was not used. Fixed.
@changelog_1234_li @changelog_1236_li
#Maven 2: new version are now automatically synced with the central repositories. #Maven 2: new version are now automatically synced with the central repositories.
@changelog_1235_li @changelog_1237_li
#The default value for MAX_MEMORY_UNDO is now 100000. #The default value for MAX_MEMORY_UNDO is now 100000.
@changelog_1236_li @changelog_1238_li
#The documentation indexer does no longer index Japanese pages. If somebody knows how to split Japanese into words please post it. #The documentation indexer does no longer index Japanese pages. If somebody knows how to split Japanese into words please post it.
@changelog_1237_li @changelog_1239_li
#Oracle compatibility: SYSDATE now returns a timestamp. CHR(..) is now an alias for CHAR(..). #Oracle compatibility: SYSDATE now returns a timestamp. CHR(..) is now an alias for CHAR(..).
@changelog_1238_li @changelog_1240_li
#After deleting data, empty space in the database files was not efficiently reused (but it was reused when opening the database). This has been fixed. #After deleting data, empty space in the database files was not efficiently reused (but it was reused when opening the database). This has been fixed.
@changelog_1239_li @changelog_1241_li
#About 230 bytes per database was leaked. This is a problem for applications opening and closing many thousand databases. The main problem: a shutdown hook was added but never removed. Fixed. In JDK 1.4, there is <a href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4197876">an additionally problem</a> . A workaround has been implemented. #About 230 bytes per database was leaked. This is a problem for applications opening and closing many thousand databases. The main problem: a shutdown hook was added but never removed. Fixed. In JDK 1.4, there is <a href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4197876">an additionally problem</a> . A workaround has been implemented.
@changelog_1240_li @changelog_1242_li
#Optimization for COLUMN IN(.., NULL) if the column does not allow NULL values. #Optimization for COLUMN IN(.., NULL) if the column does not allow NULL values.
@changelog_1241_li @changelog_1243_li
#Using spaces in column and table aliases was not supported when used inside a view or temporary view. #Using spaces in column and table aliases was not supported when used inside a view or temporary view.
@changelog_1242_li @changelog_1244_li
#The version (build) number is now included in the manifest file. #The version (build) number is now included in the manifest file.
@changelog_1243_li @changelog_1245_li
#In some systems, SecureRandom.generateSeed is very slow (taking one minute or more). For those cases, an alternative method is used that takes less than one second. #In some systems, SecureRandom.generateSeed is very slow (taking one minute or more). For those cases, an alternative method is used that takes less than one second.
@changelog_1244_li @changelog_1246_li
#The database file sizes are now increased at most 32 MB at any time. #The database file sizes are now increased at most 32 MB at any time.
@changelog_1245_li @changelog_1247_li
#New method DatabaseEventListener.opened that is called just after opening a database. #New method DatabaseEventListener.opened that is called just after opening a database.
@changelog_1246_li @changelog_1248_li
#When using the Console with Internet Explorer 6.0 or 7.0, a Javascript error was thrown after clearing the query. #When using the Console with Internet Explorer 6.0 or 7.0, a Javascript error was thrown after clearing the query.
@changelog_1247_li @changelog_1249_li
#A database can now be opened even if class of a user defined function is not in the classpath. Trying to call the function will throws an exception. #A database can now be opened even if class of a user defined function is not in the classpath. Trying to call the function will throws an exception.
@changelog_1248_li @changelog_1250_li
#User defined functions and constants may not overload built-in functions and constants. This didn't work before, but now trying to create such an object will fail. #User defined functions and constants may not overload built-in functions and constants. This didn't work before, but now trying to create such an object will fail.
@changelog_1249_li @changelog_1251_li
#Improved MultiDimension tool (for spatial queries): in the last few releases the tool was actually slower than using a regular query (because index lookup got faster, and because the tool didn't support prepared statements) Now the tool generates prepared statements, and the performance is better again (about 5 times faster for a reasonable amount of data). #Improved MultiDimension tool (for spatial queries): in the last few releases the tool was actually slower than using a regular query (because index lookup got faster, and because the tool didn't support prepared statements) Now the tool generates prepared statements, and the performance is better again (about 5 times faster for a reasonable amount of data).
@changelog_1250_li @changelog_1252_li
#Adding a foreign key or when re-enabling referential integrity for a table failed when checking was enabled and the reference contained NULL. #Adding a foreign key or when re-enabling referential integrity for a table failed when checking was enabled and the reference contained NULL.
@changelog_1251_li @changelog_1253_li
#For PgServer, character encoding other than UTF-8 did not work correctly. Fixed. #For PgServer, character encoding other than UTF-8 did not work correctly. Fixed.
@changelog_1252_li @changelog_1254_li
#Using a function in a GROUP BY expression that is used in a view as a condition did not always work. #Using a function in a GROUP BY expression that is used in a view as a condition did not always work.
@changelog_1253_h2 @changelog_1255_h2
#Version 1.0.57 (2007-08-25) #Version 1.0.57 (2007-08-25)
@changelog_1254_li @changelog_1256_li
#New experimental feature MVCC (multi version concurrency control). Can be set as a option when opening the database (jdbc:h2:~/test;MVCC=TRUE) or as a system property (-Dh2.mvcc=true). This is work-in-progress, use it at your own risk. Feedback is welcome. #New experimental feature MVCC (multi version concurrency control). Can be set as a option when opening the database (jdbc:h2:~/test;MVCC=TRUE) or as a system property (-Dh2.mvcc=true). This is work-in-progress, use it at your own risk. Feedback is welcome.
@changelog_1255_li @changelog_1257_li
#The version number is now major.minor.micro where micro is the build number. Not all version are public, so there may be gaps in the micro. The minor changes when there is a file format change. #The version number is now major.minor.micro where micro is the build number. Not all version are public, so there may be gaps in the micro. The minor changes when there is a file format change.
@changelog_1256_li @changelog_1258_li
#The backup tool (org.h2.tools.Backup) did not work. The restore tool did not work when the -db parameter was used. Fixed. The documentation of the backup tool has been changed: only one database may be backed up at any time. #The backup tool (org.h2.tools.Backup) did not work. The restore tool did not work when the -db parameter was used. Fixed. The documentation of the backup tool has been changed: only one database may be backed up at any time.
@changelog_1257_li @changelog_1259_li
#Opening large read-only databases was very slow. Fixed. #Opening large read-only databases was very slow. Fixed.
@changelog_1258_li @changelog_1260_li
#New Japanese translation of the error messages thanks to Ikemoto Masahiro. Thanks a lot! #New Japanese translation of the error messages thanks to Ikemoto Masahiro. Thanks a lot!
@changelog_1259_li @changelog_1261_li
#Disabling / enabling referential integrity for a table can now be used inside a transaction. #Disabling / enabling referential integrity for a table can now be used inside a transaction.
@changelog_1260_li @changelog_1262_li
#Rights checking for dynamic tables (SELECT * FROM (SELECT ...)) did not work. Fixed. #Rights checking for dynamic tables (SELECT * FROM (SELECT ...)) did not work. Fixed.
@changelog_1261_li @changelog_1263_li
#Creating more than 10 views that depend on each other was very slow. Reconnecting was slow as well. Fixed. #Creating more than 10 views that depend on each other was very slow. Reconnecting was slow as well. Fixed.
@changelog_1262_li @changelog_1264_li
#When used as as Servlet, the H2 Console did not work with SSL (using Tomcat). Fixed. #When used as as Servlet, the H2 Console did not work with SSL (using Tomcat). Fixed.
@changelog_1263_li @changelog_1265_li
#When altering a table with foreign key constraint, if there was no manual index created for the referenced columns, the automatically created index was dropped while still being used. Fixed. #When altering a table with foreign key constraint, if there was no manual index created for the referenced columns, the automatically created index was dropped while still being used. Fixed.
@changelog_1264_li @changelog_1266_li
#Check and foreign key constraints now checks if the existing data is consistent (this can be disabled by appending NOCHECK). It is also possible to check existing data when re-enabling referential integrity for a table. #Check and foreign key constraints now checks if the existing data is consistent (this can be disabled by appending NOCHECK). It is also possible to check existing data when re-enabling referential integrity for a table.
@changelog_1265_li @changelog_1267_li
#Some unit tests failed on Linux because the file system works differently. The unit tests are fixed and should work now. #Some unit tests failed on Linux because the file system works differently. The unit tests are fixed and should work now.
@changelog_1266_li @changelog_1268_li
#Can now incrementally translate the documentation. See also FAQ. #Can now incrementally translate the documentation. See also FAQ.
@changelog_1267_li @changelog_1269_li
#Improved error messages: some tools can't show the root cause of an exception. Adding the message of the root cause to the message of the thrown exception now where it makes sense. #Improved error messages: some tools can't show the root cause of an exception. Adding the message of the root cause to the message of the thrown exception now where it makes sense.
@changelog_1268_li @changelog_1270_li
#The H2 Console can now connect to databases using JNDI. The driver class name must be a javax.naming.Context, (for example javax.naming.InitialContext), and the URL the resource name (for example java:comp/env/jdbc/Test). This should also work for linked tables. #The H2 Console can now connect to databases using JNDI. The driver class name must be a javax.naming.Context, (for example javax.naming.InitialContext), and the URL the resource name (for example java:comp/env/jdbc/Test). This should also work for linked tables.
@changelog_1269_li @changelog_1271_li
#Google translate did not work for the H2 homepage. It should be fixed now. #Google translate did not work for the H2 homepage. It should be fixed now.
@changelog_1270_li @changelog_1272_li
#The CONVERT function did not work with views when using UNION. #The CONVERT function did not work with views when using UNION.
@changelog_1271_li @changelog_1273_li
#The build now issues a warning if the source code is switched to the wrong version. #The build now issues a warning if the source code is switched to the wrong version.
@changelog_1272_li @changelog_1274_li
#The default lock mode is now read committed instead of serialized. #The default lock mode is now read committed instead of serialized.
@changelog_1273_li @changelog_1275_li
#PG server: data was truncated when reading large VARCHAR columns and decimal columns. #PG server: data was truncated when reading large VARCHAR columns and decimal columns.
@changelog_1274_li @changelog_1276_li
#PG server: when the same database was accessed multiple times using the PostgreSQL ODBC driver, the pg_catalog schema update failed, and connecting to the database was not possible. Fixed. #PG server: when the same database was accessed multiple times using the PostgreSQL ODBC driver, the pg_catalog schema update failed, and connecting to the database was not possible. Fixed.
@changelog_1275_li @changelog_1277_li
#Some file operations didn't work for files in the root directory. Fixed. #Some file operations didn't work for files in the root directory. Fixed.
@changelog_1276_li @changelog_1278_li
#In the Restore tool, the parameter -file did not work. Fixed. #In the Restore tool, the parameter -file did not work. Fixed.
@changelog_1277_li @changelog_1279_li
#Two-phase commit: commit with transaction name was only supported in the recovery scan. Now it is always supported. #Two-phase commit: commit with transaction name was only supported in the recovery scan. Now it is always supported.
@changelog_1278_li @changelog_1280_li
#The column name C_CURRENT_TIMESTAMP did not work in the last release. #The column name C_CURRENT_TIMESTAMP did not work in the last release.
@changelog_1279_li @changelog_1281_li
#OpenOffice compatibility: support database name in column names. #OpenOffice compatibility: support database name in column names.
@download_1000_h1 @download_1000_h1
ダウンロード ダウンロード
@download_1001_h3 @download_1001_h3
#Version 1.0.69 (2008-03-29, Current) #Version 1.0.69 (2008-04-20, Current)
@download_1002_a @download_1002_a
Windows Installer Windows Installer
...@@ -1849,7 +1855,7 @@ Windows Installer ...@@ -1849,7 +1855,7 @@ Windows Installer
Platform-Independent Zip Platform-Independent Zip
@download_1004_h3 @download_1004_h3
#Version 1.0.68 (2008-03-15, Last Stable) #Version 1.0.68 (2008-03-29, Last Stable)
@download_1005_a @download_1005_a
Windows Installer Windows Installer
...@@ -4360,13 +4366,13 @@ H2 データベース エンジン ...@@ -4360,13 +4366,13 @@ H2 データベース エンジン
ダウンロード ダウンロード
@mainWeb_1008_td @mainWeb_1008_td
#Version 1.0.69 (2008-03-29): #Version 1.0.70 (2008-04-20):
@mainWeb_1009_a @mainWeb_1009_a
#Windows Installer (3.0 MB) #Windows Installer (3.1 MB)
@mainWeb_1010_a @mainWeb_1010_a
#All platforms (zip, 4.2 MB) #All platforms (zip, 4.5 MB)
@mainWeb_1011_a @mainWeb_1011_a
全てダウンロード 全てダウンロード
...@@ -7616,840 +7622,3 @@ Javaアプリケーション内からインデックスを呼び出すことも ...@@ -7616,840 +7622,3 @@ Javaアプリケーション内からインデックスを呼び出すことも
@tutorial_1201_p @tutorial_1201_p
#If the time zone is not set, the value is parsed using the current time zone setting of the system. Date and time information is stored in H2 database files in GMT (Greenwich Mean Time). If the database is opened using another system time zone, the date and time will change accordingly. If you want to move a database from one time zone to the other and don't want this to happen, you need to create a SQL script file using the SCRIPT command or Script tool, and then load the database using the RUNSCRIPT command or the RunScript tool in the new time zone. #If the time zone is not set, the value is parsed using the current time zone setting of the system. Date and time information is stored in H2 database files in GMT (Greenwich Mean Time). If the database is opened using another system time zone, the date and time will change accordingly. If you want to move a database from one time zone to the other and don't want this to happen, you need to create a SQL script file using the SCRIPT command or Script tool, and then load the database using the RUNSCRIPT command or the RunScript tool in the new time zone.
@~advanced_1256_h2
汎用一意識別子 (UUID)
@~advanced_1256_h3
HTTPS 接続
@~advanced_1258_h2
汎用一意識別子 (UUID)
@~advanced_1258_p
いくつかの値は:
@~advanced_1260_h2
システムプロパティから読み込まれた設定
@~advanced_1260_p
いくつかの値は:
@~advanced_1262_h2
システムプロパティから読み込まれた設定
@~advanced_1262_p
#The current value of the settings can be read in the table INFORMATION_SCHEMA.SETTINGS.
@~advanced_1264_h2
#Setting the Server Bind Address
@~advanced_1264_p
#The current value of the settings can be read in the table INFORMATION_SCHEMA.SETTINGS.
@~advanced_1266_h2
#Setting the Server Bind Address
@~advanced_1267_th
用語
@~advanced_1268_th
説明
@~advanced_1269_td
AES-128
@~advanced_1269_th
用語
@~advanced_1270_td
ブロック暗号化アルゴリズム。こちらもご覧下さい:<a href="http://en.wikipedia.org/wiki/Advanced_Encryption_Standard">Wikipedia: AES</a>
@~advanced_1270_th
説明
@~advanced_1271_td
AES-128
@~advanced_1272_td
ブロック暗号化アルゴリズム。こちらもご覧下さい:<a href="http://en.wikipedia.org/wiki/Advanced_Encryption_Standard">Wikipedia: AES</a>
@~advanced_1280_a
Wikipedia: Block cipher modes of operation
@~advanced_1282_a
Wikipedia: Block cipher modes of operation
@~advanced_1282_td
パスワードのセキュリティを増大する乱数。こちらもご覧下さい: <a href="http://en.wikipedia.org/wiki/Key_derivation_function">Wikipedia: Key derivation function</a>
@~advanced_1284_td
パスワードのセキュリティを増大する乱数。こちらもご覧下さい: <a href="http://en.wikipedia.org/wiki/Key_derivation_function">Wikipedia: Key derivation function</a>
@~changelog_1003_h2
#Version 1.0.69 (2008-03-29)
@~changelog_1014_h2
#Version 1.0.69 (2008-03-29)
@~changelog_1014_li
#The recovery tool didn't work correctly for tables without rows.
@~changelog_1020_h2
#Version 1.0.68 (2008-03-18)
@~changelog_1020_li
#ALTER TABLE or CREATE TABLE now support parameters for the password field.
@~changelog_1024_h2
#Version 1.0.69 (2008-03-29)
@~changelog_1024_li
#New system property h2.sortNullsHigh to invert the default sorting behavior for NULL. The default didn't change.
@~changelog_1025_li
#Most command line tools can now be called from within the H2 Console.
@~changelog_1031_h2
#Version 1.0.68 (2008-03-18)
@~changelog_1031_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_1037_h2
#Version 1.0.68 (2008-03-18)
@~changelog_1037_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_1041_h2
#Version 1.0.68 (2008-03-18)
@~changelog_1041_li
#ALTER SEQUENCE and ALTER TABLE ALTER COLUMN RESTART can now be used inside a transaction.
@~changelog_1042_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_1044_h2
#Version 1.0.67 (2008-02-22)
@~changelog_1055_h2
#Version 1.0.67 (2008-02-22)
@~changelog_1055_li
#The value cache is now a soft reference cache. This should help save memory.
@~changelog_1061_h2
#Version 1.0.67 (2008-02-22)
@~changelog_1061_li
#When using multiple connections, empty space was reused too early sometimes. This could corrupt the database when recovering.
@~changelog_1065_h2
#Version 1.0.67 (2008-02-22)
@~changelog_1065_li
#A user now has all rights on his own local temporary tables.
@~changelog_1066_li
#New function FILE_READ to read a file or from an URL. Both binary and text data is supported.
@~changelog_1067_h2
#Version 1.0.66 (2008-02-02)
@~changelog_1078_h2
#Version 1.0.66 (2008-02-02)
@~changelog_1078_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_1084_h2
#Version 1.0.65 (2008-01-18)
@~changelog_1084_li
#Better support for IKVM (www.ikvm.net): the H2 Console now opens a browser window.
@~changelog_1088_h2
#Version 1.0.66 (2008-02-02)
@~changelog_1088_li
#The exception 'Value too long for column' now includes the data.
@~changelog_1089_li
#There is a new online error analyzer tool.
@~changelog_1095_h2
#Version 1.0.65 (2008-01-18)
@~changelog_1095_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_1101_h2
#Version 1.0.65 (2008-01-18)
@~changelog_1101_li
#The Ukrainian translation has been improved.
@~changelog_1105_h2
#Version 1.0.65 (2008-01-18)
@~changelog_1105_li
#The ChangePassword API has been improved.
@~changelog_1106_li
#The build (ant) now automatically switches the source code to the correct version (JDK 1.4/1.5 or 1.6).
@~changelog_1107_h2
#Version 1.0.64 (2007-12-27)
@~changelog_1118_h2
#Version 1.0.64 (2007-12-27)
@~changelog_1118_li
#New built-in functions RPAD and LPAD.
@~changelog_1124_h2
#Version 1.0.64 (2007-12-27)
@~changelog_1124_li
#The MVCC mode did not work well with in-memory databases. Fixed.
@~changelog_1128_h2
#Version 1.0.64 (2007-12-27)
@~changelog_1128_li
#CSV tool: the character # could not be used as a separator when reading.
@~changelog_1129_li
#3-way union queries with prepared statement or views could return the wrong results. Fixed.
@~changelog_1133_h2
#Version 1.0.63 (2007-12-02)
@~changelog_1144_h2
#Version 1.0.63 (2007-12-02)
@~changelog_1150_h2
#Version 1.0.63 (2007-12-02)
@~changelog_1150_li
#Performance optimization for IN(...) and IN(SELECT...), currently disabled by default. To enable, use java -Dh2.optimizeInJoin=true
@~changelog_1154_h2
#Version 1.0.63 (2007-12-02)
@~changelog_1154_li
#Improved FTP server: now the PORT command is supported.
@~changelog_1155_h2
#Version 1.0.62 (2007-11-25)
@~changelog_1155_li
#The performance of large CSV operations has been improved.
@~changelog_1161_h2
#Version 1.0.62 (2007-11-25)
@~changelog_1161_li
#Duplicate column names were not detected when renaming columns. Fixed.
@~changelog_1163_h2
#Version 1.0.61 (2007-11-10)
@~changelog_1165_h2
#Version 1.0.62 (2007-11-25)
@~changelog_1165_li
#Renaming or dropping a user with a schema, or removing the admin property of that user made the schema inaccessible after re-opening the database. Fixed.
@~changelog_1166_li
#Large updates and deletes are now supported by buffering data to disk if required. The threshold is currently set to 100'000 bytes and can be changed using SET MAX_OPERATION_MEMORY or using by appending ;MAX_OPERATION_MEMORY=.. to the database URL. See also the docs.
@~changelog_1174_h2
#Version 1.0.61 (2007-11-10)
@~changelog_1174_li
#Descending indexes are now supported. This is useful when sorting columns descending, for example by creation date.
@~changelog_1178_h2
#Version 1.0.60 (2007-10-20)
@~changelog_1180_h2
#Version 1.0.61 (2007-11-10)
@~changelog_1180_li
#Math operations using unknown data types (for example -? and ?+?) are now interpreted as decimal.
@~changelog_1184_h2
#Version 1.0.61 (2007-11-10)
@~changelog_1184_li
#The MODE used to be a global setting, now it is a database level setting.
@~changelog_1185_li
#The Lucene Fulltext implementation is now compiled and included in the h2.jar. Requires Lucene 2.2.
@~changelog_1189_h2
#Version 1.0.60 (2007-10-20)
@~changelog_1189_li
#CSVREAD, RUNSCRIPT and so on now support URLs as well, using URL.openStream(). Example: select * from csvread('jar:file:///c:/temp/test.jar!/test.csv');
@~changelog_1190_h2
#Version 1.0.59 (2007-10-03)
@~changelog_1195_h2
#Version 1.0.60 (2007-10-20)
@~changelog_1195_li
#New Italian translation from PierPaolo Ucchino. Thanks a lot!
@~changelog_1199_h2
#Version 1.0.60 (2007-10-20)
@~changelog_1199_li
#Stack traces did not include the SQL statement in all cases where they could have. Also, stack traces with SQL statement are now shorter.
@~changelog_1200_li
#JdbcXAConnection: starting a transaction before getting the connection didn't switch off autocommit.
@~changelog_1201_h2
#Version 1.0.59 (2007-10-03)
@~changelog_1201_li
#REGEXP compatibility: So far String.matches was used, but for compatibility with MySQL, now Matcher.find is used.
@~changelog_1206_h2
#Version 1.0.58 (2007-09-15)
@~changelog_1207_h2
#Version 1.0.59 (2007-10-03)
@~changelog_1207_li
#When the database was closed while logging was disabled (LOG 0), re-opening the database was slow. Fixed.
@~changelog_1211_h2
#Version 1.0.59 (2007-10-03)
@~changelog_1211_li
#A PreparedStatement that was cancelled could not be reused. Fixed.
@~changelog_1212_li
#When the data type was unknown in a subquery, sometimes the wrong exception (ArrayIndexOutOfBounds) was thrown. Fixed.
@~changelog_1217_h2
#Version 1.0.58 (2007-09-15)
@~changelog_1217_li
#About 230 bytes per database was leaked. This is a problem for applications opening and closing many thousand databases. The main problem: a shutdown hook was added but never removed. Fixed. In JDK 1.4, there is <a href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4197876">an additionally problem</a> . A workaround has been implemented.
@~changelog_1223_h2
#Version 1.0.58 (2007-09-15)
@~changelog_1223_li
#Maven 2: new version are now automatically synced with the central repositories.
@~changelog_1227_h2
#Version 1.0.58 (2007-09-15)
@~changelog_1227_li
#When using IFNULL, NULLIF, COALESCE, LEAST, or GREATEST, and the first parameter was ?, an exception was thrown. Now the highest data type of all parameters is used.
@~changelog_1228_li
#System.exit is no longer called by the WebServer, the Console and the Server tool (except to set the exit code if required). This is important when using OSGi.
@~changelog_1231_h2
#Version 1.0.57 (2007-08-25)
@~changelog_1242_h2
#Version 1.0.57 (2007-08-25)
@~changelog_1242_li
#Check and foreign key constraints now checks if the existing data is consistent (this can be disabled by appending NOCHECK). It is also possible to check existing data when re-enabling referential integrity for a table.
@~changelog_1248_h2
#Version 1.0.57 (2007-08-25)
@~changelog_1248_li
#Disabling / enabling referential integrity for a table can now be used inside a transaction.
@~changelog_1252_h2
#Version 1.0.57 (2007-08-25)
@~changelog_1252_li
#Opening large read-only databases was very slow. Fixed.
@~changelog_1253_li
#New experimental feature MVCC (multi version concurrency control). Can be set as a option when opening the database (jdbc:h2:~/test;MVCC=TRUE) or as a system property (-Dh2.mvcc=true). This is work-in-progress, use it at your own risk. Feedback is welcome.
@~features_1181_li
インメモリデータベース (プライベートと共有)
@~features_1182_h2
データベースURL概要
@~features_1183_p
#This database supports multiple connection modes and connection settings. This is achieved using different database URLs. Settings in the URLs are not case sensitive.
@~features_1184_th
トピック
@~features_1185_th
URLフォーマットと例
@~features_1186_td
エンベッド (ローカル) 接続
@~features_1187_td
jdbc:h2:[file:][&lt;path&gt;]&lt;databaseName&gt;
@~features_1188_td
jdbc:h2:~/test
@~features_1189_td
jdbc:h2:file:/data/sample
@~features_1190_td
jdbc:h2:file:C:/data/sample (Windowsのみ)
@~features_1237_h3
エンベッド (ローカル) データベースに接続
@~features_1238_p
#The database URL for connecting to a local database is <code>jdbc:h2:[file:][&lt;path&gt;]&lt;databaseName&gt;</code> . The prefix <code>file:</code> is optional. If no or only a relative path is used, then the current working directory is used as a starting point. The case sensitivity of the path and database name depend on the operating system, however it is recommended to use lowercase letters only. The database name must be at least three characters long (a limitation of File.createTempFile). To point to the user home directory, use ~/, as in: jdbc:h2:~/test.
@~features_1239_h2
メモリオンリーデータベース
@~features_1240_p
特定の使用方法では (例: rapid prototyping、テスト、高パフォーマンスオペレーション、読み取り専用データベース)、データは持続する (変化する) 必要は全くないかもしれません。このデータベースは、データが持続しない際にメモリオンリーモードをサポートします。
@~features_1241_p
一部ケースでは、メモリオンリーデータベースへの接続はひとつの接続のみ必要とされます。これは、開かれるデータベースがプライベートだということを意味しています。このケースでは、データベースURLは <CODE>jdbc:h2:mem:</CODE> です。同じ仮想マシン内で二つの接続が開いているというのは、二つの異なった (プライベートの) データベースが開いているという意味です。
@~features_1242_p
時々、複数の接続が同じメモリオンリーデータベースを必要とします。このケースでは、データベースのURLに名前が含まれていなければなりません。例: <code>jdbc:h2:mem:db1</code> この方法での同じデータベースのアクセスは、同じ仮想マシンとClassLoader環境内でのみ動作します。
@~features_1244_p
#By default, when the last connection to a in-memory database is closed, the contents are lost. This can be disabled by adding ;DB_CLOSE_DELAY=-1 to the database URL. That means to keep the contents of an in-memory database as long as the virtual machine is alive, use jdbc:h2:mem:test;DB_CLOSE_DELAY=-1
@~features_1245_h2
暗号化ファイルと共にデータベースへ接続する
@~features_1247_h2
データベースファイルロック
@~features_1250_li
デフォルトメソッドは "file" で、データベースファイルを保護するために、watchdogスレッドを使用します。watchdogは、ロックファイルをそれぞれ秒単位で読み込みます。
@~features_1251_li
二つめのメソッドは "socket" で、サーバーソケットを開きます。ソケットメソッドは、ロックファイルを秒単位で読むことを必要としていません。ソケットメソッドは、データベースファイルがひとつの (いつも同じ) コンピューターのみによってアクセスされる場合にのみ使用されます。
@~features_1252_li
ファイルロッキングなしでデータベースを開始することも可能です; このケースでは、データベースファイルを保護するのはアプリケーション次第です。
@~features_1255_p
アルゴリズムについての詳しい情報は、進化したトピックス のファイルロックプロトコルをご覧下さい。
@~features_1256_h2
すでに存在する場合のみ、データベースを開く
@~features_1257_p
デフォルトでは、アプリケーションが <code>DriverManager.getConnection(url,...)</code> を呼び出し、URLで指定されたデータベースがまだ存在しない時、 新しい (空の) データベースが作成されます。ある状況では、もしすでにデータベースが存在するのであれば、新しいデータベースの作成を制限して、データベースを開くだけにした方がよいでしょう。<code>;ifexists=true</code> をURLに追加することによって可能になります。このケースでは、もしデータベースがまだ存在していなければ、接続しようとした時に例外が投げられます。接続は、データベースがすでに存在する時のみ成功します。完全なURLは次のようです:
@~features_1258_h2
データベースを終了する
@~features_1259_h3
データベースの遅延終了
@~features_1261_p
値の-1は、データベースは決して自動的に閉じられないということを意味します。値の0はデフォルトで、最後の接続が終了した時データベースが終了するということを意味します。この設定は永続的で、管理者のみが設定することができます。データベースのURL内で値を設定することが可能です: <code>jdbc:h2:~/test;DB_CLOSE_DELAY=10</code>
@~features_1262_h3
VMが終了した時、データベースを終了しない
@~features_1263_p
デフォルトでは、データベースは最後の接続が閉じられた時に終了されます。しかし、最後の接続が決して閉じられなければ、仮想マシンが正常に終了する時にデータベースは閉じられます。これはshutdown hookを使うことによって行われます。一部状況では、データベースはこのケースで終了されてはいけません。例えば、仮想マシンが終了している時にデータベースがまだ使われている場合です (例として、シャットダウンプロセスをデータベースに保存するため)。このケースでは、データベースURLでデータベースの自動終了を無効にすることが可能です。最初の接続は (ひとつはデータベースを開始するもの) データベースURLにオプションを設定する必要があります (設定を後で変更することは不可能です)。VMが終了する時、データベースの終了を無効にするためのデータベースURLです:
@~features_1264_h2
ログインデックスの修正
@~features_1266_h3
未知の設定を無視
@~features_1267_p
データベースに接続する時、いくつかのアプリケーションが (例えば、OpenOffice.org Base) いくつかの追加パラメータを渡します。なぜそれらのパラメータが渡されるのかは知られていません。PREFERDOSLIKELINEENDS と IGNOREDRIVERPRIVILEGES はパラメータの例で、それらは、OpenOffice.orgとの互換性を改良するために単に無視されます。もしデータベースに接続する時、アプリケーションが他のパラメータを渡していたら、通常データベースは、 パラメータはサポートされていません、という例外を投げます。データベースURLに ;IGNORE_UNKNOWN_SETTINGS=TRUE を追加することで、このようなパラメータを無視することが可能です。
@~features_1268_h3
接続が開始された時に他の設定を変更する
@~features_1269_p
すでに記述された設定に加えて (暗号、ファイルロック、データベースの存在、ユーザー、パスワード)、他のデータベースの設定は、データベースURLの中で渡すことができます。<CODE>SET setting value</CODE>ステートメントを接続直後に実行するのと同じように 、<CODE>setting=value</CODE> をURLの最後に追加します。このデータベースによってサポートされている設定の一覧は、SQL文法のドキュメントをご覧下さい。
@~features_1270_h2
カスタムファイル アクセスモード
@~features_1271_p
#Usually, the database opens log, data and index files with the access mode 'rw', meaning read-write (except for read only databases, where the mode 'r' is used). To open a database in read-only mode if the files are not read-only, use ACCESS_MODE_DATA=r. Also supported are 'rws' and 'rwd'. The access mode used for log files is set via ACCESS_MODE_LOG; for data and index files use ACCESS_MODE_DATA. These settings must be specified in the database URL:
@~features_1273_h2
複数の接続
@~features_1274_h3
同時に複数のデータベースを開く
@~features_1275_p
アプリケーションは、同じデータベースへの複数の接続を含め、複数のデータベースを同時に開くことができます。開くデータベースの数は、利用可能なメモリによってのみ制限されています。
@~features_1276_h3
>同じデータベースへの複数の接続: クライアント/サーバー
@~features_1278_h3
マルチスレッドサポート
@~features_1279_p
このデータベースは安全なマルチスレッドです。これは、アプリケーションがマルチスレッドならば、データベースへの同時アクセスに関して心配する必要がない、ということを意味しています。本質的に、同じデータベースへのほとんどのリクエストは同時に動きます。アプリケーションは、同時に同じデータベースにアクセスするマルチスレッドを使用することができますが、ひとつのスレッドが処理時間の長いクエリーを実行しているなら、他のスレッドは待つ必要があります。
@~features_1280_h3
ロック、ロックタイムアウト、デッドロック
@~features_1281_p
データの一貫した状態をそれぞれの接続に与えるために、データベースはテーブルレベルでのロックを使用します。二種類のロックがあります: リードロック (共有ロック) とライトロック (排他ロック) です。もし、接続がテーブルから読み込みたい場合で、テーブルにライトロックがない場合に、リードロックをテーブルに追加します。もしライトロックがあれば、この接続はロックを解除するために他の接続を待ちます。接続が指定された時間までにロックを取得できなければ、ロックタイムアウトの例外が投げられます。
@~features_1283_th
ロックの種類
@~features_1284_th
SQLステートメント
@~features_1285_td
Read
@~features_1286_td
SELECT * FROM TEST
@~features_1287_td
CALL SELECT MAX(ID) FROM TEST
@~features_1288_td
SCRIPT
@~features_1289_td
Write
@~features_1300_p
SQLコマンド SET LOCK_TIMEOUT &lt;milliseconds&gt; を使用して、ロックタイムアウトの例外が投げられるまでの秒数を、それぞれの接続ごとに別々に設定することができます。SQLコマンド SET DEFAULT_LOCK_TIMEOUT &lt;milliseconds&gt; を使用して、初期のロックタイムアウト (新しい接続に使用されるタイムアウト) を設定することができます。デフォルトのロックタイムアウトは永続的です。
@~features_1301_h2
データベースファイルレイアウト
@~features_1302_p
永続的なデータベースのために作成された多くのファイルがあります。一部のデータベースを除いて、全てのテーブルと (または) インデックスが自身のファイル内に保存されているわけではありません。その代りに、通常次のファイルのみが作成されます: データファイル、インデックスファイル、ログファイル、データベースロックファイル (データベースが使われている間のみ存在します)。それに加えて、ファイルはそれぞれの大きなオブジェクト (CLOB/BLOB) のために作成されます。各ライナーインデックスのためのファイル、大きなresult setのためのテンポラリーファイルです。データベーストレースオプションが有効の場合、トレースファイルが作成されます。次のファイルはデータベースによって作成されます:
@~features_1303_th
ファイル名
@~features_1304_th
説明
@~features_1305_th
ファイル数
@~features_1306_td
test.data.db
@~features_1307_td
データファイル
@~features_1308_td
全てのテーブルのデータを含む
@~features_1309_td
フォーマット: &lt;database&gt;.data.db
@~features_1310_td
データベースごとに1ファイル
@~features_1347_h3
データベースファイルの移動と改名
@~features_1348_p
データベースの名前と位置は、データベース名の中には保存されません。
@~features_1349_p
データベースが閉じられている間、ファイルは他のディレクトリに移動することができ、同様にファイル名を変えることもできます (全てのファイルが同じ名前で始まる必要があります)。
@~features_1350_p
ファイルにはプラットホーム固有のデータがないので、問題なく他のオペレーティングシステムに移動することができます。
@~features_1351_h3
バックアップ
@~features_1352_p
データベースが閉じられている時、データベースファイルのバックアップをとることが可能です。インデックスファイルはバックアップをとる必要はありません。なぜなら、インデックスファイルは冗長なデータを含み、もしファイルが存在しなければ自動的に再作成されるからです。
@~features_1354_h2
ログとリカバリー
@~features_1356_p
インデックスファイルのアップデートはデフォルトでは記録されないことに注意して下さい。もしデータベースが開かれて、リカバリーが必要だとされたら、インデックスファイルは最初から作り替えられます。
@~features_1362_h3
互換モード
@~features_1364_th
モード
@~features_1365_th
相違
@~features_1366_td
PostgreSQL
@~features_1367_td
別の値にNULLをもたらすNULL連結。通常、オペレータのうちひとつがNULLであるなら空のストリングとしてNULLを扱い、両方の値がNULLである場合にだけNULLを返します。
@~features_1368_td
MySQL
@~features_1369_td
データを挿入する時、もしカラムにNOT NULLが定義されていて、NULLが挿入されたら、0 (または空のストリング、またはtimestampカラムのための現在のtimestamp) の値が使用されます。通常、このオペレーションは許可されていないので、例外が投げられます。
@~features_1370_td
HSQLDB
@~features_1372_h2
トレースオプションを使用する
@~features_1373_p
アプリケーション内の問題を見つけるために、時々、何のデータベースオペレーションがどこで実行されているかを知るのは良い方法です。このデータベースは次のトレースの特徴を提供します:
@~features_1374_li
System.out と (または) ファイルをトレースする
@~features_1375_li
トレースレベル OFF、ERROR、INFO と DEBUG をサポート
@~features_1376_li
トレースファイルの最大サイズの設定が可能
@~features_1377_li
Javaコード生成が可能
@~features_1378_li
手動でファイルを作成することによって、ランタイムでトレースが可能
@~features_1379_h3
トレースオプション
@~features_1380_p
トレースオプションを可能にする簡単な方法は、データベースURLにトレースオプションを設定することです。二つの設定があり、ひとつは、System.out (TRACE_LEVEL_SYSTEM_OUT) トレーシングで、もうひとつはファイルトレーシング(TRACE_LEVEL_FILE)です。トレースレベルは、0 が OFF、1 が ERROR (デフォルト)、2 が INFO で 3 が DEBUGです。両方のレベルがDEBUGに設定されたデータベースURLです:
@~features_1381_p
トレースレベルは、SQLコマンド <CODE>SET TRACE_LEVEL_SYSTEM_OUT level</CODE> (System.out トレーシング) または <CODE>SET TRACE_LEVEL_FILE level</CODE> (ファイルトレーシング) を実行することによってランタイムで変更できます。例:
@~features_1382_h3
トレースファイルの最大サイズを設定
@~features_1383_p
高いトレースレベルを使用する時、トレースファイルは早くサイズが非常に大きくなります。SQLステートメント <CODE>SET TRACE_MAX_FILE_SIZE maximumFileSizeInMB</CODE> を実行することによりファイルのサイズを制限することができます。ログファイルが制限を超えたら、ファイルは ".old" にファイル名を変えて、新しいファイルが作成されます。もしもうひとつの .oldファイルが存在する場合は、それは削除されます。デフォルトの設定は16 MBです。例:
@~features_1387_p
その後、コンパイルされる前にTrace.javaファイルを完全にする必要があります。例:
@~features_1392_h2
読み取り専用データベース
@~features_1394_h2
#Read Only Databases in Zip or Jar File
@~features_1397_p
#Databases in a zip file are read-only. The performance for some queries will be slower than when using a regular database, because random access in zip files is not supported (only streaming). How much this affects the performance depends on the queries and the data. The database is not read in memory; so large databases are supported as well. The same indexes are used than when using a regular database.
@~features_1398_h2
バイナリーとテキストストレージフォーマット
@~features_1399_p
このデータベースエンジンは、バイナリーとテキストストレージフォーマットの両方をサポートしています。バイナリーはより高速ですが、テキストストレージフォーマットは同様に役立つ場合があります。例えば、データベースエンジンをデバッグする場合です。データベースがすでに存在するなら、ストレージフォーマットは自動的に推奨されます。新しいデータベースはデフォルトでバイナリーストレージフォーマットで作られます。テキストストレージフォーマットで新しいデータベースを作成するには、データベースURLに、パラメータ STORAGE=TEXT が含まれていなければなりません。例: jdbc:h2:~/test;STORAGE=TEXT
@~features_1400_h2
ディスクスペースが少ない状況での正しい取り扱い
@~features_1403_h3
破損したデータベースを開く
@~features_1408_h2
多次元インデックス
@~features_1410_p
現在、Z-order (N-order または Morton-order とも呼ばれています) が使用されています; Hilbert curveも使用できますが、実装はより複雑です。多次元の値を変換するアルゴリズムは、bit-interleavingと呼ばれています。B-Treeインデックス (通常は computed columnを使用します)を使用することで、スカラーの値はインデックスをつけられます。
@~features_1412_h2
パスワードを使用する
@~features_1413_h3
安全なパスワードを使用する
@~features_1416_h3
パスワード: Stringの代わりにChar Arraysを使用する
@~features_1417_p
Java Stringは不変のオブジェクトであり、アプリケーションによって安全に壊されることはできません。Stringの作成後、Stringは少なくともガベージコレクションになるまで、コンピューターのメインメモリ内にとどまるでしょう。ガベージコレクションはアプリケーションによって制御されず、ガベージコレクションであっても、データはまだメモリにとどまっているでしょう。パスワードが含まれるメモリの一部をディスクと取り換えることも可能でしょう (十分でないメインメモリも使用可能のため)。
@~features_1418_p
アタッカーはオペレーティングシステムのスワップファイルにアクセスするでしょう。したがって、パスワードを保存するために、Stringの代わりにchar arrayを使用するのは良い方法です。char arrayは使用後クリアにされるので (0で埋められます)、パスワードはスワップファイルに保存されません。
@~features_1423_h2
ユーザー定義の関数とストアドプロシージャ
@~features_1426_p
完全なサンプルアプリケーションは src/test/org/h2/samples/Function.java をご覧下さい。
@~features_1427_h3
データタイプマッピング関数
@~features_1428_p
"int" のような non-nullable (NULL可能ではない) パラメータを受け入れる関数は、パラメータのうちひとつがNULLであるなら呼ばれないでしょう。このケースでは、NULLの値は結果として使用されます。このケースで関数を呼び出したいのなら、"int" の代わりに "java.lang.Integer" を使用する必要があります。
@~features_1429_h3
接続を必要とする関数
@~features_1431_h3
例外を投げる関数
@~features_1432_p
関数が例外を投げたら、現在のステートメントはロールバックされ、例外はアプリケーションに投げられます。
@~features_1433_h3
Result Setを返す関数
@~features_1434_p
関数はresult setを返します。このような関数はCALLステートメントと一緒に呼ばれます:
@~features_1435_h3
SimpleResultSetを使用する
@~features_1436_p
result setを返す関数は、SimpleResultSetツールを使用して最初からこのresult setを作成することができます:
@~features_1437_h3
関数をテーブルとして使用する
@~features_1438_p
result setを返す関数はテーブルのようになれます。しかし、このケースでは関数は少なくとも二回は呼ばれます: 最初はカラム名を集めるために構文解析している間です (コンパイル時に未知のところでパラメータはNULLに設定)。そして、データを取得するためにステートメントを実行している間です (これが結合なら繰り返されます)。関数がカラム一覧を取得するためだけに呼ばれたのなら、関数を認証する接続URLは jdbc:columnlist:connection です。そうでなければ、接続URLは jdbc:default:connection です。
@~features_1439_h2
トリガー
@~features_1440_p
このデータベースは、行が更新、挿入、または削除された前後に呼ばれるJavaトリガーをサポートしています。トリガーは複雑な一貫性チェックか、データベース内の関連したデータをアップデートするのに使用されます。マテリアライズドビューをシミュレートするためにトリガーを使用することも可能です。完全なサンプルアプリケーションは src/test/org/h2/samples/TriggerSample.java をご覧下さい。Javaトリガーは、インターフェイス org.h2.api.Trigger を実装しなければなりません:
@~features_1442_p
トリガーはSQL Exceptionを投げることによって、変更を禁止させることができます。
@~features_1443_h2
データベースをコンパクトにする
@~features_1444_p
データベースファイルの空のスペースは自動的に再利用されます。インデックスを再構築するもっとも簡単な方法は、データベースが閉じられている間に .index.db ファイルを削除します。しかし、一部状況では (例えば、データベースの多数のデータを削除した後)、データベースのサイズを縮小したい場合があります (データベースをコンパクトにする)。そのためのサンプルです:
@~features_1446_h2
キャッシュの設定
@~features_1448_p
このデータベースは二つのcache page replacement algorithms (キャッシュページ置換アルゴリズム) をサポートしています: LRU (デフォルト) と2Qです。LRUは、キャッシュがいっぱいになったら、頻繁に使用されていないページをキャッシュから削除します。2Qアルゴリズムは少し複雑で、基本的に二つのクエリーが使用されます。2Qアルゴリズムはテーブルスキャンに、より抵抗がありますが、LRUと比較してオーバーヘッドは少し高めです。キャッシュアルゴリズム 2Qを使用するためには、フォームのデータベースURL jdbc:h2:~/test;CACHE_TYPE=TQ を使用します。キャッシュアルゴリズムは、一度データベースが開かれたら変更することはできません。
@~roadmap_1374_h2
#Not Planned
@~roadmap_1375_h2
#Not Planned
@~roadmap_1375_li
#HSQLDB (did) support this: select id i from test where i>0 (other databases don't). Supporting it may break compatibility.
@~roadmap_1378_h2
#Not Planned
@~roadmap_1380_h2
#Not Planned
@~roadmap_1380_li
#String.intern (so that Strings can be compared with ==) will not be used because some VMs have problems when used extensively.
@~roadmap_1381_li
#HSQLDB (did) support this: select id i from test where i>0 (other databases don't). Supporting it may break compatibility.
@~tutorial_1161_p
これで、C:/temp ディレクトリ内に格納されているデータベースにアクセス可能です。
@~tutorial_1162_p
#To use H2 in NeoOffice (OpenOffice without X11):
@~tutorial_1164_li
#Look for the page under [NeoOffice], [Java]
@~tutorial_1165_li
#Click [Classpath], [Add Archive...]
@~tutorial_1168_p
#Now, when creating a new database using the "Database Wizard":
@~tutorial_1171_li
#Next step - up to you... you can just click finish and start working.
@~tutorial_1172_p
#Another solution to use H2 in NeoOffice is:
@~tutorial_1176_h2
Java Web Start / JNLP
@~tutorial_1177_p
Java Web Start / JNLP (Java Network Launch Protocol) を使用している時、パーミッションタグは.jnlp ファイルに設定され、application.jarファイルは署名されていなければなりません。そうでなければ、ファイルシステムに書き込もうとした時、次の例外が発生するでしょう: java.security.AccessControlException: access denied (java.io.FilePermission ... read) パーミッションタグの例:
@~tutorial_1178_h2
#Using a Connection Pool
@~tutorial_1179_p
#For many databases, opening a connection is slow, and it is a good idea to use a connection pool to re-use connections. For H2 however opening a connection usually is fast if the database is already open. Using a connection pool for H2 actually slows down the process a bit, except if file encryption is used (in this case opening a connection is about half as fast as using a connection pool). A simple connection pool is included in H2. It is based on the <a href="http://www.source-code.biz/snippets/java/8.htm">Mini Connection Pool Manager</a> from Christian d'Heureuse. There are other, more complex connection pools available, for example <a href="http://jakarta.apache.org/commons/dbcp/">DBCP</a> . The build-in connection pool is used as follows:
@~tutorial_1180_h2
フルテキストサーチ
@~tutorial_1181_p
H2はLuceneフルテキストサーチとnativeフルテキストサーチの実装をサポートしています。
@~tutorial_1182_h3
Nativeフルテキストサーチを使用する
@~tutorial_1183_p
初期化するには、次を呼び出します:
@~tutorial_1185_p
PUBLICはスキーマ、TESTはテーブル名です。カラム名のリスト (分離されたカラム) はオプションです。このケースでは、全てのカラムがインデックスです。インデックスはリードタイムに更新されます。インデックスを検索するには、次のクエリーを使用します:
@~tutorial_1187_h3
Luceneフルテキストサーチを使用する
@~tutorial_1190_p
PUBLICはスキーマ、TESTはテーブル名です。カラム名のリスト (分離されたカラム) はオプションです。このケースでは、全てのカラムがインデックスです。インデックスはリードタイムに更新されます。インデックスを検索するには、次のクエリーを使用します:
@~tutorial_1192_h2
#User-Defined Variables
@~tutorial_1195_p
#Variables that are not set evaluate to NULL. The data type of a user-defined variable is the data type of the value assigned to it, that means it is not necessary (or possible) to declare variable names before using them. There are no restrictions on the assigned values; large objects (LOBs) are supported as well.
@~tutorial_1196_h2
#Date and Time
@~~changelog_1020_h2
#Version 1.0.69 (2008-03-29)
@~~changelog_1084_h2
#Version 1.0.66 (2008-02-02)
@~~changelog_1155_li
#The SecurePassword example has been improved.
...@@ -332,289 +332,291 @@ build_1033_li=Web site\: src/docsrc/text/_docs_*.utf8.txt ...@@ -332,289 +332,291 @@ build_1033_li=Web site\: src/docsrc/text/_docs_*.utf8.txt
build_1034_p=The conversion between UTF-8 and Java encoding (using the \\u syntax), as well as the HTML entities (&amp;\#..;) is automated by running the tool PropertiesToUTF8. The web site translation is automated as well, using <code>ant docs</code> . build_1034_p=The conversion between UTF-8 and Java encoding (using the \\u syntax), as well as the HTML entities (&amp;\#..;) is automated by running the tool PropertiesToUTF8. The web site translation is automated as well, using <code>ant docs</code> .
changelog_1000_h1=Change Log changelog_1000_h1=Change Log
changelog_1001_h2=Next Version (unreleased) changelog_1001_h2=Next Version (unreleased)
changelog_1002_li=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_1002_li=-
changelog_1003_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_1003_h2=Version 1.0.70 (2008-04-20)
changelog_1004_li=Calling SHUTDOWN on one connection and starting a query on another connection concurrently could result in a Java level deadlock. changelog_1004_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_1005_li=New system property h2.enableAnonymousSSL (default\: true) to enable anonymous SSL connections. changelog_1005_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_1006_li=The precision if SUBSTR is now calculated if possible. changelog_1006_li=Calling SHUTDOWN on one connection and starting a query on another connection concurrently could result in a Java level deadlock.
changelog_1007_li=The autocomplete in the H2 Console has been improved a bit. changelog_1007_li=New system property h2.enableAnonymousSSL (default\: true) to enable anonymous SSL connections.
changelog_1008_li=The tools in the H2 Console are now translatable. changelog_1008_li=The precision if SUBSTR is now calculated if possible.
changelog_1009_li=The servlet and lucene jar files are now automatically downloaded when building. changelog_1009_li=The autocomplete in the H2 Console has been improved a bit.
changelog_1010_li=The code switch tool has been replaced by a simpler tool called SwitchSource that just uses find and replace. changelog_1010_li=The tools in the H2 Console are now translatable.
changelog_1011_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_1011_li=The servlet and lucene jar files are now automatically downloaded when building.
changelog_1012_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_1012_li=The code switch tool has been replaced by a simpler tool called SwitchSource that just uses find and replace.
changelog_1013_li=Added shell scripts run.sh and build.sh. chmod +x is required, but otherwise it should work. Feedback or improvements are welcome\! changelog_1013_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_1014_li=Databases in zip files\: large queries are now support. Temp files are created in the temp directory if required. The documentation how to create the zip file has been corrected. changelog_1014_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_1015_li=Invalid inline views threw confusing SQL exceptions. changelog_1015_li=Added shell scripts run.sh and build.sh. chmod +x is required, but otherwise it should work. Feedback or improvements are welcome\!
changelog_1016_li=The Japanese translation of the error messages and the H2 Console has been improved. Thanks a lot to Masahiro IKEMOTO. changelog_1016_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_1017_li=Optimization for MIN() and MAX() when using MVCC. changelog_1017_li=Invalid inline views threw confusing SQL exceptions.
changelog_1018_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_1018_li=The Japanese translation of the error messages and the H2 Console has been improved. Thanks a lot to Masahiro IKEMOTO.
changelog_1019_li=After setting the query timeout and then resetting it, the next query would still timeout. Fixed. changelog_1019_li=Optimization for MIN() and MAX() when using MVCC.
changelog_1020_li=Adding a IDENTITY column to a table with data threw a lock timeout. changelog_1020_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_1021_li=OutOfMemoryError could occur when using EXISTS or IN(SELECT ..). changelog_1021_li=After setting the query timeout and then resetting it, the next query would still timeout. Fixed.
changelog_1022_li=The built-in connection pool is not called JdbcConnectionPool. The API and documentation has been changed. changelog_1022_li=Adding a IDENTITY column to a table with data threw a lock timeout.
changelog_1023_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_1023_li=OutOfMemoryError could occur when using EXISTS or IN(SELECT ..).
changelog_1024_li=Nested joins are now supported (A JOIN B JOIN C ON .. ON ..) changelog_1024_li=The built-in connection pool is not called JdbcConnectionPool. The API and documentation has been changed.
changelog_1025_h2=Version 1.0.69 (2008-03-29) changelog_1025_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_1026_li=Most command line tools can now be called from within the H2 Console. changelog_1026_li=Nested joins are now supported (A JOIN B JOIN C ON .. ON ..)
changelog_1027_li=A new Shell tools is now included (org.h2.tools.Shell) to query a database from the command line. changelog_1027_h2=Version 1.0.69 (2008-03-29)
changelog_1028_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_1028_li=Most command line tools can now be called from within the H2 Console.
changelog_1029_li=New system property h2.sortNullsHigh to invert the default sorting behavior for NULL. The default didn't change. changelog_1029_li=A new Shell tools is now included (org.h2.tools.Shell) to query a database from the command line.
changelog_1030_li=Performance was very slow when using LOG\=2 and deleting or updating all rows of a table in a loop. Fixed. changelog_1030_li=The command line options in the tools have changed\: instead of '-log true' now '-trace' is used. Also, '-ifExists', '-tcpSSL' and '-tcpAllowOthers' and so on have changed\: now the 'true' is no longer needed. The old behavior is still supported.
changelog_1031_li=ALTER TABLE or CREATE TABLE now support parameters for the password field. changelog_1031_li=New system property h2.sortNullsHigh to invert the default sorting behavior for NULL. The default didn't change.
changelog_1032_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_1032_li=Performance was very slow when using LOG\=2 and deleting or updating all rows of a table in a loop. Fixed.
changelog_1033_li=TRACE_LEVEL_ settings are no longer persistent. This was a problem when database initialization code caused a lot of trace output. changelog_1033_li=ALTER TABLE or CREATE TABLE now support parameters for the password field.
changelog_1034_li=Fulltext search (native implementation)\: The words table is no longer an in-memory table because this caused memory problems in some cases. changelog_1034_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_1035_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_1035_li=TRACE_LEVEL_ settings are no longer persistent. This was a problem when database initialization code caused a lot of trace output.
changelog_1036_li=The recovery tool didn't work correctly for tables without rows. changelog_1036_li=Fulltext search (native implementation)\: The words table is no longer an in-memory table because this caused memory problems in some cases.
changelog_1037_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_1037_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_1038_li=CSVWRITE caused a NullPointerException when not specifying a nullString. changelog_1038_li=The recovery tool didn't work correctly for tables without rows.
changelog_1039_li=When a log file switch occured just after a truncate table or drop table statement, the database could not be started normally (RECOVER\=1 was required). Fixed. changelog_1039_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_1040_li=When a log file switch occured in the middle of a sequence flush (sequences are only flushed every 32 values by default), the sequence value was lost. Fixed. changelog_1040_li=CSVWRITE caused a NullPointerException when not specifying a nullString.
changelog_1041_li=Altering a sequence didn't unlock the system table when autocommit switched off. changelog_1041_li=When a log file switch occured just after a truncate table or drop table statement, the database could not be started normally (RECOVER\=1 was required). Fixed.
changelog_1042_h2=Version 1.0.68 (2008-03-18) changelog_1042_li=When a log file switch occured in the middle of a sequence flush (sequences are only flushed every 32 values by default), the sequence value was lost. Fixed.
changelog_1043_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_1043_li=Altering a sequence didn't unlock the system table when autocommit switched off.
changelog_1044_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_1044_h2=Version 1.0.68 (2008-03-18)
changelog_1045_li=Unused LOB files were deleted much too late. Now they are deleted if no longer referenced in memory. changelog_1045_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_1046_li=ALTER SEQUENCE and ALTER TABLE ALTER COLUMN RESTART can now be used inside a transaction. changelog_1046_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_1047_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_1047_li=Unused LOB files were deleted much too late. Now they are deleted if no longer referenced in memory.
changelog_1048_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_1048_li=ALTER SEQUENCE and ALTER TABLE ALTER COLUMN RESTART can now be used inside a transaction.
changelog_1049_li=Improved performance when using lob files in directories (however this is still disabled by default) changelog_1049_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_1050_li=H2 Console\: autocomplete didn't work with very large scripts. Fixed. changelog_1050_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_1051_li=Fulltext search\: new method SEARCH_DATA that returns the column names and primary keys as arrays. changelog_1051_li=Improved performance when using lob files in directories (however this is still disabled by default)
changelog_1052_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_1052_li=H2 Console\: autocomplete didn't work with very large scripts. Fixed.
changelog_1053_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_1053_li=Fulltext search\: new method SEARCH_DATA that returns the column names and primary keys as arrays.
changelog_1054_li=H2 Console\: remote connections were very slow because getHostName/getRemoteHost was used. Fixed (now using getHostAddress/getRemoteAddr. changelog_1054_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_1055_li=H2 Console\: on Linux, Firefox, Konqueror, or Opera (in this order) are now started if available. This has been tested on Ubuntu. changelog_1055_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_1056_li=H2 Console\: the start window works better with IKVM changelog_1056_li=H2 Console\: remote connections were very slow because getHostName/getRemoteHost was used. Fixed (now using getHostAddress/getRemoteAddr.
changelog_1057_li=H2 Console\: improved compatibility with Safari (Safari requires keep-alive) changelog_1057_li=H2 Console\: on Linux, Firefox, Konqueror, or Opera (in this order) are now started if available. This has been tested on Ubuntu.
changelog_1058_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_1058_li=H2 Console\: the start window works better with IKVM
changelog_1059_li=SELECT UNION with a different number of ORDER BY columns did throw an ArrayIndexOutOfBoundsException. changelog_1059_li=H2 Console\: improved compatibility with Safari (Safari requires keep-alive)
changelog_1060_li=When using a view, the column precision was changed to the default scale for some data types. changelog_1060_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_1061_li=CSVWRITE now supports a 'null string' that is used for parsing and writing NULL. changelog_1061_li=SELECT UNION with a different number of ORDER BY columns did throw an ArrayIndexOutOfBoundsException.
changelog_1062_li=Some long running queries could not be cancelled. changelog_1062_li=When using a view, the column precision was changed to the default scale for some data types.
changelog_1063_li=Queries with many outer join tables were very slow. Fixed. changelog_1063_li=CSVWRITE now supports a 'null string' that is used for parsing and writing NULL.
changelog_1064_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_1064_li=Some long running queries could not be cancelled.
changelog_1065_li=UPDATE SET column\=DEFAULT is now supported. changelog_1065_li=Queries with many outer join tables were very slow. Fixed.
changelog_1066_h2=Version 1.0.67 (2008-02-22) changelog_1066_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_1067_li=New function FILE_READ to read a file or from an URL. Both binary and text data is supported. changelog_1067_li=UPDATE SET column\=DEFAULT is now supported.
changelog_1068_li=CREATE TABLE AS SELECT now supports specifying the column list and data types. changelog_1068_h2=Version 1.0.67 (2008-02-22)
changelog_1069_li=Connecting to a TCP server and at shutting it down at the same time could cause a Java level deadlock. changelog_1069_li=New function FILE_READ to read a file or from an URL. Both binary and text data is supported.
changelog_1070_li=A user now has all rights on his own local temporary tables. changelog_1070_li=CREATE TABLE AS SELECT now supports specifying the column list and data types.
changelog_1071_li=The CSV tool now supports a custom lineSeparator. changelog_1071_li=Connecting to a TCP server and at shutting it down at the same time could cause a Java level deadlock.
changelog_1072_li=When using multiple connections, empty space was reused too early sometimes. This could corrupt the database when recovering. changelog_1072_li=A user now has all rights on his own local temporary tables.
changelog_1073_li=The H2 Console has been translated to Dutch. Thanks a lot to Remco Schoen\! changelog_1073_li=The CSV tool now supports a custom lineSeparator.
changelog_1074_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_1074_li=When using multiple connections, empty space was reused too early sometimes. This could corrupt the database when recovering.
changelog_1075_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_1075_li=The H2 Console has been translated to Dutch. Thanks a lot to Remco Schoen\!
changelog_1076_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_1076_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_1077_li=The value cache is now a soft reference cache. This should help save memory. changelog_1077_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_1078_li=CREATE INDEX on a table with many rows could run out of memory. Fixed. changelog_1078_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_1079_li=Large result sets are now a bit faster. changelog_1079_li=The value cache is now a soft reference cache. This should help save memory.
changelog_1080_li=ALTER TABLE ALTER COLUMN RESTART and ALTER SEQUENCE now support parameters (any expressions). changelog_1080_li=CREATE INDEX on a table with many rows could run out of memory. Fixed.
changelog_1081_li=When setting the base directory on the command line, the user directory prefix ('~') was ignored. changelog_1081_li=Large result sets are now a bit faster.
changelog_1082_li=The DbStarter servlet didn't start the TCP listener even if configured. changelog_1082_li=ALTER TABLE ALTER COLUMN RESTART and ALTER SEQUENCE now support parameters (any expressions).
changelog_1083_li=Statement.setQueryTimeout() is now supported. changelog_1083_li=When setting the base directory on the command line, the user directory prefix ('~') was ignored.
changelog_1084_li=New session setting QUERY_TIMEOUT, and new system property h2.maxQueryTimeout. changelog_1084_li=The DbStarter servlet didn't start the TCP listener even if configured.
changelog_1085_li=Changing the transaction log level (SET LOG) is now written to the trace file by default. changelog_1085_li=Statement.setQueryTimeout() is now supported.
changelog_1086_li=In a SQL script, primary key constraints are now ordered before foreign key constraints. changelog_1086_li=New session setting QUERY_TIMEOUT, and new system property h2.maxQueryTimeout.
changelog_1087_li=It was not possible to create a referential constraint to a table in a different schema in some situations. changelog_1087_li=Changing the transaction log level (SET LOG) is now written to the trace file by default.
changelog_1088_li=The H2 Console was slow when the database contains many tables. Now the column names are not shown in this case. changelog_1088_li=In a SQL script, primary key constraints are now ordered before foreign key constraints.
changelog_1089_h2=Version 1.0.66 (2008-02-02) changelog_1089_li=It was not possible to create a referential constraint to a table in a different schema in some situations.
changelog_1090_li=There is a new online error analyzer tool. changelog_1090_li=The H2 Console was slow when the database contains many tables. Now the column names are not shown in this case.
changelog_1091_li=H2 Console\: stack traces are now links to the source code in the source repository (H2 database only). changelog_1091_h2=Version 1.0.66 (2008-02-02)
changelog_1092_li=CHAR data type equals comparison was case insensitive instead of case sensitive. changelog_1092_li=There is a new online error analyzer tool.
changelog_1093_li=The exception 'Value too long for column' now includes the data. changelog_1093_li=H2 Console\: stack traces are now links to the source code in the source repository (H2 database only).
changelog_1094_li=The table name was missing in the documentation of CREATE INDEX. changelog_1094_li=CHAR data type equals comparison was case insensitive instead of case sensitive.
changelog_1095_li=Better support for IKVM (www.ikvm.net)\: the H2 Console now opens a browser window. changelog_1095_li=The exception 'Value too long for column' now includes the data.
changelog_1096_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_1096_li=The table name was missing in the documentation of CREATE INDEX.
changelog_1097_li=The exception "Hexadecimal string contains non-hex character" was not always thrown when it should have been. Fixed. changelog_1097_li=Better support for IKVM (www.ikvm.net)\: the H2 Console now opens a browser window.
changelog_1098_li=The H2 Console now provides a link to the documentation when an error occurs (H2 databases only so far). changelog_1098_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_1099_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_1099_li=The exception "Hexadecimal string contains non-hex character" was not always thrown when it should have been. Fixed.
changelog_1100_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_1100_li=The H2 Console now provides a link to the documentation when an error occurs (H2 databases only so far).
changelog_1101_li=For compatibility with other databases the column default (COLUMN_DEF) for columns without default is now null (it was an empty string). changelog_1101_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_1102_li=Statements that contain very large subqueries (where the subquery result does not fit in memory) are now faster. changelog_1102_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_1103_li=Variables\: large objects (CLOB and BLOB) that don't fit in memory did not work correctly when used as variables. changelog_1103_li=For compatibility with other databases the column default (COLUMN_DEF) for columns without default is now null (it was an empty string).
changelog_1104_li=Fulltext search is now supported in named in-memory databases. changelog_1104_li=Statements that contain very large subqueries (where the subquery result does not fit in memory) are now faster.
changelog_1105_li=H2 Console\: multiple consecutive spaces in the setting name did not work. Fixed. changelog_1105_li=Variables\: large objects (CLOB and BLOB) that don't fit in memory did not work correctly when used as variables.
changelog_1106_h2=Version 1.0.65 (2008-01-18) changelog_1106_li=Fulltext search is now supported in named in-memory databases.
changelog_1107_li=The build (ant) now automatically switches the source code to the correct version (JDK 1.4/1.5 or 1.6). changelog_1107_li=H2 Console\: multiple consecutive spaces in the setting name did not work. Fixed.
changelog_1108_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_1108_h2=Version 1.0.65 (2008-01-18)
changelog_1109_li=The performance for DROP and DROP ALL OBJECTS has been improved. changelog_1109_li=The build (ant) now automatically switches the source code to the correct version (JDK 1.4/1.5 or 1.6).
changelog_1110_li=The ChangePassword API has been improved. changelog_1110_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_1111_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_1111_li=The performance for DROP and DROP ALL OBJECTS has been improved.
changelog_1112_li=The Ukrainian translation has been improved. changelog_1112_li=The ChangePassword API has been improved.
changelog_1113_li=CALL statements can now be used in batch updates and called using Statement.executeUpdate. changelog_1113_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_1114_li=New read-only setting CREATE_BUILD (the build number of the database engine that created the database). changelog_1114_li=The Ukrainian translation has been improved.
changelog_1115_li=The optimizer did not use multi column indexes for range queries in some cases. Fixed. changelog_1115_li=CALL statements can now be used in batch updates and called using Statement.executeUpdate.
changelog_1116_li=The H2 Console now calls DataSource.getConnection() instead of DataSource.getConnection(user, password) when user name and password are not specified. changelog_1116_li=New read-only setting CREATE_BUILD (the build number of the database engine that created the database).
changelog_1117_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_1117_li=The optimizer did not use multi column indexes for range queries in some cases. Fixed.
changelog_1118_li=Batch update\: Calling BatchUpdateException.printStackTrace() could result in out of memory. Fixed. changelog_1118_li=The H2 Console now calls DataSource.getConnection() instead of DataSource.getConnection(user, password) when user name and password are not specified.
changelog_1119_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_1119_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_1120_li=The performance for large result sets in the server mode has been improved. changelog_1120_li=Batch update\: Calling BatchUpdateException.printStackTrace() could result in out of memory. Fixed.
changelog_1121_li=The setting h2.serverSmallResultSetSize has been renamed to h2.serverResultSetFetchSize. changelog_1121_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_1122_li=The SCRIPT command now uses multi-row insert statements to save space except if the option SIMPLE is used. changelog_1122_li=The performance for large result sets in the server mode has been improved.
changelog_1123_li=The SCRIPT command did not split up CLOB data correctly. Fixed. changelog_1123_li=The setting h2.serverSmallResultSetSize has been renamed to h2.serverResultSetFetchSize.
changelog_1124_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_1124_li=The SCRIPT command now uses multi-row insert statements to save space except if the option SIMPLE is used.
changelog_1125_li=DROP ALL OBJECTS did not drop user defined aggregate functions and domains. changelog_1125_li=The SCRIPT command did not split up CLOB data correctly. Fixed.
changelog_1126_li=PostgreSQL compatibility\: COUNT(T.*) is now supported. changelog_1126_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_1127_li=LIKE comparisons are now faster. changelog_1127_li=DROP ALL OBJECTS did not drop user defined aggregate functions and domains.
changelog_1128_li=Encrypted databases are now faster. changelog_1128_li=PostgreSQL compatibility\: COUNT(T.*) is now supported.
changelog_1129_h2=Version 1.0.64 (2007-12-27) changelog_1129_li=LIKE comparisons are now faster.
changelog_1130_li=3-way union queries with prepared statement or views could return the wrong results. Fixed. changelog_1130_li=Encrypted databases are now faster.
changelog_1131_li=The PostgreSQL ODBC driver did not work in the last release due to a parser regression. Fixed. changelog_1131_h2=Version 1.0.64 (2007-12-27)
changelog_1132_li=CSV tool\: some escape/separator character combinations did not work. Fixed. changelog_1132_li=3-way union queries with prepared statement or views could return the wrong results. Fixed.
changelog_1133_li=CSV tool\: the character \# could not be used as a separator when reading. changelog_1133_li=The PostgreSQL ODBC driver did not work in the last release due to a parser regression. Fixed.
changelog_1134_li=Recovery\: when the index file is corrupt, now the database deletes it and re-creates it automatically. changelog_1134_li=CSV tool\: some escape/separator character combinations did not work. Fixed.
changelog_1135_li=The MVCC mode did not work well with in-memory databases. Fixed. changelog_1135_li=CSV tool\: the character \# could not be used as a separator when reading.
changelog_1136_li=The FTP server now supports a event listener. Thanks Fulvio Biondi for the help\! changelog_1136_li=Recovery\: when the index file is corrupt, now the database deletes it and re-creates it automatically.
changelog_1137_li=New system function CANCEL_SESSION to cancel the currently executing statement of another session. changelog_1137_li=The MVCC mode did not work well with in-memory databases. Fixed.
changelog_1138_li=The database now supports an exclusive mode. In exclusive mode, new connections are rejected. changelog_1138_li=The FTP server now supports a event listener. Thanks Fulvio Biondi for the help\!
changelog_1139_li=H2 Console\: when editing result sets, columns can now be set to null. The text 'null' must be escaped using '\=null'. changelog_1139_li=New system function CANCEL_SESSION to cancel the currently executing statement of another session.
changelog_1140_li=New built-in functions RPAD and LPAD. changelog_1140_li=The database now supports an exclusive mode. In exclusive mode, new connections are rejected.
changelog_1141_li=New meta data table INFORMATION_SCHEMA.SESSIONS and LOCKS to get information about active connections and locks. Admins will see all connections, non-admins only their own session. changelog_1141_li=H2 Console\: when editing result sets, columns can now be set to null. The text 'null' must be escaped using '\=null'.
changelog_1142_li=The Ukrainian translation was not working in the last release. Fixed. changelog_1142_li=New built-in functions RPAD and LPAD.
changelog_1143_li=Creating many tables (many hundreds) was slow. Fixed. changelog_1143_li=New meta data table INFORMATION_SCHEMA.SESSIONS and LOCKS to get information about active connections and locks. Admins will see all connections, non-admins only their own session.
changelog_1144_li=Opening a database with many indexes (thousands) was slow. Fixed. changelog_1144_li=The Ukrainian translation was not working in the last release. Fixed.
changelog_1145_li=H2 Console / autocomplete\: Ctrl+Space now shows the list in all modes. changelog_1145_li=Creating many tables (many hundreds) was slow. Fixed.
changelog_1146_li=The method Trigger.init has been changed\: the parameters 'before' and 'type', have been added to the init method. changelog_1146_li=Opening a database with many indexes (thousands) was slow. Fixed.
changelog_1147_li=The performance has been improved for ResultSet methods with column name. changelog_1147_li=H2 Console / autocomplete\: Ctrl+Space now shows the list in all modes.
changelog_1148_li=A stack trace was thrown if the system did not provide a quick secure random source and if there is no network or the network settings are not configured. Fixed. changelog_1148_li=The method Trigger.init has been changed\: the parameters 'before' and 'type', have been added to the init method.
changelog_1149_li=The H2 Console has been translated to Turkish. Thanks a lot to Ridvan Agar\! changelog_1149_li=The performance has been improved for ResultSet methods with column name.
changelog_1150_li=Improved debugging support\: toString methods of most object now return a meaningful text. changelog_1150_li=A stack trace was thrown if the system did not provide a quick secure random source and if there is no network or the network settings are not configured. Fixed.
changelog_1151_li=The classes DbStarter and WebServlet have been moved to src/main. changelog_1151_li=The H2 Console has been translated to Turkish. Thanks a lot to Ridvan Agar\!
changelog_1152_li=The column INFORMATION_SCHEMA.TRIGGERS.SQL now contains the CREATE TRIGGER statement. changelog_1152_li=Improved debugging support\: toString methods of most object now return a meaningful text.
changelog_1153_li=Loading classes and calling methods can be restricted using the new system property h2.allowedClasses. changelog_1153_li=The classes DbStarter and WebServlet have been moved to src/main.
changelog_1154_li=The database could not be used in Java applets due to security exceptions. Fixed. changelog_1154_li=The column INFORMATION_SCHEMA.TRIGGERS.SQL now contains the CREATE TRIGGER statement.
changelog_1155_h2=Version 1.0.63 (2007-12-02) changelog_1155_li=Loading classes and calling methods can be restricted using the new system property h2.allowedClasses.
changelog_1156_li=The SecurePassword example has been improved. changelog_1156_li=The database could not be used in Java applets due to security exceptions. Fixed.
changelog_1157_li=In time zones where the summer time saving limit is at midnight, some dates do not work in some virtual machines, for example 2007-10-14 in Chile, using the Sun JVM 1.6.0_03-b05. Fixed. changelog_1157_h2=Version 1.0.63 (2007-12-02)
changelog_1158_li=The native fulltext search was not working properly after re-connecting. changelog_1158_li=The SecurePassword example has been improved.
changelog_1159_li=Improved FTP server\: now the PORT command is supported. changelog_1159_li=In time zones where the summer time saving limit is at midnight, some dates do not work in some virtual machines, for example 2007-10-14 in Chile, using the Sun JVM 1.6.0_03-b05. Fixed.
changelog_1160_li=Temporary views (FROM(...)) with UNION didn't work if nested. Fixed. changelog_1160_li=The native fulltext search was not working properly after re-connecting.
changelog_1161_li=Performance optimization for IN(...) and IN(SELECT...), currently disabled by default. To enable, use java -Dh2.optimizeInJoin\=true changelog_1161_li=Improved FTP server\: now the PORT command is supported.
changelog_1162_li=The H2 Console has been translated to Ukrainian by Igor Dobrovolskyi. Thanks a lot\! changelog_1162_li=Temporary views (FROM(...)) with UNION didn't work if nested. Fixed.
changelog_1163_li=New function TABLE_DISTINCT. changelog_1163_li=Performance optimization for IN(...) and IN(SELECT...), currently disabled by default. To enable, use java -Dh2.optimizeInJoin\=true
changelog_1164_li=Using LIMIT with values close to Integer.MAX_VALUE didn't work correctly. changelog_1164_li=The H2 Console has been translated to Ukrainian by Igor Dobrovolskyi. Thanks a lot\!
changelog_1165_li=Certain setting in the Server didn't work (http\://code.google.com/p/h2database/issues/detail?id\=7). changelog_1165_li=New function TABLE_DISTINCT.
changelog_1166_h2=Version 1.0.62 (2007-11-25) changelog_1166_li=Using LIMIT with values close to Integer.MAX_VALUE didn't work correctly.
changelog_1167_li=Large updates and deletes are now supported by buffering data to disk if required. The threshold is currently set to 100'000 bytes and can be changed using SET MAX_OPERATION_MEMORY or using by appending ;MAX_OPERATION_MEMORY\=.. to the database URL. See also the docs. changelog_1167_li=Certain setting in the Server didn't work (http\://code.google.com/p/h2database/issues/detail?id\=7).
changelog_1168_li=MVCC\: now an exception is thrown when an application tries to change the MVCC setting while the database is already open. changelog_1168_h2=Version 1.0.62 (2007-11-25)
changelog_1169_li=Referential integrity checks didn't lock the referenced table, and thus could read uncommitted rows of other connections. In that way the referential constraints could get violated (except when using MVCC). changelog_1169_li=Large updates and deletes are now supported by buffering data to disk if required. The threshold is currently set to 100'000 bytes and can be changed using SET MAX_OPERATION_MEMORY or using by appending ;MAX_OPERATION_MEMORY\=.. to the database URL. See also the docs.
changelog_1170_li=Renaming or dropping a user with a schema, or removing the admin property of that user made the schema inaccessible after re-opening the database. Fixed. changelog_1170_li=MVCC\: now an exception is thrown when an application tries to change the MVCC setting while the database is already open.
changelog_1171_li=The H2 Console now also support the command line option -ifExists when started from the Server tool, but only when connecting to H2 databases. changelog_1171_li=Referential integrity checks didn't lock the referenced table, and thus could read uncommitted rows of other connections. In that way the referential constraints could get violated (except when using MVCC).
changelog_1172_li=Duplicate column names were not detected when renaming columns. Fixed. changelog_1172_li=Renaming or dropping a user with a schema, or removing the admin property of that user made the schema inaccessible after re-opening the database. Fixed.
changelog_1173_li=The console did not display multiple embedded spaces in text correctly. Fixed. changelog_1173_li=The H2 Console now also support the command line option -ifExists when started from the Server tool, but only when connecting to H2 databases.
changelog_1174_li=Google Android support\: use 'ant codeswitchAndroid' to switch the source code to Android. changelog_1174_li=Duplicate column names were not detected when renaming columns. Fixed.
changelog_1175_li=Values of type ARRAY are now sorted as in PostgreSQL. changelog_1175_li=The console did not display multiple embedded spaces in text correctly. Fixed.
changelog_1176_li=In the cluster mode, could not connect if only one server was running (last release only). Fixed. changelog_1176_li=Google Android support\: use 'ant codeswitchAndroid' to switch the source code to Android.
changelog_1177_li=The performance of large CSV operations has been improved. changelog_1177_li=Values of type ARRAY are now sorted as in PostgreSQL.
changelog_1178_li=Now using custom toString() for most JDBC objects and commands. changelog_1178_li=In the cluster mode, could not connect if only one server was running (last release only). Fixed.
changelog_1179_li=Nested temporary views (SELECT * FROM (SELECT ...)) with parameters didn't work in some cases. Fixed. changelog_1179_li=The performance of large CSV operations has been improved.
changelog_1180_li=CSV\: Using an empty field delimiter didn't work (a workaround was using char(0)). Fixed. changelog_1180_li=Now using custom toString() for most JDBC objects and commands.
changelog_1181_li=A patch for Apache DDL Utils is available at https\://issues.apache.org/jira/browse/DDLUTILS-185 changelog_1181_li=Nested temporary views (SELECT * FROM (SELECT ...)) with parameters didn't work in some cases. Fixed.
changelog_1182_li=The default value for h2.emergencySpaceInitial is now 256 KB (to speed up creating encrypted databases) changelog_1182_li=CSV\: Using an empty field delimiter didn't work (a workaround was using char(0)). Fixed.
changelog_1183_li=Eduardo Velasques has translated the H2 Console and the error messages to Brazilian Portuguese. Thanks a lot\! changelog_1183_li=A patch for Apache DDL Utils is available at https\://issues.apache.org/jira/browse/DDLUTILS-185
changelog_1184_li=Creating a table from GROUP_CONCAT didn't work if the data was longer than 255 characters changelog_1184_li=The default value for h2.emergencySpaceInitial is now 256 KB (to speed up creating encrypted databases)
changelog_1185_h2=Version 1.0.61 (2007-11-10) changelog_1185_li=Eduardo Velasques has translated the H2 Console and the error messages to Brazilian Portuguese. Thanks a lot\!
changelog_1186_li=The Lucene Fulltext implementation is now compiled and included in the h2.jar. Requires Lucene 2.2. changelog_1186_li=Creating a table from GROUP_CONCAT didn't work if the data was longer than 255 characters
changelog_1187_li=Added more tests. The code coverage is now at 83%. changelog_1187_h2=Version 1.0.61 (2007-11-10)
changelog_1188_li=ResultSetMetaData.getColumnDisplaySize was calculated as the longest display size for the given result set, but should be the maximum size that fits in the column. Fixed. changelog_1188_li=The Lucene Fulltext implementation is now compiled and included in the h2.jar. Requires Lucene 2.2.
changelog_1189_li=The MODE used to be a global setting, now it is a database level setting. changelog_1189_li=Added more tests. The code coverage is now at 83%.
changelog_1190_li=The database does now always round to the nearest number when converting a floating point to a integer\: CAST(1.5 AS INT) will now result in 2, like in PostgreSQL and MySQL. changelog_1190_li=ResultSetMetaData.getColumnDisplaySize was calculated as the longest display size for the given result set, but should be the maximum size that fits in the column. Fixed.
changelog_1191_li=Math operations using unknown data types (for example -? and ?+?) are now interpreted as decimal. changelog_1191_li=The MODE used to be a global setting, now it is a database level setting.
changelog_1192_li=INSTR, LOCATE\: backward searching is not supported by using a negative start position. changelog_1192_li=The database does now always round to the nearest number when converting a floating point to a integer\: CAST(1.5 AS INT) will now result in 2, like in PostgreSQL and MySQL.
changelog_1193_li=Can now open a database stored in a jar or zip file (for example, jdbc\:h2\:zip\:c\:/temp/h2.zip\!/test). changelog_1193_li=Math operations using unknown data types (for example -? and ?+?) are now interpreted as decimal.
changelog_1194_li=Files access now uses an API (FileSystem, FileObject), this will simplify adding other file systems and features (for example replication). changelog_1194_li=INSTR, LOCATE\: backward searching is not supported by using a negative start position.
changelog_1195_li=Vlad Alexahin has translated H2 Console to Russian. Thanks a lot\! changelog_1195_li=Can now open a database stored in a jar or zip file (for example, jdbc\:h2\:zip\:c\:/temp/h2.zip\!/test).
changelog_1196_li=Descending indexes are now supported. This is useful when sorting columns descending, for example by creation date. changelog_1196_li=Files access now uses an API (FileSystem, FileObject), this will simplify adding other file systems and features (for example replication).
changelog_1197_li=Solved a Java level deadlock in the DatabaseCloser. changelog_1197_li=Vlad Alexahin has translated H2 Console to Russian. Thanks a lot\!
changelog_1198_li=CREATE SEQUENCE\: New option CACHE (number of pre-allocated numbers). New column CACHE in the sequence meta data table. The default cache size is still 32. changelog_1198_li=Descending indexes are now supported. This is useful when sorting columns descending, for example by creation date.
changelog_1199_li=MVCC\: The system property h2.mvcc has been removed. A few bugs have been fixed, and new tests have been added. changelog_1199_li=Solved a Java level deadlock in the DatabaseCloser.
changelog_1200_h2=Version 1.0.60 (2007-10-20) changelog_1200_li=CREATE SEQUENCE\: New option CACHE (number of pre-allocated numbers). New column CACHE in the sequence meta data table. The default cache size is still 32.
changelog_1201_li=JdbcXAConnection\: starting a transaction before getting the connection didn't switch off autocommit. changelog_1201_li=MVCC\: The system property h2.mvcc has been removed. A few bugs have been fixed, and new tests have been added.
changelog_1202_li=User defined aggregate functions are not supported. changelog_1202_h2=Version 1.0.60 (2007-10-20)
changelog_1203_li=Server.shutdownTcpServer was blocked when first called with force\=false and then force\=true. Now documentation is improved, and it is no longer blocked. changelog_1203_li=JdbcXAConnection\: starting a transaction before getting the connection didn't switch off autocommit.
changelog_1204_li=Stack traces did not include the SQL statement in all cases where they could have. Also, stack traces with SQL statement are now shorter. changelog_1204_li=User defined aggregate functions are not supported.
changelog_1205_li=Linked tables\: now tables in non-default schemas are supported as well changelog_1205_li=Server.shutdownTcpServer was blocked when first called with force\=false and then force\=true. Now documentation is improved, and it is no longer blocked.
changelog_1206_li=New Italian translation from PierPaolo Ucchino. Thanks a lot\! changelog_1206_li=Stack traces did not include the SQL statement in all cases where they could have. Also, stack traces with SQL statement are now shorter.
changelog_1207_li=CSV\: New methods to set the escape character and field delimiter in the Csv tool and the CSVWRITE and CSVREAD methods. changelog_1207_li=Linked tables\: now tables in non-default schemas are supported as well
changelog_1208_li=Prepared statements could not be used after data definition statements (creating tables and so on). Fixed. changelog_1208_li=New Italian translation from PierPaolo Ucchino. Thanks a lot\!
changelog_1209_li=PreparedStatement.setMaxRows could not be changed to a higher value after the statement was executed. changelog_1209_li=CSV\: New methods to set the escape character and field delimiter in the Csv tool and the CSVWRITE and CSVREAD methods.
changelog_1210_li=The H2 Console could not connect twice to the same H2 embedded database at the same time. Fixed. changelog_1210_li=Prepared statements could not be used after data definition statements (creating tables and so on). Fixed.
changelog_1211_li=CSVREAD, RUNSCRIPT and so on now support URLs as well, using URL.openStream(). Example\: select * from csvread('jar\:file\:///c\:/temp/test.jar\!/test.csv'); changelog_1211_li=PreparedStatement.setMaxRows could not be changed to a higher value after the statement was executed.
changelog_1212_h2=Version 1.0.59 (2007-10-03) changelog_1212_li=The H2 Console could not connect twice to the same H2 embedded database at the same time. Fixed.
changelog_1213_li=When the data type was unknown in a subquery, sometimes the wrong exception (ArrayIndexOutOfBounds) was thrown. Fixed. changelog_1213_li=CSVREAD, RUNSCRIPT and so on now support URLs as well, using URL.openStream(). Example\: select * from csvread('jar\:file\:///c\:/temp/test.jar\!/test.csv');
changelog_1214_li=If the process was killed while the database was running, sometimes the database could not be opened ('double allocation') except when the system property h2.check was set to false. Fixed. changelog_1214_h2=Version 1.0.59 (2007-10-03)
changelog_1215_li=Multi-threaded kernel (MULTI_THREADED\=1)\: A synchronization problem has been fixed. changelog_1215_li=When the data type was unknown in a subquery, sometimes the wrong exception (ArrayIndexOutOfBounds) was thrown. Fixed.
changelog_1216_li=A PreparedStatement that was cancelled could not be reused. Fixed. changelog_1216_li=If the process was killed while the database was running, sometimes the database could not be opened ('double allocation') except when the system property h2.check was set to false. Fixed.
changelog_1217_li=H2 Console\: Progress information when logging into a H2 embedded database (useful when opening a database is slow). changelog_1217_li=Multi-threaded kernel (MULTI_THREADED\=1)\: A synchronization problem has been fixed.
changelog_1218_li=When the database was closed while logging was disabled (LOG 0), re-opening the database was slow. Fixed. changelog_1218_li=A PreparedStatement that was cancelled could not be reused. Fixed.
changelog_1219_li=Fulltext search is now documented (in the Tutorial). changelog_1219_li=H2 Console\: Progress information when logging into a H2 embedded database (useful when opening a database is slow).
changelog_1220_li=The Console did not refresh the table list if the CREATE TABLE statement started with a comment. Fixed. changelog_1220_li=When the database was closed while logging was disabled (LOG 0), re-opening the database was slow. Fixed.
changelog_1221_li=When creating a table using CREATE TABLE .. AS SELECT, the precision for some data types (for example VARCHAR) was set to the default precision. Fixed. changelog_1221_li=Fulltext search is now documented (in the Tutorial).
changelog_1222_li=When using the (undocumented) in-memory file system (jdbc\:h2\:memFS\:x or jdbc\:h2\:memLZF\:x), and using multiple connections, a ConcurrentModificationException could occur. Fixed. changelog_1222_li=The Console did not refresh the table list if the CREATE TABLE statement started with a comment. Fixed.
changelog_1223_li=REGEXP compatibility\: So far String.matches was used, but for compatibility with MySQL, now Matcher.find is used. changelog_1223_li=When creating a table using CREATE TABLE .. AS SELECT, the precision for some data types (for example VARCHAR) was set to the default precision. Fixed.
changelog_1224_li=SCRIPT\: the SQL statements in the result set now include the terminating semicolon as well. Simplifies copy and paste. changelog_1224_li=When using the (undocumented) in-memory file system (jdbc\:h2\:memFS\:x or jdbc\:h2\:memLZF\:x), and using multiple connections, a ConcurrentModificationException could occur. Fixed.
changelog_1225_li=When using a subquery with group by as a table, some columns could not be used in the where condition in the outer query. Example\: SELECT * FROM (SELECT ID, COUNT(*) C FROM TEST) WHERE C > 100. Fixed. changelog_1225_li=REGEXP compatibility\: So far String.matches was used, but for compatibility with MySQL, now Matcher.find is used.
changelog_1226_li=Views with subqueries as tables and queries with nested subqueries as tables did not always work. Fixed. changelog_1226_li=SCRIPT\: the SQL statements in the result set now include the terminating semicolon as well. Simplifies copy and paste.
changelog_1227_li=Compatibility\: comparing columns with constants that are out of range does not throw an exception. changelog_1227_li=When using a subquery with group by as a table, some columns could not be used in the where condition in the outer query. Example\: SELECT * FROM (SELECT ID, COUNT(*) C FROM TEST) WHERE C > 100. Fixed.
changelog_1228_h2=Version 1.0.58 (2007-09-15) changelog_1228_li=Views with subqueries as tables and queries with nested subqueries as tables did not always work. Fixed.
changelog_1229_li=System.exit is no longer called by the WebServer, the Console and the Server tool (except to set the exit code if required). This is important when using OSGi. changelog_1229_li=Compatibility\: comparing columns with constants that are out of range does not throw an exception.
changelog_1230_li=Optimization for independent subqueries. For example, this query can now an index\: SELECT * FROM TEST WHERE ID \= (SELECT MAX(ID) FROM TEST) This can be disabled by setting the system property h2.optimizeSubqueryCache to false. changelog_1230_h2=Version 1.0.58 (2007-09-15)
changelog_1231_li=The explain plan now says\: /* direct lookup query */ if the query can be processed directly without reading rows, for example when using MIN(indexed column), MAX(indexed column), or COUNT(*). changelog_1231_li=System.exit is no longer called by the WebServer, the Console and the Server tool (except to set the exit code if required). This is important when using OSGi.
changelog_1232_li=When using IFNULL, NULLIF, COALESCE, LEAST, or GREATEST, and the first parameter was ?, an exception was thrown. Now the highest data type of all parameters is used. changelog_1232_li=Optimization for independent subqueries. For example, this query can now an index\: SELECT * FROM TEST WHERE ID \= (SELECT MAX(ID) FROM TEST) This can be disabled by setting the system property h2.optimizeSubqueryCache to false.
changelog_1233_li=When comparing TINYINT or SMALLINT columns against constants, the index was not used. Fixed. changelog_1233_li=The explain plan now says\: /* direct lookup query */ if the query can be processed directly without reading rows, for example when using MIN(indexed column), MAX(indexed column), or COUNT(*).
changelog_1234_li=Maven 2\: new version are now automatically synced with the central repositories. changelog_1234_li=When using IFNULL, NULLIF, COALESCE, LEAST, or GREATEST, and the first parameter was ?, an exception was thrown. Now the highest data type of all parameters is used.
changelog_1235_li=The default value for MAX_MEMORY_UNDO is now 100000. changelog_1235_li=When comparing TINYINT or SMALLINT columns against constants, the index was not used. Fixed.
changelog_1236_li=The documentation indexer does no longer index Japanese pages. If somebody knows how to split Japanese into words please post it. changelog_1236_li=Maven 2\: new version are now automatically synced with the central repositories.
changelog_1237_li=Oracle compatibility\: SYSDATE now returns a timestamp. CHR(..) is now an alias for CHAR(..). changelog_1237_li=The default value for MAX_MEMORY_UNDO is now 100000.
changelog_1238_li=After deleting data, empty space in the database files was not efficiently reused (but it was reused when opening the database). This has been fixed. changelog_1238_li=The documentation indexer does no longer index Japanese pages. If somebody knows how to split Japanese into words please post it.
changelog_1239_li=About 230 bytes per database was leaked. This is a problem for applications opening and closing many thousand databases. The main problem\: a shutdown hook was added but never removed. Fixed. In JDK 1.4, there is <a href\="http\://bugs.sun.com/bugdatabase/view_bug.do?bug_id\=4197876">an additionally problem</a> . A workaround has been implemented. changelog_1239_li=Oracle compatibility\: SYSDATE now returns a timestamp. CHR(..) is now an alias for CHAR(..).
changelog_1240_li=Optimization for COLUMN IN(.., NULL) if the column does not allow NULL values. changelog_1240_li=After deleting data, empty space in the database files was not efficiently reused (but it was reused when opening the database). This has been fixed.
changelog_1241_li=Using spaces in column and table aliases was not supported when used inside a view or temporary view. changelog_1241_li=About 230 bytes per database was leaked. This is a problem for applications opening and closing many thousand databases. The main problem\: a shutdown hook was added but never removed. Fixed. In JDK 1.4, there is <a href\="http\://bugs.sun.com/bugdatabase/view_bug.do?bug_id\=4197876">an additionally problem</a> . A workaround has been implemented.
changelog_1242_li=The version (build) number is now included in the manifest file. changelog_1242_li=Optimization for COLUMN IN(.., NULL) if the column does not allow NULL values.
changelog_1243_li=In some systems, SecureRandom.generateSeed is very slow (taking one minute or more). For those cases, an alternative method is used that takes less than one second. changelog_1243_li=Using spaces in column and table aliases was not supported when used inside a view or temporary view.
changelog_1244_li=The database file sizes are now increased at most 32 MB at any time. changelog_1244_li=The version (build) number is now included in the manifest file.
changelog_1245_li=New method DatabaseEventListener.opened that is called just after opening a database. changelog_1245_li=In some systems, SecureRandom.generateSeed is very slow (taking one minute or more). For those cases, an alternative method is used that takes less than one second.
changelog_1246_li=When using the Console with Internet Explorer 6.0 or 7.0, a Javascript error was thrown after clearing the query. changelog_1246_li=The database file sizes are now increased at most 32 MB at any time.
changelog_1247_li=A database can now be opened even if class of a user defined function is not in the classpath. Trying to call the function will throws an exception. changelog_1247_li=New method DatabaseEventListener.opened that is called just after opening a database.
changelog_1248_li=User defined functions and constants may not overload built-in functions and constants. This didn't work before, but now trying to create such an object will fail. changelog_1248_li=When using the Console with Internet Explorer 6.0 or 7.0, a Javascript error was thrown after clearing the query.
changelog_1249_li=Improved MultiDimension tool (for spatial queries)\: in the last few releases the tool was actually slower than using a regular query (because index lookup got faster, and because the tool didn't support prepared statements) Now the tool generates prepared statements, and the performance is better again (about 5 times faster for a reasonable amount of data). changelog_1249_li=A database can now be opened even if class of a user defined function is not in the classpath. Trying to call the function will throws an exception.
changelog_1250_li=Adding a foreign key or when re-enabling referential integrity for a table failed when checking was enabled and the reference contained NULL. changelog_1250_li=User defined functions and constants may not overload built-in functions and constants. This didn't work before, but now trying to create such an object will fail.
changelog_1251_li=For PgServer, character encoding other than UTF-8 did not work correctly. Fixed. changelog_1251_li=Improved MultiDimension tool (for spatial queries)\: in the last few releases the tool was actually slower than using a regular query (because index lookup got faster, and because the tool didn't support prepared statements) Now the tool generates prepared statements, and the performance is better again (about 5 times faster for a reasonable amount of data).
changelog_1252_li=Using a function in a GROUP BY expression that is used in a view as a condition did not always work. changelog_1252_li=Adding a foreign key or when re-enabling referential integrity for a table failed when checking was enabled and the reference contained NULL.
changelog_1253_h2=Version 1.0.57 (2007-08-25) changelog_1253_li=For PgServer, character encoding other than UTF-8 did not work correctly. Fixed.
changelog_1254_li=New experimental feature MVCC (multi version concurrency control). Can be set as a option when opening the database (jdbc\:h2\:~/test;MVCC\=TRUE) or as a system property (-Dh2.mvcc\=true). This is work-in-progress, use it at your own risk. Feedback is welcome. changelog_1254_li=Using a function in a GROUP BY expression that is used in a view as a condition did not always work.
changelog_1255_li=The version number is now major.minor.micro where micro is the build number. Not all version are public, so there may be gaps in the micro. The minor changes when there is a file format change. changelog_1255_h2=Version 1.0.57 (2007-08-25)
changelog_1256_li=The backup tool (org.h2.tools.Backup) did not work. The restore tool did not work when the -db parameter was used. Fixed. The documentation of the backup tool has been changed\: only one database may be backed up at any time. changelog_1256_li=New experimental feature MVCC (multi version concurrency control). Can be set as a option when opening the database (jdbc\:h2\:~/test;MVCC\=TRUE) or as a system property (-Dh2.mvcc\=true). This is work-in-progress, use it at your own risk. Feedback is welcome.
changelog_1257_li=Opening large read-only databases was very slow. Fixed. changelog_1257_li=The version number is now major.minor.micro where micro is the build number. Not all version are public, so there may be gaps in the micro. The minor changes when there is a file format change.
changelog_1258_li=New Japanese translation of the error messages thanks to Ikemoto Masahiro. Thanks a lot\! changelog_1258_li=The backup tool (org.h2.tools.Backup) did not work. The restore tool did not work when the -db parameter was used. Fixed. The documentation of the backup tool has been changed\: only one database may be backed up at any time.
changelog_1259_li=Disabling / enabling referential integrity for a table can now be used inside a transaction. changelog_1259_li=Opening large read-only databases was very slow. Fixed.
changelog_1260_li=Rights checking for dynamic tables (SELECT * FROM (SELECT ...)) did not work. Fixed. changelog_1260_li=New Japanese translation of the error messages thanks to Ikemoto Masahiro. Thanks a lot\!
changelog_1261_li=Creating more than 10 views that depend on each other was very slow. Reconnecting was slow as well. Fixed. changelog_1261_li=Disabling / enabling referential integrity for a table can now be used inside a transaction.
changelog_1262_li=When used as as Servlet, the H2 Console did not work with SSL (using Tomcat). Fixed. changelog_1262_li=Rights checking for dynamic tables (SELECT * FROM (SELECT ...)) did not work. Fixed.
changelog_1263_li=When altering a table with foreign key constraint, if there was no manual index created for the referenced columns, the automatically created index was dropped while still being used. Fixed. changelog_1263_li=Creating more than 10 views that depend on each other was very slow. Reconnecting was slow as well. Fixed.
changelog_1264_li=Check and foreign key constraints now checks if the existing data is consistent (this can be disabled by appending NOCHECK). It is also possible to check existing data when re-enabling referential integrity for a table. changelog_1264_li=When used as as Servlet, the H2 Console did not work with SSL (using Tomcat). Fixed.
changelog_1265_li=Some unit tests failed on Linux because the file system works differently. The unit tests are fixed and should work now. changelog_1265_li=When altering a table with foreign key constraint, if there was no manual index created for the referenced columns, the automatically created index was dropped while still being used. Fixed.
changelog_1266_li=Can now incrementally translate the documentation. See also FAQ. changelog_1266_li=Check and foreign key constraints now checks if the existing data is consistent (this can be disabled by appending NOCHECK). It is also possible to check existing data when re-enabling referential integrity for a table.
changelog_1267_li=Improved error messages\: some tools can't show the root cause of an exception. Adding the message of the root cause to the message of the thrown exception now where it makes sense. changelog_1267_li=Some unit tests failed on Linux because the file system works differently. The unit tests are fixed and should work now.
changelog_1268_li=The H2 Console can now connect to databases using JNDI. The driver class name must be a javax.naming.Context, (for example javax.naming.InitialContext), and the URL the resource name (for example java\:comp/env/jdbc/Test). This should also work for linked tables. changelog_1268_li=Can now incrementally translate the documentation. See also FAQ.
changelog_1269_li=Google translate did not work for the H2 homepage. It should be fixed now. changelog_1269_li=Improved error messages\: some tools can't show the root cause of an exception. Adding the message of the root cause to the message of the thrown exception now where it makes sense.
changelog_1270_li=The CONVERT function did not work with views when using UNION. changelog_1270_li=The H2 Console can now connect to databases using JNDI. The driver class name must be a javax.naming.Context, (for example javax.naming.InitialContext), and the URL the resource name (for example java\:comp/env/jdbc/Test). This should also work for linked tables.
changelog_1271_li=The build now issues a warning if the source code is switched to the wrong version. changelog_1271_li=Google translate did not work for the H2 homepage. It should be fixed now.
changelog_1272_li=The default lock mode is now read committed instead of serialized. changelog_1272_li=The CONVERT function did not work with views when using UNION.
changelog_1273_li=PG server\: data was truncated when reading large VARCHAR columns and decimal columns. changelog_1273_li=The build now issues a warning if the source code is switched to the wrong version.
changelog_1274_li=PG server\: when the same database was accessed multiple times using the PostgreSQL ODBC driver, the pg_catalog schema update failed, and connecting to the database was not possible. Fixed. changelog_1274_li=The default lock mode is now read committed instead of serialized.
changelog_1275_li=Some file operations didn't work for files in the root directory. Fixed. changelog_1275_li=PG server\: data was truncated when reading large VARCHAR columns and decimal columns.
changelog_1276_li=In the Restore tool, the parameter -file did not work. Fixed. changelog_1276_li=PG server\: when the same database was accessed multiple times using the PostgreSQL ODBC driver, the pg_catalog schema update failed, and connecting to the database was not possible. Fixed.
changelog_1277_li=Two-phase commit\: commit with transaction name was only supported in the recovery scan. Now it is always supported. changelog_1277_li=Some file operations didn't work for files in the root directory. Fixed.
changelog_1278_li=The column name C_CURRENT_TIMESTAMP did not work in the last release. changelog_1278_li=In the Restore tool, the parameter -file did not work. Fixed.
changelog_1279_li=OpenOffice compatibility\: support database name in column names. changelog_1279_li=Two-phase commit\: commit with transaction name was only supported in the recovery scan. Now it is always supported.
changelog_1280_li=The column name C_CURRENT_TIMESTAMP did not work in the last release.
changelog_1281_li=OpenOffice compatibility\: support database name in column names.
download_1000_h1=Downloads download_1000_h1=Downloads
download_1001_h3=Version 1.0.69 (2008-03-29, Current) download_1001_h3=Version 1.0.69 (2008-04-20, Current)
download_1002_a=Windows Installer download_1002_a=Windows Installer
download_1003_a=Platform-Independent Zip download_1003_a=Platform-Independent Zip
download_1004_h3=Version 1.0.68 (2008-03-15, Last Stable) download_1004_h3=Version 1.0.68 (2008-03-29, Last Stable)
download_1005_a=Windows Installer download_1005_a=Windows Installer
download_1006_a=Platform-Independent Zip download_1006_a=Platform-Independent Zip
download_1007_h3=Download Mirror and Older Versions download_1007_h3=Download Mirror and Older Versions
...@@ -1451,9 +1453,9 @@ mainWeb_1004_li=JDBC and ODBC API; browser based Console application ...@@ -1451,9 +1453,9 @@ mainWeb_1004_li=JDBC and ODBC API; browser based Console application
mainWeb_1005_li=Written in Java; can be compiled with GCJ and IKVM.NET mainWeb_1005_li=Written in Java; can be compiled with GCJ and IKVM.NET
mainWeb_1006_li=Small footprint\: around 1 MB mainWeb_1006_li=Small footprint\: around 1 MB
mainWeb_1007_h3=Download mainWeb_1007_h3=Download
mainWeb_1008_td=Version 1.0.69 (2008-03-29)\: mainWeb_1008_td=Version 1.0.70 (2008-04-20)\:
mainWeb_1009_a=Windows Installer (3.0 MB) mainWeb_1009_a=Windows Installer (3.1 MB)
mainWeb_1010_a=All platforms (zip, 4.2 MB) mainWeb_1010_a=All platforms (zip, 4.5 MB)
mainWeb_1011_a=All Downloads mainWeb_1011_a=All Downloads
mainWeb_1012_td=&nbsp;&nbsp;&nbsp; mainWeb_1012_td=&nbsp;&nbsp;&nbsp;
mainWeb_1013_h3=Support mainWeb_1013_h3=Support
......
...@@ -122,6 +122,8 @@ Section "All" ...@@ -122,6 +122,8 @@ Section "All"
SetOutPath "$INSTDIR\service" SetOutPath "$INSTDIR\service"
File /r /x CVS /x .cvsignore /x .svn ..\..\service\*.* File /r /x CVS /x .cvsignore /x .svn ..\..\service\*.*
SetOutPath "$INSTDIR" SetOutPath "$INSTDIR"
File /r /x CVS /x .cvsignore ..\..\build.bat
File /r /x CVS /x .cvsignore ..\..\build.sh
File /r /x CVS /x .cvsignore ..\..\build.xml File /r /x CVS /x .cvsignore ..\..\build.xml
File /r /x CVS /x .cvsignore ..\..\ant-build.properties File /r /x CVS /x .cvsignore ..\..\ant-build.properties
......
#! /bin/sh #!/bin/sh
cp=h2.jar cp=h2.jar
if [ -n "$H2DRIVERS" ] ; then if [ -n "$H2DRIVERS" ] ; then
cp="$cp:$H2DRIVERS" cp="$cp:$H2DRIVERS"
......
...@@ -93,8 +93,8 @@ public class ErrorCode { ...@@ -93,8 +93,8 @@ public class ErrorCode {
/** /**
* The error with code <code>22025</code> is thrown when using an invalid * The error with code <code>22025</code> is thrown when using an invalid
* escape character sequence for LIKE or REGEXP. The default escape * escape character sequence for LIKE or REGEXP. The default escape
* character is '\'. When searching for the characters '%', '_' and the * character is '\'. The escape character is required when searching for
* escape character, you need to prepend the escape character. That means if * the characters '%', '_' and the escape character itself. That means if
* you want to search for the text '10%', you need to use LIKE '10\%'. If * you want to search for the text '10%', you need to use LIKE '10\%'. If
* you want to search for 'C:\temp' you need to use 'C:\\temp'. The escape * you want to search for 'C:\temp' you need to use 'C:\\temp'. The escape
* character can be changed using the ESCAPE clause as in LIKE '10+%' ESCAPE * character can be changed using the ESCAPE clause as in LIKE '10+%' ESCAPE
......
...@@ -15,8 +15,8 @@ package org.h2.engine; ...@@ -15,8 +15,8 @@ package org.h2.engine;
* - Compile with JDK 1.4, 1.5 and 1.6: * - Compile with JDK 1.4, 1.5 and 1.6:
* set path=C:\Programme\Java\jdk1.6.0\bin;%PATH% * set path=C:\Programme\Java\jdk1.6.0\bin;%PATH%
* set JAVA_HOME=C:\Programme\Java\jdk1.6.0 * set JAVA_HOME=C:\Programme\Java\jdk1.6.0
* set path=C:\Program Files\Java\jdk1.6.0_03\bin;%PATH% * set path=C:\Program Files\Java\jdk1.6.0_05\bin;%PATH%
* set JAVA_HOME=C:\Program Files\Java\jdk1.6.0_03 * set JAVA_HOME=C:\Program Files\Java\jdk1.6.0_05
* ant compile * ant compile
* set classpath= * set classpath=
* ant javadoc * ant javadoc
...@@ -76,8 +76,8 @@ package org.h2.engine; ...@@ -76,8 +76,8 @@ package org.h2.engine;
*/ */
public class Constants { public class Constants {
public static final int BUILD_ID = 69; public static final int BUILD_ID = 70;
private static final String BUILD = "2008-03-29"; private static final String BUILD = "2008-04-20";
public static final boolean ALLOW_EMPTY_BTREE_PAGES = true; public static final boolean ALLOW_EMPTY_BTREE_PAGES = true;
public static final int ALLOW_LITERALS_NONE = 0; public static final int ALLOW_LITERALS_NONE = 0;
......
...@@ -142,4 +142,3 @@ tree.nonUnique=No &uacute;nico ...@@ -142,4 +142,3 @@ tree.nonUnique=No &uacute;nico
tree.sequences=Secuencias tree.sequences=Secuencias
tree.unique=&Uacute;nico tree.unique=&Uacute;nico
tree.users=Usuarios tree.users=Usuarios
~login.goTools=\#Tools
...@@ -142,4 +142,3 @@ tree.nonUnique=Non unique ...@@ -142,4 +142,3 @@ tree.nonUnique=Non unique
tree.sequences=S&eacute;quences tree.sequences=S&eacute;quences
tree.unique=Unique tree.unique=Unique
tree.users=Utilisateurs tree.users=Utilisateurs
~login.goTools=\#Tools
...@@ -142,4 +142,3 @@ tree.nonUnique=Nem egyedi ...@@ -142,4 +142,3 @@ tree.nonUnique=Nem egyedi
tree.sequences=Szekvencia tree.sequences=Szekvencia
tree.unique=Egyedi tree.unique=Egyedi
tree.users=Felhaszn&aacute;l&oacute;k tree.users=Felhaszn&aacute;l&oacute;k
~login.goTools=\#Tools
...@@ -142,4 +142,3 @@ tree.nonUnique=Tidak-Unik ...@@ -142,4 +142,3 @@ tree.nonUnique=Tidak-Unik
tree.sequences=Urut-urutan tree.sequences=Urut-urutan
tree.unique=Unik tree.unique=Unik
tree.users=Para pengguna tree.users=Para pengguna
~login.goTools=\#Tools
...@@ -142,4 +142,3 @@ tree.nonUnique=Non unico ...@@ -142,4 +142,3 @@ tree.nonUnique=Non unico
tree.sequences=Sequenze tree.sequences=Sequenze
tree.unique=Unico tree.unique=Unico
tree.users=Utenti tree.users=Utenti
~login.goTools=\#Tools
...@@ -142,4 +142,3 @@ tree.nonUnique=Niet uniek ...@@ -142,4 +142,3 @@ tree.nonUnique=Niet uniek
tree.sequences=Sequenties tree.sequences=Sequenties
tree.unique=Uniek tree.unique=Uniek
tree.users=Gebruikers tree.users=Gebruikers
~login.goTools=\#Tools
...@@ -142,4 +142,3 @@ tree.nonUnique=Nie unikalny ...@@ -142,4 +142,3 @@ tree.nonUnique=Nie unikalny
tree.sequences=Sekwencje tree.sequences=Sekwencje
tree.unique=Unikalny tree.unique=Unikalny
tree.users=U&\#380;ytkownicy tree.users=U&\#380;ytkownicy
~login.goTools=\#Tools
...@@ -142,4 +142,3 @@ tree.nonUnique=N&atilde;o &uacute;nico ...@@ -142,4 +142,3 @@ tree.nonUnique=N&atilde;o &uacute;nico
tree.sequences=Sequ&ecirc;ncias tree.sequences=Sequ&ecirc;ncias
tree.unique=&Uacute;nico tree.unique=&Uacute;nico
tree.users=Usu&aacute;rios tree.users=Usu&aacute;rios
~login.goTools=\#Tools
...@@ -142,4 +142,3 @@ tree.nonUnique=N&atilde;o &uacute;nico ...@@ -142,4 +142,3 @@ tree.nonUnique=N&atilde;o &uacute;nico
tree.sequences=Sequ&ecirc;ncias tree.sequences=Sequ&ecirc;ncias
tree.unique=&Uacute;nico tree.unique=&Uacute;nico
tree.users=Utilizadoreses tree.users=Utilizadoreses
~login.goTools=\#Tools
...@@ -142,4 +142,3 @@ tree.nonUnique=&\#1053;&\#1077;&\#1091;&\#1085;&\#1080;&\#1082;&\#1072;&\#1083;& ...@@ -142,4 +142,3 @@ tree.nonUnique=&\#1053;&\#1077;&\#1091;&\#1085;&\#1080;&\#1082;&\#1072;&\#1083;&
tree.sequences=&\#1055;&\#1086;&\#1089;&\#1083;&\#1077;&\#1076;&\#1086;&\#1074;&\#1072;&\#1090;&\#1077;&\#1083;&\#1100;&\#1085;&\#1086;&\#1089;&\#1090;&\#1100; tree.sequences=&\#1055;&\#1086;&\#1089;&\#1083;&\#1077;&\#1076;&\#1086;&\#1074;&\#1072;&\#1090;&\#1077;&\#1083;&\#1100;&\#1085;&\#1086;&\#1089;&\#1090;&\#1100;
tree.unique=&\#1059;&\#1085;&\#1080;&\#1082;&\#1072;&\#1083;&\#1100;&\#1085;&\#1086;&\#1077; tree.unique=&\#1059;&\#1085;&\#1080;&\#1082;&\#1072;&\#1083;&\#1100;&\#1085;&\#1086;&\#1077;
tree.users=&\#1055;&\#1086;&\#1083;&\#1100;&\#1079;&\#1086;&\#1074;&\#1072;&\#1090;&\#1077;&\#1083;&\#1080; tree.users=&\#1055;&\#1086;&\#1083;&\#1100;&\#1079;&\#1086;&\#1074;&\#1072;&\#1090;&\#1077;&\#1083;&\#1080;
~login.goTools=\#Tools
...@@ -142,4 +142,3 @@ tree.nonUnique=e&\#351;siz de&\#287;il ...@@ -142,4 +142,3 @@ tree.nonUnique=e&\#351;siz de&\#287;il
tree.sequences=Dizinler tree.sequences=Dizinler
tree.unique=E&\#351;siz tree.unique=E&\#351;siz
tree.users=Kullan&\#305;c&\#305; tree.users=Kullan&\#305;c&\#305;
~login.goTools=\#Tools
...@@ -142,4 +142,3 @@ tree.nonUnique=&\#x041D;&\#x0435;&\#x0443;&\#x043D;&\#x0456;&\#x043A;&\#x0430;&\ ...@@ -142,4 +142,3 @@ tree.nonUnique=&\#x041D;&\#x0435;&\#x0443;&\#x043D;&\#x0456;&\#x043A;&\#x0430;&\
tree.sequences=&\#x041F;&\#x043E;&\#x0441;&\#x043B;&\#x0456;&\#x0434;&\#x043E;&\#x0432;&\#x043D;&\#x043E;&\#x0441;&\#x0442;&\#x0456; tree.sequences=&\#x041F;&\#x043E;&\#x0441;&\#x043B;&\#x0456;&\#x0434;&\#x043E;&\#x0432;&\#x043D;&\#x043E;&\#x0441;&\#x0442;&\#x0456;
tree.unique=&\#x0423;&\#x043D;&\#x0456;&\#x043A;&\#x0430;&\#x043B;&\#x044C;&\#x043D;&\#x0435; tree.unique=&\#x0423;&\#x043D;&\#x0456;&\#x043A;&\#x0430;&\#x043B;&\#x044C;&\#x043D;&\#x0435;
tree.users=&\#x041A;&\#x043E;&\#x0440;&\#x0438;&\#x0441;&\#x0442;&\#x0443;&\#x0432;&\#x0430;&\#x0447;&\#x0456; tree.users=&\#x041A;&\#x043E;&\#x0440;&\#x0438;&\#x0441;&\#x0442;&\#x0443;&\#x0432;&\#x0430;&\#x0447;&\#x0456;
~login.goTools=\#Tools
...@@ -142,4 +142,3 @@ tree.nonUnique=\u4E0D\u552F\u4E00 ...@@ -142,4 +142,3 @@ tree.nonUnique=\u4E0D\u552F\u4E00
tree.sequences=\u5E8F\u5217 tree.sequences=\u5E8F\u5217
tree.unique=\u552F\u4E00 tree.unique=\u552F\u4E00
tree.users=\u7528\u6237 tree.users=\u7528\u6237
~login.goTools=\#Tools
...@@ -10,6 +10,62 @@ INSERT INTO CHANNEL VALUES('H2 Database Engine' , ...@@ -10,6 +10,62 @@ INSERT INTO CHANNEL VALUES('H2 Database Engine' ,
CREATE TABLE ITEM(ID INT PRIMARY KEY, TITLE VARCHAR, ISSUED TIMESTAMP, DESC VARCHAR); CREATE TABLE ITEM(ID INT PRIMARY KEY, TITLE VARCHAR, ISSUED TIMESTAMP, DESC VARCHAR);
INSERT INTO ITEM VALUES(40,
'New version available: 1.0.70 (2008-04-20)', '2008-04-20 12:00:00',
'A new version of H2 is available for <a href="http://www.h2database.com">download</a>.
(You may have to click ''Refresh'').
<br />
<b>Changes and new functionality:</b>
<ul><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
</li><li>The ConvertTraceFile tool now generates SQL statement statistics.
</li><li>New system property h2.enableAnonymousSSL (default: true).
</li><li>The precision if SUBSTR is now calculated if possible.
</li><li>The autocomplete in the H2 Console has been improved a bit.
</li><li>The tools in the H2 Console are now translatable.
</li><li>The servlet and lucene jar files are now automatically downloaded when building.
</li><li>The code switch tool has been replaced by a simpler tool.
</li><li>Started to write a Ant replacement (''JAnt'') that uses pure Java
build definitions.Future plan: support creating custom h2
distributions (for embedded use). Maybe create a new project ''Jant''
or ''Javen'' if other people are interested.
</li><li>The jar file is now about 10% smaller because the variable debugging info
is no longer included.
</li><li>Added shell scripts run.sh and build.sh.
</li><li>The Japanese translation of the error messages and the
H2 Console has been improved. Thanks a lot to Masahiro IKEMOTO.
</li><li>Optimization for MIN() and MAX() when using MVCC.
</li><li>To protect against remote brute force password attacks,
the delay after each unsuccessful login now gets double as long.
</li><li>The built-in connection pool is not called JdbcConnectionPool.
</li><li>Nested joins are now supported (A JOIN B JOIN C ON .. ON ..)
</li></ul>
<b>Bugfixes:</b>
<ul><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.
</li><li>Calling SHUTDOWN on one connection and starting a query on
another connection concurrently could result in a Java level deadlock.
</li><li>Databases in zip files: large queries are now supported.
</li><li>Invalid inline views threw confusing SQL exceptions.
</li><li>After setting the query timeout and then resetting it, the next query
would still timeout. Fixed.
</li><li>Adding a IDENTITY column to a table with data threw a lock timeout.
</li><li>OutOfMemoryError could occur when using EXISTS or IN(SELECT ..).
</li></ul>
For details, see the ''Change Log'' at
http://www.h2database.com/html/changelog.html
<br />
For future plans, see the ''Roadmap'' page at
http://www.h2database.com/html/roadmap.html
');
INSERT INTO ITEM VALUES(39, INSERT INTO ITEM VALUES(39,
'New version available: 1.0.69 (2008-03-29)', '2008-03-29 12:00:00', 'New version available: 1.0.69 (2008-03-29)', '2008-03-29 12:00:00',
'A new version of H2 is available for <a href="http://www.h2database.com">download</a>. 'A new version of H2 is available for <a href="http://www.h2database.com">download</a>.
......
...@@ -495,4 +495,4 @@ compressibility ext crc enumerate components mkdir jant downloading mismatch ...@@ -495,4 +495,4 @@ compressibility ext crc enumerate components mkdir jant downloading mismatch
timebomb thinks technotes chmod overloading javase flux solves fastest timebomb thinks technotes chmod overloading javase flux solves fastest
quickstarter bridge bpm trust guides improvements customizing easiest quickstarter bridge bpm trust guides improvements customizing easiest
workflow seque npl netstat ano spellcheck eplfaq opensource zdnet burnette workflow seque npl netstat ano spellcheck eplfaq opensource zdnet burnette
regard epl regard epl huge
\ No newline at end of file \ No newline at end of file
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论