提交 574eec00 authored 作者: Thomas Mueller's avatar Thomas Mueller

--no commit message

--no commit message
上级 ffb87e00
#Fri Feb 22 08:12:33 CET 2008
#Fri Mar 14 15:37:20 CET 2008
benchmark.drivers.dir=C\:/data/java
javac=javac
jdk=1.4
path.lucene.jar=C\:/data/classpath/lucene-core-2.2.0.jar
path.servlet.jar=C\:/data/classpath/servlet-api.jar
version.name.maven=1.0.67
version.name.maven=1.0.68
......@@ -144,6 +144,7 @@
<fileset dir="src/main" includes="**/*.sql"/>
<fileset dir="src/installer" includes="*.bat"/>
<fileset dir="src/test" includes="**/*.txt"/>
<fileset dir="src/test" includes="**/*.sql"/>
<fileset dir="src/test" includes="**/*.properties"/>
</copy>
</target>
......
......@@ -78,7 +78,7 @@ Example:
&lt;dependency&gt;
&lt;groupId&gt;com.h2database&lt;/groupId&gt;
&lt;artifactId&gt;h2&lt;/artifactId&gt;
&lt;version&gt;1.0.67&lt;/version&gt;
&lt;version&gt;1.0.68&lt;/version&gt;
&lt;/dependency&gt;
</pre>
<p>
......
......@@ -15,7 +15,15 @@ Change Log
<h2>Next Version (unreleased)</h2>
<ul>
<li>ALTER SEQUENCE and ALTER TABLE ALTER COLUMN RESTART can now be used inside a transaction.
<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.
</li><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.
</li><li>Unused LOB files were deleted much too late.
Now they are deleted if no longer referenced in memory.
</li><li>ALTER SEQUENCE and ALTER TABLE ALTER COLUMN RESTART can now be used inside a transaction.
</li><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
......@@ -43,7 +51,7 @@ Change Log
way (SecureRandom.generateSeed) was very slow. Now using a daemon thread
to avoid this problem.
</li><li>SELECT UNION with a different number of ORDER BY columns did throw an ArrayIndexOutOfBoundsException.
</li><li>When using view, the precision of column was changed to the default scale for some data types.
</li><li>When using a view, the column precision was changed to the default scale for some data types.
</li><li>CSVWRITE now supports a 'null string' that is used for parsing and writing NULL.
</li><li>Some long running queries could not be cancelled.
</li><li>Queries with many outer join tables were very slow. Fixed.
......
......@@ -15,16 +15,16 @@ H2 Database Engine
<h1>Downloads</h1>
<h3>Version 1.0.67 (2008-02-22, Current)</h3>
<h3>Version 1.0.67 (2008-03-14, Current)</h3>
<p>
<a href="http://www.h2database.com/h2-setup-2008-02-22.exe">Windows Installer</a><br />
<a href="http://www.h2database.com/h2-2008-02-22.zip">Platform-Independent Zip</a><br />
<a href="http://www.h2database.com/h2-setup-2008-03-14.exe">Windows Installer</a><br />
<a href="http://www.h2database.com/h2-2008-03-14.zip">Platform-Independent Zip</a><br />
</p>
<h3>Version 1.0.66 (2008-02-02, Last Stable)</h3>
<h3>Version 1.0.66 (2008-02-22, Last Stable)</h3>
<p>
<a href="http://www.h2database.com/h2-setup-2008-02-02.exe">Windows Installer</a><br />
<a href="http://www.h2database.com/h2-2008-02-02.zip">Platform-Independent Zip</a><br />
<a href="http://www.h2database.com/h2-setup-2008-02-22.exe">Windows Installer</a><br />
<a href="http://www.h2database.com/h2-2008-02-22.zip">Platform-Independent Zip</a><br />
</p>
<h3>Download Mirror and Older Versions</h3>
......
......@@ -12,6 +12,10 @@ H2 In Use and Links
<table class="content"><tr class="content"><td class="content"><div class="contentDiv">
<h1>H2 In Use and Links</h1>
<p>
Those are just a few links to products using or supporting H2.
If you want to add a link, please send it to the support email address or post it in the group.
</p>
<h2>Books</h2>
<a href="http://code.google.com/p/seaminaction/wiki/GettingStarted">
......@@ -176,6 +180,11 @@ A tool to manage database changes and refactorings.
Luntbuild</a><br />
Build automation and management tool.</p>
<p><a href="http://www.source-code.biz/snippets/java/8.htm">
MiniConnectionPoolManager</a><br />
A lightweight standalone JDBC connection pool manager.
</p>
<p><a href="http://jenkov.com/mrpersister/index.html">
Mr. Persister</a><br />
Simple, small and fast object relational mapping.
......
......@@ -31,17 +31,17 @@ Welcome to H2, the free SQL database. The main feature of H2 are:
<table style="border: 0px; margin: 5px; background-color: #eee;">
<tr><td style="border: 0px; background-color: #eee;" colspan="2">
<h3>Download</h3>
Version 1.0.67 (2008-02-22):
Version 1.0.68 (2008-03-14):
</td></tr>
<tr><td style="border: 0px; background-color: #eee;">
<a href="http://www.h2database.com/h2-setup-2008-02-22.exe"><img border="1" src="images/download.png" alt="download" /></a>
<a href="http://www.h2database.com/h2-setup-2008-03-14.exe"><img border="1" src="images/download.png" alt="download" /></a>
</td><td style="vertical-align: middle; border: 0px; background-color: #eee;">
<a href="http://www.h2database.com/h2-setup-2008-02-22.exe">Windows Installer (2.9 MB)</a>
<a href="http://www.h2database.com/h2-setup-2008-03-14.exe">Windows Installer (2.9 MB)</a>
</td></tr>
<tr><td style="border: 0px; background-color: #eee;">
<a href="http://www.h2database.com/h2-2008-02-22.zip"><img border="1" src="images/download.png" alt="download" /></a>
<a href="http://www.h2database.com/h2-2008-03-14.zip"><img border="1" src="images/download.png" alt="download" /></a>
</td><td style="vertical-align: middle; border: 0px; background-color: #eee;">
<a href="http://www.h2database.com/h2-2008-02-22.zip">All platforms (zip, 4.1 MB)</a>
<a href="http://www.h2database.com/h2-2008-03-14.zip">All platforms (zip, 4.1 MB)</a>
</td></tr>
<tr><td style="border: 0px; background-color: #eee;" colspan="2">
<a href="download.html">All Downloads</a>
......
......@@ -70,6 +70,7 @@ Initial Developer: H2 Group
<b>Appendix</b><br />
<a href="build.html" target="main">Build</a><br />
<a href="history.html" target="main">History &amp; Roadmap</a><br />
<a href="links.html" target="main">Links</a><br />
<a href="faq.html" target="main">FAQ</a><br />
<a href="license.html" target="main">License</a><br />
<br />
......
......@@ -22,6 +22,7 @@ Initial Developer: H2 Group
<br />
<b>JDBC</b><br />
org.h2.jdbc<br />
<a href="org/h2/jdbc/JdbcArray.html" target="javadoc">Array</a><br />
<a href="org/h2/jdbc/JdbcBlob.html" target="javadoc">Blob</a><br />
<a href="org/h2/jdbc/JdbcCallableStatement.html" target="javadoc">CallableStatement</a><br />
......@@ -35,10 +36,15 @@ Initial Developer: H2 Group
<a href="org/h2/jdbc/JdbcSavepoint.html" target="javadoc">Savepoint</a><br />
<a href="org/h2/jdbc/JdbcSQLException.html" target="javadoc">SQLException</a><br />
<a href="org/h2/jdbc/JdbcStatement.html" target="javadoc">Statement</a><br />
org.h2.jdbcx<br />
<a href="org/h2/jdbcx/JdbcDataSource.html" target="javadoc">DataSource</a><br />
<a href="org/h2/jdbcx/JdbcDataSourceFactory.html" target="javadoc">DataSourceFactory</a><br />
<a href="org/h2/jdbcx/JdbcXAConnection.html" target="javadoc">XAConnection</a><br />
<a href="org/h2/jdbcx/JdbcXid.html" target="javadoc">Xid</a><br />
<br />
<b>Tools</b><br />
Package org.h2.tools<br />
org.h2.tools<br />
<a href="org/h2/tools/Backup.html" target="javadoc">Backup</a><br />
<a href="org/h2/tools/ChangePassword.html" target="javadoc">ChangePassword</a><br />
<a href="org/h2/tools/CompressTool.html" target="javadoc">CompressTool</a><br />
......@@ -58,14 +64,14 @@ Package org.h2.tools<br />
<br />
<b>Interfaces</b><br />
Package org.h2.api<br />
org.h2.api<br />
<a href="org/h2/api/AggregateFunction.html" target="javadoc">AggregateFunction</a><br />
<a href="org/h2/api/DatabaseEventListener.html" target="javadoc">DatabaseEventListener</a><br />
<a href="org/h2/api/Trigger.html" target="javadoc">Trigger</a><br />
<br />
<b>Constants</b><br />
Package org.h2.constant<br />
org.h2.constant<br />
<a href="org/h2/constant/ErrorCode.html" target="javadoc">ErrorCode</a><br />
<a href="org/h2/constant/SysProperties.html" target="javadoc">SysProperties</a><br />
<br />
......
......@@ -9,7 +9,7 @@ Initial Developer: H2 Group
<title>H2 Documentation</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" />
</head>
<frameset cols="175,*" rows="*" frameborder="2" framespacing="4" border="4" >
<frameset cols="185,*" rows="*" frameborder="2" framespacing="4" border="4" >
<frame frameborder="0" marginheight="0" marginwidth="0" src="classes.html" name="classes" />
<frame frameborder="0" marginheight="0" marginwidth="0" src="overview.html" name="javadoc" />
</frameset>
......
......@@ -959,793 +959,802 @@ Change Log
Next Version (unreleased)
@changelog_1002_li
ALTER SEQUENCE and ALTER TABLE ALTER COLUMN RESTART can now be used inside a transaction.
Very large SELECT DISTINCT and UNION EXCEPT queries are now supported, however this feature is disabled by default. To enable it, set the system property h2.maxMemoryRowsDistinct to a lower value, for example 10000.
@changelog_1003_li
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.
A error is now thrown when trying to call a method inside a trigger that implicitly commits the current transaction, if an object is locked.
@changelog_1004_li
When using encrypted databases, and using the wrong file password, the log file was renamed if the database was not already open. Fixed.
Unused LOB files were deleted much too late. Now they are deleted if no longer referenced in memory.
@changelog_1005_li
Improved performance when using lob files in directories (however this is still disabled by default)
ALTER SEQUENCE and ALTER TABLE ALTER COLUMN RESTART can now be used inside a transaction.
@changelog_1006_li
H2 Console: autocomplete didn't work with very large scripts. Fixed.
New system property h2.aliasColumnName. When enabled, aliased columns (as in SELECT ID AS I FROM TEST) return the real table and column name in ResultSetMetaData.getTableName() and getColumnName(). This is disabled by default for compatibility with other databases (HSQLDB, Apache Derby, PostgreSQL, some version of MySQL). In version 1.1 this setting will be enabled.
@changelog_1007_li
Fulltext search: new method SEARCH_DATA that returns the column names and primary keys as arrays.
When using encrypted databases, and using the wrong file password, the log file was renamed if the database was not already open. Fixed.
@changelog_1008_li
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.
Improved performance when using lob files in directories (however this is still disabled by default)
@changelog_1009_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.
H2 Console: autocomplete didn't work with very large scripts. Fixed.
@changelog_1010_li
H2 Console: remote connections were very slow because getHostName/getRemoteHost was used. Fixed (now using getHostAddress/getRemoteAddr.
Fulltext search: new method SEARCH_DATA that returns the column names and primary keys as arrays.
@changelog_1011_li
H2 Console: on Linux, Firefox, Konqueror, or Opera (in this order) are now started if available. This has been tested on Ubuntu.
New experimental optimization for GROUP BY queries if an index can be used that matches the group by columns. To enable this optimization, set the system property h2.optimizeGroupSorted to true.
@changelog_1012_li
H2 Console: the start window works better with IKVM
When using multi-version concurrency (MVCC=TRUE), duplicate rows could appear in the result set when running queries with uncommitted changes in the same session.
@changelog_1013_li
H2 Console: improved compatibility with Safari (Safari requires keep-alive)
H2 Console: remote connections were very slow because getHostName/getRemoteHost was used. Fixed (now using getHostAddress/getRemoteAddr.
@changelog_1014_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.
H2 Console: on Linux, Firefox, Konqueror, or Opera (in this order) are now started if available. This has been tested on Ubuntu.
@changelog_1015_li
SELECT UNION with a different number of ORDER BY columns did throw an ArrayIndexOutOfBoundsException.
H2 Console: the start window works better with IKVM
@changelog_1016_li
When using view, the precision of column was changed to the default scale for some data types.
H2 Console: improved compatibility with Safari (Safari requires keep-alive)
@changelog_1017_li
CSVWRITE now supports a 'null string' that is used for parsing and writing NULL.
Random: the process didn't stop if generating the random seed using the standard way (SecureRandom.generateSeed) was very slow. Now using a daemon thread to avoid this problem.
@changelog_1018_li
Some long running queries could not be cancelled.
SELECT UNION with a different number of ORDER BY columns did throw an ArrayIndexOutOfBoundsException.
@changelog_1019_li
Queries with many outer join tables were very slow. Fixed.
When using a view, the column precision was changed to the default scale for some data types.
@changelog_1020_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.
CSVWRITE now supports a 'null string' that is used for parsing and writing NULL.
@changelog_1021_li
Some long running queries could not be cancelled.
@changelog_1022_li
Queries with many outer join tables were very slow. Fixed.
@changelog_1023_li
The performance of text comparison has been improved when using locale sensitive string comparison (SET COLLATOR). Now CollationKey is used with a LRU cache. The default cache size is 10000, and can be changed using the system property h2.collatorCacheSize. Use 0 to disable the cache.
@changelog_1024_li
UPDATE SET column=DEFAULT is now supported.
@changelog_1022_h2
@changelog_1025_h2
Version 1.0.67 (2008-02-22)
@changelog_1023_li
@changelog_1026_li
New function FILE_READ to read a file or from an URL. Both binary and text data is supported.
@changelog_1024_li
@changelog_1027_li
CREATE TABLE AS SELECT now supports specifying the column list and data types.
@changelog_1025_li
@changelog_1028_li
Connecting to a TCP server and at shutting it down at the same time could cause a Java level deadlock.
@changelog_1026_li
@changelog_1029_li
A user now has all rights on his own local temporary tables.
@changelog_1027_li
@changelog_1030_li
The CSV tool now supports a custom lineSeparator.
@changelog_1028_li
@changelog_1031_li
When using multiple connections, empty space was reused too early sometimes. This could corrupt the database when recovering.
@changelog_1029_li
@changelog_1032_li
The H2 Console has been translated to Dutch. Thanks a lot to Remco Schoen!
@changelog_1030_li
@changelog_1033_li
Databases can now be opened even if trigger classes are not in the classpath. The exception is thrown when trying to fire the trigger.
@changelog_1031_li
@changelog_1034_li
Opening databases with ACCESS_MODE_DATA=r is now supported. In this case the database is read-only, but the files don't not need to be read-only.
@changelog_1032_li
@changelog_1035_li
Security: The database now waits 200 ms before throwing an exception if the user name or password don't match, to slow down dictionary attacks.
@changelog_1033_li
@changelog_1036_li
The value cache is now a soft reference cache. This should help save memory.
@changelog_1034_li
@changelog_1037_li
CREATE INDEX on a table with many rows could run out of memory. Fixed.
@changelog_1035_li
@changelog_1038_li
Large result sets are now a bit faster.
@changelog_1036_li
@changelog_1039_li
ALTER TABLE ALTER COLUMN RESTART and ALTER SEQUENCE now support parameters (any expressions).
@changelog_1037_li
@changelog_1040_li
When setting the base directory on the command line, the user directory prefix ('~') was ignored.
@changelog_1038_li
@changelog_1041_li
The DbStarter servlet didn't start the TCP listener even if configured.
@changelog_1039_li
@changelog_1042_li
Statement.setQueryTimeout() is now supported.
@changelog_1040_li
@changelog_1043_li
New session setting QUERY_TIMEOUT, and new system property h2.maxQueryTimeout.
@changelog_1041_li
@changelog_1044_li
Changing the transaction log level (SET LOG) is now written to the trace file by default.
@changelog_1042_li
@changelog_1045_li
In a SQL script, primary key constraints are now ordered before foreign key constraints.
@changelog_1043_li
@changelog_1046_li
It was not possible to create a referential constraint to a table in a different schema in some situations.
@changelog_1044_li
@changelog_1047_li
The H2 Console was slow when the database contains many tables. Now the column names are not shown in this case.
@changelog_1045_h2
@changelog_1048_h2
Version 1.0.66 (2008-02-02)
@changelog_1046_li
@changelog_1049_li
There is a new online error analyzer tool.
@changelog_1047_li
@changelog_1050_li
H2 Console: stack traces are now links to the source code in the source repository (H2 database only).
@changelog_1048_li
@changelog_1051_li
CHAR data type equals comparison was case insensitive instead of case sensitive.
@changelog_1049_li
@changelog_1052_li
The exception 'Value too long for column' now includes the data.
@changelog_1050_li
@changelog_1053_li
The table name was missing in the documentation of CREATE INDEX.
@changelog_1051_li
@changelog_1054_li
Better support for IKVM (www.ikvm.net): the H2 Console now opens a browser window.
@changelog_1052_li
@changelog_1055_li
The cache size was not correctly calculated for tables with large objects (specially if compression is used). This could lead to out-of-memory exceptions.
@changelog_1053_li
@changelog_1056_li
The exception "Hexadecimal string contains non-hex character" was not always thrown when it should have been. Fixed.
@changelog_1054_li
@changelog_1057_li
The H2 Console now provides a link to the documentation when an error occurs (H2 databases only so far).
@changelog_1055_li
@changelog_1058_li
The acting as PostgreSQL server, when a base directory was set, and the H2 Console was started as well, the base directory was applied twice.
@changelog_1056_li
@changelog_1059_li
Calling EXTRACT(HOUR FROM ...) or EXTRACT(HH FROM ...) returned the wrong values (0 to 11 instead of 0 to 23). All other tested databases return values from 0 to 23. Please check if your application relies on the old behavior before upgrading.
@changelog_1057_li
@changelog_1060_li
For compatibility with other databases the column default (COLUMN_DEF) for columns without default is now null (it was an empty string).
@changelog_1058_li
@changelog_1061_li
Statements that contain very large subqueries (where the subquery result does not fit in memory) are now faster.
@changelog_1059_li
@changelog_1062_li
Variables: large objects (CLOB and BLOB) that don't fit in memory did not work correctly when used as variables.
@changelog_1060_li
@changelog_1063_li
Fulltext search is now supported in named in-memory databases.
@changelog_1061_li
@changelog_1064_li
H2 Console: multiple consecutive spaces in the setting name did not work. Fixed.
@changelog_1062_h2
@changelog_1065_h2
Version 1.0.65 (2008-01-18)
@changelog_1063_li
@changelog_1066_li
The build (ant) now automatically switches the source code to the correct version (JDK 1.4/1.5 or 1.6).
@changelog_1064_li
@changelog_1067_li
A recovery bug has been fixed. With older versions, it was necessary to add ;RECOVER=1 to the database URL in cases where it should not have been required.
@changelog_1065_li
@changelog_1068_li
The performance for DROP and DROP ALL OBJECTS has been improved.
@changelog_1066_li
@changelog_1069_li
The ChangePassword API has been improved.
@changelog_1067_li
@changelog_1070_li
User defined variables are now supported. Examples: SET @VAR=10;CALL @VAR. This can be used for running totals as in: select x, set(@t, ifnull(@t, 0) + x) from system_range(1, 10)
@changelog_1068_li
@changelog_1071_li
The Ukrainian translation has been improved.
@changelog_1069_li
@changelog_1072_li
CALL statements can now be used in batch updates and called using Statement.executeUpdate.
@changelog_1070_li
@changelog_1073_li
New read-only setting CREATE_BUILD (the build number of the database engine that created the database).
@changelog_1071_li
@changelog_1074_li
The optimizer did not use multi column indexes for range queries in some cases. Fixed.
@changelog_1072_li
@changelog_1075_li
The H2 Console now calls DataSource.getConnection() instead of DataSource.getConnection(user, password) when user name and password are not specified.
@changelog_1073_li
@changelog_1076_li
The bind IP address can now be set when using multi-homed host (if multiple network adapters are available) using the system property h2.bindAddress.
@changelog_1074_li
@changelog_1077_li
Batch update: Calling BatchUpdateException.printStackTrace() could result in out of memory. Fixed.
@changelog_1075_li
@changelog_1078_li
Indexes of unique or foreign constraints where not dropped when the constraint was dropped after altering the table (for example dropping a column). Fixed.
@changelog_1076_li
@changelog_1079_li
The performance for large result sets in the server mode has been improved.
@changelog_1077_li
@changelog_1080_li
The setting h2.serverSmallResultSetSize has been renamed to h2.serverResultSetFetchSize.
@changelog_1078_li
@changelog_1081_li
The SCRIPT command now uses multi-row insert statements to save space except if the option SIMPLE is used.
@changelog_1079_li
@changelog_1082_li
The SCRIPT command did not split up CLOB data correctly. Fixed.
@changelog_1080_li
@changelog_1083_li
Optimization for single column distinct queries with an index: select distinct name from test. Can be disabled by setting the system property h2.optimizeDistinct to false.
@changelog_1081_li
@changelog_1084_li
DROP ALL OBJECTS did not drop user defined aggregate functions and domains.
@changelog_1082_li
@changelog_1085_li
PostgreSQL compatibility: COUNT(T.*) is now supported.
@changelog_1083_li
@changelog_1086_li
LIKE comparisons are now faster.
@changelog_1084_li
@changelog_1087_li
Encrypted databases are now faster.
@changelog_1085_h2
@changelog_1088_h2
Version 1.0.64 (2007-12-27)
@changelog_1086_li
@changelog_1089_li
3-way union queries with prepared statement or views could return the wrong results. Fixed.
@changelog_1087_li
@changelog_1090_li
The PostgreSQL ODBC driver did not work in the last release due to a parser regression. Fixed.
@changelog_1088_li
@changelog_1091_li
CSV tool: some escape/separator character combinations did not work. Fixed.
@changelog_1089_li
@changelog_1092_li
CSV tool: the character # could not be used as a separator when reading.
@changelog_1090_li
@changelog_1093_li
Recovery: when the index file is corrupt, now the database deletes it and re-creates it automatically.
@changelog_1091_li
@changelog_1094_li
The MVCC mode did not work well with in-memory databases. Fixed.
@changelog_1092_li
@changelog_1095_li
The FTP server now supports a event listener. Thanks Fulvio Biondi for the help!
@changelog_1093_li
@changelog_1096_li
New system function CANCEL_SESSION to cancel the currently executing statement of another session.
@changelog_1094_li
@changelog_1097_li
The database now supports an exclusive mode. In exclusive mode, new connections are rejected.
@changelog_1095_li
@changelog_1098_li
H2 Console: when editing result sets, columns can now be set to null. The text 'null' must be escaped using '=null'.
@changelog_1096_li
@changelog_1099_li
New built-in functions RPAD and LPAD.
@changelog_1097_li
@changelog_1100_li
New meta data table INFORMATION_SCHEMA.SESSIONS and LOCKS to get information about active connections and locks. Admins will see all connections, non-admins only their own session.
@changelog_1098_li
@changelog_1101_li
The Ukrainian translation was not working in the last release. Fixed.
@changelog_1099_li
@changelog_1102_li
Creating many tables (many hundreds) was slow. Fixed.
@changelog_1100_li
@changelog_1103_li
Opening a database with many indexes (thousands) was slow. Fixed.
@changelog_1101_li
@changelog_1104_li
H2 Console / autocomplete: Ctrl+Space now shows the list in all modes.
@changelog_1102_li
@changelog_1105_li
The method Trigger.init has been changed: the parameters 'before' and 'type', have been added to the init method.
@changelog_1103_li
@changelog_1106_li
The performance has been improved for ResultSet methods with column name.
@changelog_1104_li
@changelog_1107_li
A stack trace was thrown if the system did not provide a quick secure random source and if there is no network or the network settings are not configured. Fixed.
@changelog_1105_li
@changelog_1108_li
The H2 Console has been translated to Turkish. Thanks a lot to Ridvan Agar!
@changelog_1106_li
@changelog_1109_li
Improved debugging support: toString methods of most object now return a meaningful text.
@changelog_1107_li
@changelog_1110_li
The classes DbStarter and WebServlet have been moved to src/main.
@changelog_1108_li
@changelog_1111_li
The column INFORMATION_SCHEMA.TRIGGERS.SQL now contains the CREATE TRIGGER statement.
@changelog_1109_li
@changelog_1112_li
Loading classes and calling methods can be restricted using the new system property h2.allowedClasses.
@changelog_1110_li
@changelog_1113_li
The database could not be used in Java applets due to security exceptions. Fixed.
@changelog_1111_h2
@changelog_1114_h2
Version 1.0.63 (2007-12-02)
@changelog_1112_li
@changelog_1115_li
The SecurePassword example has been improved.
@changelog_1113_li
@changelog_1116_li
In timezones where the summer time saving limit is at midnight, some dates do not work in some virtual machines, for example 2007-10-14 in Chile, using the Sun JVM 1.6.0_03-b05. Fixed.
@changelog_1114_li
@changelog_1117_li
The native fulltext search was not working properly after re-connecting.
@changelog_1115_li
@changelog_1118_li
Improved FTP server: now the PORT command is supported.
@changelog_1116_li
@changelog_1119_li
Temporary views (FROM(...)) with UNION didn't work if nested. Fixed.
@changelog_1117_li
@changelog_1120_li
Performance optimization for IN(...) and IN(SELECT...), currently disabled by default. To enable, use java -Dh2.optimizeInJoin=true
@changelog_1118_li
@changelog_1121_li
The H2 Console has been translated to Ukrainian by Igor Dobrovolskyi. Thanks a lot!
@changelog_1119_li
@changelog_1122_li
New function TABLE_DISTINCT.
@changelog_1120_li
@changelog_1123_li
Using LIMIT with values close to Integer.MAX_VALUE didn't work correctly.
@changelog_1121_li
@changelog_1124_li
Certain setting in the Server didn't work (http://code.google.com/p/h2database/issues/detail?id=7).
@changelog_1122_h2
@changelog_1125_h2
Version 1.0.62 (2007-11-25)
@changelog_1123_li
@changelog_1126_li
Large updates and deletes are now supported by buffering data to disk if required. The threshold is currently set to 100'000 bytes and can be changed using SET MAX_OPERATION_MEMORY or using by appending ;MAX_OPERATION_MEMORY=.. to the database URL. See also the docs.
@changelog_1124_li
@changelog_1127_li
MVCC: now an exception is thrown when an application tries to change the MVCC setting while the database is already open.
@changelog_1125_li
@changelog_1128_li
Referential integrity checks didn't lock the referenced table, and thus could read uncommitted rows of other connections. In that way the referential constraints could get violated (except when using MVCC).
@changelog_1126_li
@changelog_1129_li
Renaming or dropping a user with a schema, or removing the admin property of that user made the schema inaccessible after re-opening the database. Fixed.
@changelog_1127_li
@changelog_1130_li
The H2 Console now also support the command line option -ifExists when started from the Server tool, but only when connecting to H2 databases.
@changelog_1128_li
@changelog_1131_li
Duplicate column names were not detected when renaming columns. Fixed.
@changelog_1129_li
@changelog_1132_li
The console did not display multiple embedded spaces in text correctly. Fixed.
@changelog_1130_li
@changelog_1133_li
Google Android support: use 'ant codeswitchAndroid' to switch the source code to Android.
@changelog_1131_li
@changelog_1134_li
Values of type ARRAY are now sorted as in PostgreSQL.
@changelog_1132_li
@changelog_1135_li
In the cluster mode, could not connect if only one server was running (last release only). Fixed.
@changelog_1133_li
@changelog_1136_li
The performance of large CSV operations has been improved.
@changelog_1134_li
@changelog_1137_li
Now using custom toString() for most JDBC objects and commands.
@changelog_1135_li
@changelog_1138_li
Nested temporary views (SELECT * FROM (SELECT ...)) with parameters didn't work in some cases. Fixed.
@changelog_1136_li
@changelog_1139_li
CSV: Using an empty field delimiter didn't work (a workaround was using char(0)). Fixed.
@changelog_1137_li
@changelog_1140_li
A patch for Apache DDL Utils is available at https://issues.apache.org/jira/browse/DDLUTILS-185
@changelog_1138_li
@changelog_1141_li
The default value for h2.emergencySpaceInitial is now 256 KB (to speed up creating encrypted databases)
@changelog_1139_li
@changelog_1142_li
Eduardo Velasques has translated the H2 Console and the error messages to Brazilian Portuguese. Thanks a lot!
@changelog_1140_li
@changelog_1143_li
Creating a table from GROUP_CONCAT didn't work if the data was longer than 255 characters
@changelog_1141_h2
@changelog_1144_h2
Version 1.0.61 (2007-11-10)
@changelog_1142_li
@changelog_1145_li
The Lucene Fulltext implementation is now compiled and included in the h2.jar. Requires Lucene 2.2.
@changelog_1143_li
@changelog_1146_li
Added more tests. The code coverage is now at 83%.
@changelog_1144_li
@changelog_1147_li
ResultSetMetaData.getColumnDisplaySize was calculated as the longest display size for the given result set, but should be the maximum size that fits in the column. Fixed.
@changelog_1145_li
@changelog_1148_li
The MODE used to be a global setting, now it is a database level setting.
@changelog_1146_li
@changelog_1149_li
The database does now always round to the nearest number when converting a floating point to a integer: CAST(1.5 AS INT) will now result in 2, like in PostgreSQL and MySQL.
@changelog_1147_li
@changelog_1150_li
Math operations using unknown data types (for example -? and ?+?) are now interpreted as decimal.
@changelog_1148_li
@changelog_1151_li
INSTR, LOCATE: backward searching is not supported by using a negative start position.
@changelog_1149_li
@changelog_1152_li
Can now open a database stored in a jar or zip file (for example, jdbc:h2:zip:c:/temp/h2.zip!/test).
@changelog_1150_li
@changelog_1153_li
Files access now uses an API (FileSystem, FileObject), this will simplify adding other file systems and features (for example replication).
@changelog_1151_li
@changelog_1154_li
Vlad Alexahin has translated H2 Console to Russian. Thanks a lot!
@changelog_1152_li
@changelog_1155_li
Descending indexes are now supported. This is useful when sorting columns descending, for example by creation date.
@changelog_1153_li
@changelog_1156_li
Solved a Java level deadlock in the DatabaseCloser.
@changelog_1154_li
@changelog_1157_li
CREATE SEQUENCE: New option CACHE (number of pre-allocated numbers). New column CACHE in the sequence meta data table. The default cache size is still 32.
@changelog_1155_li
@changelog_1158_li
MVCC: The system property h2.mvcc has been removed. A few bugs have been fixed, and new tests have been added.
@changelog_1156_h2
@changelog_1159_h2
Version 1.0.60 (2007-10-20)
@changelog_1157_li
@changelog_1160_li
JdbcXAConnection: starting a transaction before getting the connection didn't switch off autocommit.
@changelog_1158_li
@changelog_1161_li
User defined aggregate functions are not supported.
@changelog_1159_li
@changelog_1162_li
Server.shutdownTcpServer was blocked when first called with force=false and then force=true. Now documentation is improved, and it is no longer blocked.
@changelog_1160_li
@changelog_1163_li
Stack traces did not include the SQL statement in all cases where they could have. Also, stack traces with SQL statement are now shorter.
@changelog_1161_li
@changelog_1164_li
Linked tables: now tables in non-default schemas are supported as well
@changelog_1162_li
@changelog_1165_li
New Italian translation from PierPaolo Ucchino. Thanks a lot!
@changelog_1163_li
@changelog_1166_li
CSV: New methods to set the escape character and field delimiter in the Csv tool and the CSVWRITE and CSVREAD methods.
@changelog_1164_li
@changelog_1167_li
Prepared statements could not be used after data definition statements (creating tables and so on). Fixed.
@changelog_1165_li
@changelog_1168_li
PreparedStatement.setMaxRows could not be changed to a higher value after the statement was executed.
@changelog_1166_li
@changelog_1169_li
The H2 Console could not connect twice to the same H2 embedded database at the same time. Fixed.
@changelog_1167_li
@changelog_1170_li
CSVREAD, RUNSCRIPT and so on now support URLs as well, using URL.openStream(). Example: select * from csvread('jar:file:///c:/temp/test.jar!/test.csv');
@changelog_1168_h2
@changelog_1171_h2
Version 1.0.59 (2007-10-03)
@changelog_1169_li
@changelog_1172_li
When the data type was unknown in a subquery, sometimes the wrong exception (ArrayIndexOutOfBounds) was thrown. Fixed.
@changelog_1170_li
@changelog_1173_li
If the process was killed while the database was running, sometimes the database could not be opened ('double allocation') except when the system property h2.check was set to false. Fixed.
@changelog_1171_li
@changelog_1174_li
Multi-threaded kernel (MULTI_THREADED=1): A synchronization problem has been fixed.
@changelog_1172_li
@changelog_1175_li
A PreparedStatement that was cancelled could not be reused. Fixed.
@changelog_1173_li
@changelog_1176_li
H2 Console: Progress information when logging into a H2 embedded database (useful when opening a database is slow).
@changelog_1174_li
@changelog_1177_li
When the database was closed while logging was disabled (LOG 0), re-opening the database was slow. Fixed.
@changelog_1175_li
@changelog_1178_li
Fulltext search is now documented (in the Tutorial).
@changelog_1176_li
@changelog_1179_li
The Console did not refresh the table list if the CREATE TABLE statement started with a comment. Fixed.
@changelog_1177_li
@changelog_1180_li
When creating a table using CREATE TABLE .. AS SELECT, the precision for some data types (for example VARCHAR) was set to the default precision. Fixed.
@changelog_1178_li
@changelog_1181_li
When using the (undocumented) in-memory file system (jdbc:h2:memFS:x or jdbc:h2:memLZF:x), and using multiple connections, a ConcurrentModificationException could occur. Fixed.
@changelog_1179_li
@changelog_1182_li
REGEXP compatibility: So far String.matches was used, but for compatibility with MySQL, now Matcher.find is used.
@changelog_1180_li
@changelog_1183_li
SCRIPT: the SQL statements in the result set now include the terminating semicolon as well. Simplifies copy and paste.
@changelog_1181_li
@changelog_1184_li
When using a subquery with group by as a table, some columns could not be used in the where condition in the outer query. Example: SELECT * FROM (SELECT ID, COUNT(*) C FROM TEST) WHERE C > 100. Fixed.
@changelog_1182_li
@changelog_1185_li
Views with subqueries as tables and queries with nested subqueries as tables did not always work. Fixed.
@changelog_1183_li
@changelog_1186_li
Compatibility: comparing columns with constants that are out of range does not throw an exception.
@changelog_1184_h2
@changelog_1187_h2
Version 1.0.58 (2007-09-15)
@changelog_1185_li
@changelog_1188_li
System.exit is no longer called by the WebServer, the Console and the Server tool (except to set the exit code if required). This is important when using OSGi.
@changelog_1186_li
@changelog_1189_li
Optimization for independent subqueries. For example, this query can now an index: SELECT * FROM TEST WHERE ID = (SELECT MAX(ID) FROM TEST) This can be disabled by setting the system property h2.optimizeSubqueryCache to false.
@changelog_1187_li
@changelog_1190_li
The explain plan now says: /* direct lookup query */ if the query can be processed directly without reading rows, for example when using MIN(indexed column), MAX(indexed column), or COUNT(*).
@changelog_1188_li
@changelog_1191_li
When using IFNULL, NULLIF, COALESCE, LEAST, or GREATEST, and the first parameter was ?, an exception was thrown. Now the highest data type of all parameters is used.
@changelog_1189_li
@changelog_1192_li
When comparing TINYINT or SMALLINT columns against constants, the index was not used. Fixed.
@changelog_1190_li
@changelog_1193_li
Maven 2: new version are now automatically synced with the central repositories.
@changelog_1191_li
@changelog_1194_li
The default value for MAX_MEMORY_UNDO is now 100000.
@changelog_1192_li
@changelog_1195_li
The documentation indexer does no longer index Japanese pages. If somebody knows how to split Japanese into words please post it.
@changelog_1193_li
@changelog_1196_li
Oracle compatibility: SYSDATE now returns a timestamp. CHR(..) is now an alias for CHAR(..).
@changelog_1194_li
@changelog_1197_li
After deleting data, empty space in the database files was not efficiently reused (but it was reused when opening the database). This has been fixed.
@changelog_1195_li
@changelog_1198_li
About 230 bytes per database was leaked. This is a problem for applications opening and closing many thousand databases. The main problem: a shutdown hook was added but never removed. Fixed. In JDK 1.4, there is <a href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4197876">an additionally problem</a> . A workaround has been implemented.
@changelog_1196_li
@changelog_1199_li
Optimization for COLUMN IN(.., NULL) if the column does not allow NULL values.
@changelog_1197_li
@changelog_1200_li
Using spaces in column and table aliases was not supported when used inside a view or temporary view.
@changelog_1198_li
@changelog_1201_li
The version (build) number is now included in the manifest file.
@changelog_1199_li
@changelog_1202_li
In some systems, SecureRandom.generateSeed is very slow (taking one minute or more). For those cases, an alternative method is used that takes less than one second.
@changelog_1200_li
@changelog_1203_li
The database file sizes are now increased at most 32 MB at any time.
@changelog_1201_li
@changelog_1204_li
New method DatabaseEventListener.opened that is called just after opening a database.
@changelog_1202_li
@changelog_1205_li
When using the Console with Internet Explorer 6.0 or 7.0, a Javascript error was thrown after clearing the query.
@changelog_1203_li
@changelog_1206_li
A database can now be opened even if class of a user defined function is not in the classpath. Trying to call the function will throws an exception.
@changelog_1204_li
@changelog_1207_li
User defined functions and constants may not overload built-in functions and constants. This didn't work before, but now trying to create such an object will fail.
@changelog_1205_li
@changelog_1208_li
Improved MultiDimension tool (for spatial queries): in the last few releases the tool was actually slower than using a regular query (because index lookup got faster, and because the tool didn't support prepared statements) Now the tool generates prepared statements, and the performance is better again (about 5 times faster for a reasonable amount of data).
@changelog_1206_li
@changelog_1209_li
Adding a foreign key or when re-enabling referential integrity for a table failed when checking was enabled and the reference contained NULL.
@changelog_1207_li
@changelog_1210_li
For PgServer, character encoding other than UTF-8 did not work correctly. Fixed.
@changelog_1208_li
@changelog_1211_li
Using a function in a GROUP BY expression that is used in a view as a condition did not always work.
@changelog_1209_h2
@changelog_1212_h2
Version 1.0.57 (2007-08-25)
@changelog_1210_li
@changelog_1213_li
New experimental feature MVCC (multi version concurrency control). Can be set as a option when opening the database (jdbc:h2:test;MVCC=TRUE) or as a system property (-Dh2.mvcc=true). This is work-in-progress, use it at your own risk. Feedback is welcome.
@changelog_1211_li
@changelog_1214_li
The version number is now major.minor.micro where micro is the build number. Not all version are public, so there may be gaps in the micro. The minor changes when there is a file format change.
@changelog_1212_li
@changelog_1215_li
The backup tool (org.h2.tools.Backup) did not work. The restore tool did not work when the -db parameter was used. Fixed. The documentation of the backup tool has been changed: only one database may be backed up at any time.
@changelog_1213_li
@changelog_1216_li
Opening large read-only databases was very slow. Fixed.
@changelog_1214_li
@changelog_1217_li
New Japanese translation of the error messages thanks to Ikemoto Masahiro. Thanks a lot!
@changelog_1215_li
@changelog_1218_li
Disabling / enabling referential integrity for a table can now be used inside a transaction.
@changelog_1216_li
@changelog_1219_li
Rights checking for dynamic tables (SELECT * FROM (SELECT ...)) did not work. Fixed.
@changelog_1217_li
@changelog_1220_li
Creating more than 10 views that depend on each other was very slow. Reconnecting was slow as well. Fixed.
@changelog_1218_li
@changelog_1221_li
When used as as Servlet, the H2 Console did not work with SSL (using Tomcat). Fixed.
@changelog_1219_li
@changelog_1222_li
When altering a table with foreign key constraint, if there was no manual index created for the referenced columns, the automatically created index was dropped while still being used. Fixed.
@changelog_1220_li
@changelog_1223_li
Check and foreign key constraints now checks if the existing data is consistent (this can be disabled by appending NOCHECK). It is also possible to check existing data when re-enabling referential integrity for a table.
@changelog_1221_li
@changelog_1224_li
Some unit tests failed on Linux because the file system works differently. The unit tests are fixed and should work now.
@changelog_1222_li
@changelog_1225_li
Can now incrementally translate the documentation. See also FAQ.
@changelog_1223_li
@changelog_1226_li
Improved error messages: some tools can't show the root cause of an exception. Adding the message of the root cause to the message of the thrown exception now where it makes sense.
@changelog_1224_li
@changelog_1227_li
The H2 Console can now connect to databases using JNDI. The driver class name must be a javax.naming.Context, (for example javax.naming.InitialContext), and the URL the resource name (for example java:comp/env/jdbc/Test). This should also work for linked tables.
@changelog_1225_li
@changelog_1228_li
Google translate did not work for the H2 homepage. It should be fixed now.
@changelog_1226_li
@changelog_1229_li
The CONVERT function did not work with views when using UNION.
@changelog_1227_li
@changelog_1230_li
The build now issues a warning if the source code is switched to the wrong version.
@changelog_1228_li
@changelog_1231_li
The default lock mode is now read committed instead of serialized.
@changelog_1229_li
@changelog_1232_li
PG server: data was truncated when reading large VARCHAR columns and decimal columns.
@changelog_1230_li
@changelog_1233_li
PG server: when the same database was accessed multiple times using the PostgreSQL ODBC driver, the pg_catalog schema update failed, and connecting to the database was not possible. Fixed.
@changelog_1231_li
@changelog_1234_li
Some file operations didn't work for files in the root directory. Fixed.
@changelog_1232_li
@changelog_1235_li
In the Restore tool, the parameter -file did not work. Fixed.
@changelog_1233_li
@changelog_1236_li
Two-phase commit: commit with transaction name was only supported in the recovery scan. Now it is always supported.
@changelog_1234_li
@changelog_1237_li
The column name C_CURRENT_TIMESTAMP did not work in the last release.
@changelog_1235_li
@changelog_1238_li
OpenOffice compatibility: support database name in column names.
@changelog_1236_h2
@changelog_1239_h2
Version 1.0.56 (2007-08-02)
@changelog_1237_li
@changelog_1240_li
A new tool to help translation has been implemented: src/tools/org/h2/tools/i18n/PrepareTranslation. This tool can detect delta changes in the original (English) and prepends '#' in translation if the original text was changed. It can also extract text from the user documentation (however, it is incomplete).
@changelog_1238_li
@changelog_1241_li
The error messages (src/main/org/h2/res/_*.*) can now be translated.
@changelog_1239_li
@changelog_1242_li
Part of the documentation has been translated to Japanese by Yusuke Fukushima.
@changelog_1240_li
@changelog_1243_li
Some Unicode characters where not supported as identifier name. Thanks Yusuke Fukushima for reporting this problem.
@changelog_1241_li
@changelog_1244_li
The default value DEFAULT_MAX_LENGTH_INPLACE_LOB has been changed from 128 to 1024.
@changelog_1242_li
@changelog_1245_li
A server that implements the PostgreSQL protocol is now included and documented. That means, the PostgreSQL ODBC driver can be used to access a H2 database. See in the documentation for details.
@changelog_1243_li
@changelog_1246_li
The experimental H2 ODBC driver has been removed.
@changelog_1244_li
@changelog_1247_li
The default value for h2.defaultMaxMemoryUndo is now 50000. This avoids out of memory problems when using large transactions, however large transactions are slower because they are buffered to disk. To disable, use -Dh2.defaultMaxMemoryUndo=2000000000.
@changelog_1245_li
@changelog_1248_li
Support for regular expression function REGEXP_REPLACE(expression, regex, replacement) and regular expression LIKE: expression REGEXP matchExpression. However, indexes are not yet used.
@changelog_1246_li
@changelog_1249_li
The old view implementation has been removed.
@changelog_1247_li
@changelog_1250_li
The SysTray tool has been removed, because JDK 1.6 has native support for system tray icons. Use the Console tool (org.h2.tools.Console) automatically installs a system tray icon if JDK 1.6 is used.
@changelog_1248_li
@changelog_1251_li
H2 Console: In the last release, the shutdown button did not work. Fixed.
@changelog_1249_li
@changelog_1252_li
Referential integrity can now be disabled using SET REFERENTIAL_INTEGRITY FALSE. It can also be disable only for one table using ALTER TABLE SET REFERENTIAL_INTEGRITY FALSE.
@changelog_1250_li
@changelog_1253_li
The Backup and Restore tools, and the BACKUP command did not back up LOBs when h2.lobFilesInDirectories was enabled. Fixed.
@changelog_1251_li
@changelog_1254_li
Calculation of cache memory usage has been improved.
@changelog_1252_li
@changelog_1255_li
In some situations record were released too late from the cache. Fixed.
@changelog_1253_li
@changelog_1256_li
The cache size is now measured in KB instead of blocks of 128 byte.
@changelog_1254_li
@changelog_1257_li
CREATE TABLE ... AS SELECT now needs less memory. While inserting the rows, the undo log is temporarily disabled. This avoid out of memory problems when creating large tables.
@changelog_1255_li
@changelog_1258_li
The per session undo log can now be disabled. This setting is useful for bulk operations that don't need to be atomic, like bulk delete or update.
@changelog_1256_li
@changelog_1259_li
The database file could get corrupted when there was an OutOfMemoryException in the middle of inserting a row.
@changelog_1257_li
@changelog_1260_li
Optimization for WHERE NOT(...) and WHERE [NOT] booleanFlagColumn. This can be disabled using the system property h2.optimizeNot.
@changelog_1258_li
@changelog_1261_li
Optimization for conditions like WHERE A=B AND B=X (A=X is added). This often appears in joins. This can be disabled using the system property h2.optimizeTwoEquals.
@changelog_1259_li
@changelog_1262_li
Documentation: the source code in 'Compacting a Database' was incorrect. Fixed.
@changelog_1260_li
@changelog_1263_li
In the H2 Console, result sets could not be modified because the default result set type is now forward only. For H2, now uses scrollable result sets. Also for other databases, but only when the query starts with @EDIT.
@changelog_1261_li
@changelog_1264_li
Views using UNION did not work correctly. Fixed.
@changelog_1262_li
@changelog_1265_li
Function tables did not work with views and EXPLAIN. Fixed.
@download_1000_h1
Downloads
@download_1001_h3
Version 1.0.67 (2008-02-22, Current)
Version 1.0.67 (2008-03-14, Current)
@download_1002_a
Windows Installer
......@@ -1754,7 +1763,7 @@ Windows Installer
Platform-Independent Zip
@download_1004_h3
Version 1.0.66 (2008-02-02, Last Stable)
Version 1.0.66 (2008-02-22, Last Stable)
@download_1005_a
Windows Installer
......@@ -3844,346 +3853,361 @@ Exhibit A
@links_1000_h1
H2 In Use and Links
@links_1001_h2
@links_1001_p
Those are just a few links to products using or supporting H2. If you want to add a link, please send it to the support email address or post it in the group.
@links_1002_h2
Books
@links_1002_a
@links_1003_a
Seam In Action
@links_1003_h2
@links_1004_h2
Extensions
@links_1004_a
@links_1005_a
Spatial capabilities
@links_1005_h2
@links_1006_h2
Blogs
@links_1006_a
@links_1007_a
Testing your JDBC data access layer with DBUnit and H2 (2007-09-18)
@links_1007_a
@links_1008_a
Open Source Databases Comparison (2007-09-11)
@links_1008_a
@links_1009_a
The Codist: The Open Source Frameworks I Use (2007-07-23)
@links_1009_a
@links_1010_a
The Codist: SQL Injections: How Not To Get Stuck (2007-05-08)
@links_1010_a
@links_1011_a
One Man Band: (Helma + H2) == "to easy" (2007-03-11)
@links_1011_a
@links_1012_a
David Coldrick's Weblog: New Version of H2 Database Released (2007-01-06)
@links_1012_a
@links_1013_a
The Codist: Write Your Own Database, Again (2006-11-13)
@links_1013_h2
@links_1014_h2
Project Pages
@links_1014_a
@links_1015_a
Ohloh
@links_1015_a
@links_1016_a
Freshmeat Project Page
@links_1016_a
@links_1017_a
Wikipedia
@links_1017_a
@links_1018_a
OSZone
@links_1018_a
@links_1019_a
Java Source Net
@links_1019_a
@links_1020_a
Linux Package Manager
@links_1020_h2
@links_1021_h2
Products and Projects
@links_1021_a
@links_1022_a
Apache Cayenne
@links_1022_p
@links_1023_p
Open source persistence framework providing object-relational mapping (ORM) and remoting services.
@links_1023_a
@links_1024_a
Apache Jackrabbit
@links_1024_p
@links_1025_p
Open source implementation of the Java Content Repository API (JCR).
@links_1025_a
@links_1026_a
Apache OpenJPA
@links_1026_p
@links_1027_p
Open source implementation of the Java Persistence API (JPA).
@links_1027_a
@links_1028_a
AppFuse
@links_1028_p
@links_1029_p
Helps building web applications.
@links_1029_a
@links_1030_a
Blojsom
@links_1030_p
@links_1031_p
Java-based multi-blog, multi-user software package (Mac OS X Weblog Server)
@links_1031_a
@links_1032_a
Bookmarks Portlet
@links_1032_p
@links_1033_p
JSR168 compliant bookmarks management portlet application.
@links_1033_a
@links_1034_a
Claros inTouch
@links_1034_p
@links_1035_p
Ajax communication suite with mail, addresses, notes, IM, and rss reader.
@links_1035_a
@links_1036_a
CrashPlan PRO Server
@links_1037_p
Easy and cross platform backup solution for business and service providers.
@links_1038_a
DB Solo
@links_1036_p
@links_1039_p
SQL query tool.
@links_1037_a
@links_1040_a
DbVisualizer
@links_1038_p
@links_1041_p
Database tool.
@links_1039_a
@links_1042_a
Execute Query
@links_1040_p
@links_1043_p
Database utility written in Java.
@links_1041_a
@links_1044_a
Golden T Studios
@links_1042_p
@links_1045_p
Fun-to-play games with a simple interface.
@links_1043_a
@links_1046_a
HA-JDBC
@links_1044_p
@links_1047_p
High-Availability JDBC: A JDBC proxy that provides light-weight, transparent, fault tolerant clustering capability to any underlying JDBC driver.
@links_1045_a
@links_1048_a
HenPlus
@links_1046_p
@links_1049_p
HenPlus is a SQL shell written in Java.
@links_1047_a
@links_1050_a
Hibernate
@links_1048_p
@links_1051_p
Relational persistence for idiomatic Java (O-R mapping tool).
@links_1049_a
@links_1052_a
Hibicius
@links_1050_p
@links_1053_p
Online Banking Client for the HBCI protocol
@links_1051_a
@links_1054_a
H2 Spatial
@links_1052_p
@links_1055_p
A project to add spatial functions to H2 database.
@links_1053_a
@links_1056_a
JAMWiki
@links_1054_p
@links_1057_p
Java-based Wiki engine.
@links_1055_a
@links_1058_a
Jala
@links_1056_p
@links_1059_p
Open source collection of JavaScript modules
@links_1057_a
@links_1060_a
JavaPlayer
@links_1058_p
@links_1061_p
Pure Java MP3 player.
@links_1059_a
@links_1062_a
JMatter
@links_1060_p
@links_1063_p
Framework for constructing workgroup business applications based on the Naked Objects Architectural Pattern.
@links_1061_a
@links_1064_a
JPOX
@links_1062_p
@links_1065_p
Java persistent objects.
@links_1063_a
@links_1066_a
Liftweb
@links_1064_p
@links_1067_p
A Scala-based, secure, developer friendly web framework
@links_1065_a
@links_1068_a
LiquiBase
@links_1066_p
@links_1069_p
A tool to manage database changes and refactorings.
@links_1067_a
@links_1070_a
Luntbuild
@links_1068_p
@links_1071_p
Build automation and management tool.
@links_1069_a
@links_1072_a
MiniConnectionPoolManager
@links_1073_p
A lightweight standalone JDBC connection pool manager.
@links_1074_a
Mr. Persister
@links_1070_p
@links_1075_p
Simple, small and fast object relational mapping.
@links_1071_a
@links_1076_a
Myna Application Server
@links_1072_p
@links_1077_p
Java web app that provides dynamic web content and Java libraries access from JavaScript.
@links_1073_a
@links_1078_a
MyTunesRss
@links_1074_p
@links_1079_p
MyTunesRSS lets you listen to your music wherever you are.
@links_1075_a
@links_1080_a
NCGC CurveFit
@links_1076_p
@links_1081_p
From: NIH Chemical Genomics Center, National Institutes of Health, USA. An open source application in the life sciences research field. This application handles chemical structures and biological responses of thousands of compounds with the potential to handle million+ compounds. It utilizes an embedded H2 database to enable flexible query/retrieval of all data including advanced chemical substructure and similarity searching. The application highlights an automated curve fitting and classification algorithm that outperforms commercial packages in the field. Commercial alternatives are typically small desktop software that handle a few dose response curves at a time. A couple of commercial packages that do handle several thousand curves are very expensive tools (&gt;60k USD) that require manual curation of analysis by the user; require a license to Oracle; lack advanced query/retrieval; and the ability to handle chemical structures.
@links_1077_a
@links_1082_a
Orion
@links_1078_p
@links_1083_p
J2EE Application Server.
@links_1079_a
@links_1084_a
PolePosition
@links_1080_p
@links_1085_p
Open source database benchmark.
@links_1081_a
@links_1086_a
Scriptella
@links_1082_p
@links_1087_p
ETL (Extract-Transform-Load) and script execution tool.
@links_1083_a
@links_1088_a
Sesar
@links_1084_p
@links_1089_p
Dependency Injection Container with Aspect Oriented Programming
@links_1085_a
@links_1090_a
SemmleCode
@links_1086_p
@links_1091_p
Eclipse plugin to help you improve software quality.
@links_1087_a
@links_1092_a
Shellbook
@links_1088_p
@links_1093_p
Desktop publishing application.
@links_1089_a
@links_1094_a
Signsoft intelliBO
@links_1090_p
@links_1095_p
Persistence middleware supporting the JDO specification.
@links_1091_a
@links_1096_a
SmartFoxServer
@links_1092_p
@links_1097_p
Platform for developing multiuser applications and games with Macromedia Flash.
@links_1093_a
@links_1098_a
SQL Developer
@links_1094_p
@links_1099_p
Universal Database Frontend.
@links_1095_a
@links_1100_a
SQL Workbench/J
@links_1096_p
@links_1101_p
Free DBMS-independent SQL tool.
@links_1097_a
@links_1102_a
SQuirreL SQL Client
@links_1098_p
@links_1103_p
Graphical tool to view the structure of a database, browse the data, issue SQL commands etc.
@links_1099_a
@links_1104_a
SQuirreL DB Copy Plugin
@links_1100_p
@links_1105_p
Tool to copy data from one database to another.
@links_1101_a
@links_1106_a
StorYBook
@links_1102_p
@links_1107_p
A summary-based tool for novelist and script writers. It helps to keep the overview over the various traces a story has.
@links_1103_a
@links_1108_a
StreamCruncher
@links_1104_p
@links_1109_p
Event (stream) processing kernel.
@links_1105_a
@links_1110_a
Tamava
@links_1106_p
@links_1111_p
Newsgroups Reader.
@links_1107_a
@links_1112_a
Tune Backup
@links_1108_p
@links_1113_p
Easy-to-use backup solution for your iTunes library.
@links_1109_a
@links_1114_a
Web of Web
@links_1110_p
@links_1115_p
Collaborative and realtime interactive media platform for the web.
@links_1111_a
@links_1116_a
Werkzeugkasten
@links_1112_p
@links_1117_p
Minimum Java Toolset.
@links_1113_a
@links_1118_a
Volunteer database
@links_1114_p
@links_1119_p
A database front end to register volunteers, partnership and donation for a Non Profit organization.
@mainWeb_1000_h1
......@@ -4208,7 +4232,7 @@ JDBC and (partial) ODBC API; Web Client application
Download
@mainWeb_1007_td
Version 1.0.67 (2008-02-22):
Version 1.0.68 (2008-03-14):
@mainWeb_1008_a
Windows Installer (2.9 MB)
......@@ -5693,766 +5717,766 @@ Better space re-use in the files after deleting data (shrink the files)
Shrink the data file without closing the database (if the end of the file is empty)
@roadmap_1032_li
Full outer joins
ParameterMetaData should return correct data type where possible (INSERT, UPDATE; supported by PostgreSQL, Derby, HSQLDB)
@roadmap_1033_li
Procedural language / script language (Javascript)
Full outer joins
@roadmap_1034_li
Change LOB mechanism (less files, keep index of lob files, point to files and row, delete unused files earlier, maybe bundle files into a tar file)
Procedural language / script language (Javascript)
@roadmap_1035_li
Clustering: recovery needs to becomes fully automatic. Global write lock feature.
Change LOB mechanism (less files, keep index of lob files, point to files and row, delete unused files earlier, maybe bundle files into a tar file)
@roadmap_1036_li
Deferred integrity checking (DEFERRABLE INITIALLY DEFERRED)
Clustering: recovery needs to becomes fully automatic. Global write lock feature.
@roadmap_1037_li
Groovy Stored Procedures (http://groovy.codehaus.org/Groovy+SQL)
Deferred integrity checking (DEFERRABLE INITIALLY DEFERRED)
@roadmap_1038_li
System table / function: cache usage
Groovy Stored Procedures (http://groovy.codehaus.org/Groovy+SQL)
@roadmap_1039_li
Add a migration guide (list differences between databases)
System table / function: cache usage
@roadmap_1040_li
Optimization: automatic index creation suggestion using the trace file?
Add a migration guide (list differences between databases)
@roadmap_1041_li
Compression performance: don't allocate buffers, compress / expand in to out buffer
Optimization: automatic index creation suggestion using the trace file?
@roadmap_1042_li
Connection pool manager
Compression performance: don't allocate buffers, compress / expand in to out buffer
@roadmap_1043_li
Implement Statement.cancel for server connections
Connection pool manager
@roadmap_1044_li
Start / stop server with database URL
Implement Statement.cancel for server connections
@roadmap_1045_li
Sequence: add features [NO] MINVALUE, MAXVALUE, CYCLE
Start / stop server with database URL
@roadmap_1046_li
Rebuild index functionality (other than delete the index file)
Sequence: add features [NO] MINVALUE, MAXVALUE, CYCLE
@roadmap_1047_li
Don't use deleteOnExit (bug 4513817: File.deleteOnExit consumes memory)
Rebuild index functionality (other than delete the index file)
@roadmap_1048_li
Console: add accesskey to most important commands (A, AREA, BUTTON, INPUT, LABEL, LEGEND, TEXTAREA)
Don't use deleteOnExit (bug 4513817: File.deleteOnExit consumes memory)
@roadmap_1049_li
Feature: a setting to delete the the log or not (for backup)
Console: add accesskey to most important commands (A, AREA, BUTTON, INPUT, LABEL, LEGEND, TEXTAREA)
@roadmap_1050_li
Test with Sun ASPE1_4; JEE Sun AS PE1.4
Feature: a setting to delete the the log or not (for backup)
@roadmap_1051_li
Test performance again with SQL Server, Oracle, DB2
Test with Sun ASPE1_4; JEE Sun AS PE1.4
@roadmap_1052_li
Test with dbmonster (http://dbmonster.kernelpanic.pl/)
Test performance again with SQL Server, Oracle, DB2
@roadmap_1053_li
Test with dbcopy (http://dbcopyplugin.sourceforge.net)
Test with dbmonster (http://dbmonster.kernelpanic.pl/)
@roadmap_1054_li
Find a tool to view a text file >100 MB, with find, page up and down (like less)
Test with dbcopy (http://dbcopyplugin.sourceforge.net)
@roadmap_1055_li
Implement, test, document XAConnection and so on
Find a tool to view a text file >100 MB, with find, page up and down (like less)
@roadmap_1056_li
Web site: meta keywords, description, get rid of frame set
Implement, test, document XAConnection and so on
@roadmap_1057_li
Pluggable data type (for compression, validation, conversion, encryption)
Web site: meta keywords, description, get rid of frame set
@roadmap_1058_li
CHECK: find out what makes CHECK=TRUE slow, move to CHECK2
Pluggable data type (for compression, validation, conversion, encryption)
@roadmap_1059_li
Improve recovery: improve code for log recovery problems (less try/catch)
CHECK: find out what makes CHECK=TRUE slow, move to CHECK2
@roadmap_1060_li
Log linear hash index changes, fast open / close
Improve recovery: improve code for log recovery problems (less try/catch)
@roadmap_1061_li
Index usage for (ID, NAME)=(1, 'Hi'); document
Log linear hash index changes, fast open / close
@roadmap_1062_li
Suggestion: include jetty as Servlet Container (like LAMP)
Index usage for (ID, NAME)=(1, 'Hi'); document
@roadmap_1063_li
Trace shipping to server
Suggestion: include jetty as Servlet Container (like LAMP)
@roadmap_1064_li
Performance / server mode: use UDP optionally?
Trace shipping to server
@roadmap_1065_li
Version check: docs / web console (using javascript), and maybe in the library (using TCP/IP)
Performance / server mode: use UDP optionally?
@roadmap_1066_li
Web server classloader: override findResource / getResourceFrom
Version check: docs / web console (using javascript), and maybe in the library (using TCP/IP)
@roadmap_1067_li
Cost for embedded temporary view is calculated wrong, if result is constant
Web server classloader: override findResource / getResourceFrom
@roadmap_1068_li
Comparison: pluggable sort order: natural sort
Cost for embedded temporary view is calculated wrong, if result is constant
@roadmap_1069_li
Count index range query (count(*) where id between 10 and 20)
Comparison: pluggable sort order: natural sort
@roadmap_1070_li
Eclipse plugin
Count index range query (count(*) where id between 10 and 20)
@roadmap_1071_li
iReport to support H2
Eclipse plugin
@roadmap_1072_li
Implement missing JDBC API (CallableStatement,...)
iReport to support H2
@roadmap_1073_li
Compression of the cache
Implement missing JDBC API (CallableStatement,...)
@roadmap_1074_li
Run H2 Console inside servlet (pass-through servlet of fix the JSP / app)
Compression of the cache
@roadmap_1075_li
Include SMPT (mail) server (at least client) (alert on cluster failure, low disk space,...)
Run H2 Console inside servlet (pass-through servlet of fix the JSP / app)
@roadmap_1076_li
Drop with restrict (currently cascade is the default)
Include SMPT (mail) server (at least client) (alert on cluster failure, low disk space,...)
@roadmap_1077_li
JSON parser and functions
Drop with restrict (currently cascade is the default)
@roadmap_1078_li
Option for Java functions: constant/isDeterministic to allow early evaluation when all parameters are constant
JSON parser and functions
@roadmap_1079_li
Automatic collection of statistics (auto ANALYZE)
Option for Java functions: constant/isDeterministic to allow early evaluation when all parameters are constant
@roadmap_1080_li
Server: client ping from time to time (to avoid timeout - is timeout a problem?)
Automatic collection of statistics (auto ANALYZE)
@roadmap_1081_li
Copy database: Tool with config GUI and batch mode, extensible (example: compare)
Server: client ping from time to time (to avoid timeout - is timeout a problem?)
@roadmap_1082_li
Document, implement tool for long running transactions using user defined compensation statements
Copy database: Tool with config GUI and batch mode, extensible (example: compare)
@roadmap_1083_li
Support SET TABLE DUAL READONLY
Document, implement tool for long running transactions using user defined compensation statements
@roadmap_1084_li
Linked schema using CSV files: one schema for a directory of files; support indexes for CSV files
Support SET TABLE DUAL READONLY
@roadmap_1085_li
Don't write stack traces for common exceptions like duplicate key to the log by default
Linked schema using CSV files: one schema for a directory of files; support indexes for CSV files
@roadmap_1086_li
Setting for MAX_QUERY_TIME (default no limit?)
Don't write stack traces for common exceptions like duplicate key to the log by default
@roadmap_1087_li
GCJ: what is the state now?
Setting for MAX_QUERY_TIME (default no limit?)
@roadmap_1088_li
Use Janino to convert Java to C++
GCJ: what is the state now?
@roadmap_1089_li
Reduce disk space usage (Derby uses less disk space?)
Use Janino to convert Java to C++
@roadmap_1090_li
Events for: Database Startup, Connections, Login attempts, Disconnections, Prepare (after parsing), Web Server (see http://docs.openlinksw.com/virtuoso/fn_dbev_startup.html)
Reduce disk space usage (Derby uses less disk space?)
@roadmap_1091_li
Optimization: Log compression
Events for: Database Startup, Connections, Login attempts, Disconnections, Prepare (after parsing), Web Server (see http://docs.openlinksw.com/virtuoso/fn_dbev_startup.html)
@roadmap_1092_li
Support standard INFORMATION_SCHEMA tables, as defined in http://www.contrib.andrew.cmu.edu/~shadow/sql/sql1992.txt; specially KEY_COLUMN_USAGE (http://dev.mysql.com/doc/refman/5.0/en/information-schema.html, http://www.xcdsql.org/Misc/INFORMATION_SCHEMA%20With%20Rolenames.gif)
Optimization: Log compression
@roadmap_1093_li
Compatibility: in MySQL, HSQLDB, /0.0 is NULL; in PostgreSQL, Derby: Division by zero
Support standard INFORMATION_SCHEMA tables, as defined in http://www.contrib.andrew.cmu.edu/~shadow/sql/sql1992.txt; specially KEY_COLUMN_USAGE (http://dev.mysql.com/doc/refman/5.0/en/information-schema.html, http://www.xcdsql.org/Misc/INFORMATION_SCHEMA%20With%20Rolenames.gif)
@roadmap_1094_li
Functional tables should accept parameters from other tables (see FunctionMultiReturn) SELECT * FROM TEST T, P2C(T.A, T.R)
Compatibility: in MySQL, HSQLDB, /0.0 is NULL; in PostgreSQL, Derby: Division by zero
@roadmap_1095_li
Custom class loader to reload functions on demand
Functional tables should accept parameters from other tables (see FunctionMultiReturn) SELECT * FROM TEST T, P2C(T.A, T.R)
@roadmap_1096_li
Test http://mysql-je.sourceforge.net/
Custom class loader to reload functions on demand
@roadmap_1097_li
Close all files when closing the database (including LOB files that are open on the client side)
Test http://mysql-je.sourceforge.net/
@roadmap_1098_li
Test Connection Pool http://jakarta.apache.org/commons/dbcp
Close all files when closing the database (including LOB files that are open on the client side)
@roadmap_1099_li
Profiler option or profiling tool to find long running and often repeated queries (using DatabaseEventListener API)
Test Connection Pool http://jakarta.apache.org/commons/dbcp
@roadmap_1100_li
Function to read/write a file from/to LOB
Profiler option or profiling tool to find long running and often repeated queries (using DatabaseEventListener API)
@roadmap_1101_li
Allow custom settings (@PATH for RUNSCRIPT for example)
Function to read/write a file from/to LOB
@roadmap_1102_li
EXE file: maybe use http://jsmooth.sourceforge.net
Allow custom settings (@PATH for RUNSCRIPT for example)
@roadmap_1103_li
SELECT ... FOR READ WAIT [maxMillisToWait]
EXE file: maybe use http://jsmooth.sourceforge.net
@roadmap_1104_li
Automatically delete the index file if opening it fails
SELECT ... FOR READ WAIT [maxMillisToWait]
@roadmap_1105_li
Performance: Automatically build in-memory indexes if the whole table is in memory
Automatically delete the index file if opening it fails
@roadmap_1106_li
H2 Console: The webclient could support more features like phpMyAdmin.
Performance: Automatically build in-memory indexes if the whole table is in memory
@roadmap_1107_li
The HELP information schema can be directly exposed in the Console
H2 Console: The webclient could support more features like phpMyAdmin.
@roadmap_1108_li
Maybe use the 0x1234 notation for binary fields, see MS SQL Server
The HELP information schema can be directly exposed in the Console
@roadmap_1109_li
Support Oracle CONNECT BY in some way: http://www.adp-gmbh.ch/ora/sql/connect_by.html, http://philip.greenspun.com/sql/trees.html
Maybe use the 0x1234 notation for binary fields, see MS SQL Server
@roadmap_1110_li
SQL 2003 (http://www.wiscorp.com/sql_2003_standard.zip)
Support Oracle CONNECT BY in some way: http://www.adp-gmbh.ch/ora/sql/connect_by.html, http://philip.greenspun.com/sql/trees.html
@roadmap_1111_li
http://www.jpackage.org
SQL 2003 (http://www.wiscorp.com/sql_2003_standard.zip)
@roadmap_1112_li
Version column (number/sequence and timestamp based)
http://www.jpackage.org
@roadmap_1113_li
Optimize getGeneratedKey: send last identity after each execute (server).
Version column (number/sequence and timestamp based)
@roadmap_1114_li
Date: default date is '1970-01-01' (is it 1900-01-01 in the standard / other databases?)
Optimize getGeneratedKey: send last identity after each execute (server).
@roadmap_1115_li
Test and document UPDATE TEST SET (ID, NAME) = (SELECT ID*10, NAME || '!' FROM TEST T WHERE T.ID=TEST.ID);
Date: default date is '1970-01-01' (is it 1900-01-01 in the standard / other databases?)
@roadmap_1116_li
Max memory rows / max undo log size: use block count / row size not row count
Test and document UPDATE TEST SET (ID, NAME) = (SELECT ID*10, NAME || '!' FROM TEST T WHERE T.ID=TEST.ID);
@roadmap_1117_li
Index summary is only written if log=2; maybe write it also when log=1 and everything is fine (and no in doubt transactions)
Max memory rows / max undo log size: use block count / row size not row count
@roadmap_1118_li
Support 123L syntax as in Java; example: SELECT (2000000000*2)
Index summary is only written if log=2; maybe write it also when log=1 and everything is fine (and no in doubt transactions)
@roadmap_1119_li
Implement point-in-time recovery
Support 123L syntax as in Java; example: SELECT (2000000000*2)
@roadmap_1120_li
Memory database: add a feature to keep named database open until 'shutdown'
Implement point-in-time recovery
@roadmap_1121_li
Use the directory of the first script as the default directory for any scripts run inside that script
Memory database: add a feature to keep named database open until 'shutdown'
@roadmap_1122_li
Include the version name in the jar file name
Use the directory of the first script as the default directory for any scripts run inside that script
@roadmap_1123_li
Optimize ID=? OR ID=?: convert to IN(...)
Include the version name in the jar file name
@roadmap_1124_li
LIKE: improved version for larger texts (currently using naive search)
Optimize ID=? OR ID=?: convert to IN(...)
@roadmap_1125_li
Auto-reconnect on lost connection to server (even if the server was re-started) except if autocommit was off and there was pending transaction
LIKE: improved version for larger texts (currently using naive search)
@roadmap_1126_li
The Script tool should work with other databases as well
Auto-reconnect on lost connection to server (even if the server was re-started) except if autocommit was off and there was pending transaction
@roadmap_1127_li
Automatically convert to the next 'higher' data type whenever there is an overflow.
The Script tool should work with other databases as well
@roadmap_1128_li
Throw an exception when the application calls getInt on a Long (optional)
Automatically convert to the next 'higher' data type whenever there is an overflow.
@roadmap_1129_li
Default date format for input and output (local date constants)
Throw an exception when the application calls getInt on a Long (optional)
@roadmap_1130_li
Cache collation keys for performance
Default date format for input and output (local date constants)
@roadmap_1131_li
ValueInt.convertToString and so on (remove Value.convertTo)
Cache collation keys for performance
@roadmap_1132_li
Support custom Collators
ValueInt.convertToString and so on (remove Value.convertTo)
@roadmap_1133_li
Document ROWNUM usage for reports: SELECT ROWNUM, * FROM (subquery)
Support custom Collators
@roadmap_1134_li
Clustering: Reads should be randomly distributed or to a designated database on RAM
Document ROWNUM usage for reports: SELECT ROWNUM, * FROM (subquery)
@roadmap_1135_li
Clustering: When a database is back alive, automatically synchronize with the master
Clustering: Reads should be randomly distributed or to a designated database on RAM
@roadmap_1136_li
Standalone tool to get relevant system properties and add it to the trace output.
Clustering: When a database is back alive, automatically synchronize with the master
@roadmap_1137_li
Support mixed clustering mode (one embedded, the other server mode)
Standalone tool to get relevant system properties and add it to the trace output.
@roadmap_1138_li
Support 'call proc(1=value)' (PostgreSQL, Oracle)
Support mixed clustering mode (one embedded, the other server mode)
@roadmap_1139_li
HSQLDB compatibility: "INSERT INTO TEST(name) VALUES(?); SELECT IDENTITY()"
Support 'call proc(1=value)' (PostgreSQL, Oracle)
@roadmap_1140_li
Shutdown lock (shutdown can only start if there are no logins pending, and logins are delayed until shutdown ends)
HSQLDB compatibility: "INSERT INTO TEST(name) VALUES(?); SELECT IDENTITY()"
@roadmap_1141_li
Automatically delete the index file if opening it fails
Shutdown lock (shutdown can only start if there are no logins pending, and logins are delayed until shutdown ends)
@roadmap_1142_li
DbAdapters http://incubator.apache.org/cayenne/
Automatically delete the index file if opening it fails
@roadmap_1143_li
JAMon (proxy jdbc driver)
DbAdapters http://incubator.apache.org/cayenne/
@roadmap_1144_li
Console: Allow setting Null value; Alternative display format two column (for copy and paste as well)
JAMon (proxy jdbc driver)
@roadmap_1145_li
Console: Improve editing data (Tab, Shift-Tab, Enter, Up, Down, Shift+Del?)
Console: Allow setting Null value; Alternative display format two column (for copy and paste as well)
@roadmap_1146_li
Console: Autocomplete Ctrl+Space inserts template
Console: Improve editing data (Tab, Shift-Tab, Enter, Up, Down, Shift+Del?)
@roadmap_1147_li
Google Code http://code.google.com/p/h2database/issues/list#
Console: Autocomplete Ctrl+Space inserts template
@roadmap_1148_li
Simplify translation ('Donate a translation')
Google Code http://code.google.com/p/h2database/issues/list#
@roadmap_1149_li
Option to encrypt .trace.db file
Simplify translation ('Donate a translation')
@roadmap_1150_li
Write Behind Cache on SATA leads to data corruption See also http://sr5tech.com/write_back_cache_experiments.htm and http://www.jasonbrome.com/blog/archives/2004/04/03/writecache_enabled.html
Option to encrypt .trace.db file
@roadmap_1151_li
Functions with unknown return or parameter data types: serialize / deserialize
Write Behind Cache on SATA leads to data corruption See also http://sr5tech.com/write_back_cache_experiments.htm and http://www.jasonbrome.com/blog/archives/2004/04/03/writecache_enabled.html
@roadmap_1152_li
Test if idle TCP connections are closed, and how to disable that
Functions with unknown return or parameter data types: serialize / deserialize
@roadmap_1153_li
Try using a factory for Row, Value[] (faster?), http://javolution.org/, alternative ObjectArray / IntArray
Test if idle TCP connections are closed, and how to disable that
@roadmap_1154_li
Auto-Update feature for database, .jar file
Try using a factory for Row, Value[] (faster?), http://javolution.org/, alternative ObjectArray / IntArray
@roadmap_1155_li
ResultSet SimpleResultSet.readFromURL(String url): id varchar, state varchar, released timestamp
Auto-Update feature for database, .jar file
@roadmap_1156_li
RANK() and DENSE_RANK(), Partition using OVER()
ResultSet SimpleResultSet.readFromURL(String url): id varchar, state varchar, released timestamp
@roadmap_1157_li
ROW_NUMBER (not the same as ROWNUM)
RANK() and DENSE_RANK(), Partition using OVER()
@roadmap_1158_li
Partial indexing (see PostgreSQL)
ROW_NUMBER (not the same as ROWNUM)
@roadmap_1159_li
BUILD should fail if ant test fails
Partial indexing (see PostgreSQL)
@roadmap_1160_li
http://rubyforge.org/projects/hypersonic/
BUILD should fail if ant test fails
@roadmap_1161_li
DbVisualizer profile for H2
http://rubyforge.org/projects/hypersonic/
@roadmap_1162_li
Add comparator (x === y) : (x = y or (x is null and y is null))
DbVisualizer profile for H2
@roadmap_1163_li
Try to create trace file even for read only databases
Add comparator (x === y) : (x = y or (x is null and y is null))
@roadmap_1164_li
Add a sample application that runs the H2 unit test and writes the result to a file (so it can be included in the user app)
Try to create trace file even for read only databases
@roadmap_1165_li
Count on a column that can not be null would be optimized to COUNT(*)
Add a sample application that runs the H2 unit test and writes the result to a file (so it can be included in the user app)
@roadmap_1166_li
Table order: ALTER TABLE TEST ORDER BY NAME DESC (MySQL compatibility)
Count on a column that can not be null would be optimized to COUNT(*)
@roadmap_1167_li
Backup tool should work with other databases as well
Table order: ALTER TABLE TEST ORDER BY NAME DESC (MySQL compatibility)
@roadmap_1168_li
Console: -ifExists doesn't work for the console. Add a flag to disable other dbs
Backup tool should work with other databases as well
@roadmap_1169_li
Maybe use Fowler Noll Vo hash function
Console: -ifExists doesn't work for the console. Add a flag to disable other dbs
@roadmap_1170_li
Improved full text search (supports LOBs, reader / tokenizer / filter).
Maybe use Fowler Noll Vo hash function
@roadmap_1171_li
Performance: Update in-place
Improved full text search (supports LOBs, reader / tokenizer / filter).
@roadmap_1172_li
Check if 'FSUTIL behavior set disablelastaccess 1' improves the performance (fsutil behavior query disablelastaccess)
Performance: Update in-place
@roadmap_1173_li
Java static code analysis: http://pmd.sourceforge.net/
Check if 'FSUTIL behavior set disablelastaccess 1' improves the performance (fsutil behavior query disablelastaccess)
@roadmap_1174_li
Java static code analysis: http://www.eclipse.org/tptp/
Java static code analysis: http://pmd.sourceforge.net/
@roadmap_1175_li
Compatibility for CREATE SCHEMA AUTHORIZATION
Java static code analysis: http://www.eclipse.org/tptp/
@roadmap_1176_li
Implement Clob / Blob truncate and the remaining functionality
Compatibility for CREATE SCHEMA AUTHORIZATION
@roadmap_1177_li
Maybe close LOBs after closing connection
Implement Clob / Blob truncate and the remaining functionality
@roadmap_1178_li
Tree join functionality
Maybe close LOBs after closing connection
@roadmap_1179_li
Support alter table add column if table has views defined
Tree join functionality
@roadmap_1180_li
Add multiple columns at the same time with ALTER TABLE .. ADD .. ADD ..
Support alter table add column if table has views defined
@roadmap_1181_li
Support trigger on the tables information_schema.tables and ...columns
Add multiple columns at the same time with ALTER TABLE .. ADD .. ADD ..
@roadmap_1182_li
Add H2 to Gem (Ruby install system)
Support trigger on the tables information_schema.tables and ...columns
@roadmap_1183_li
API for functions / user tables
Add H2 to Gem (Ruby install system)
@roadmap_1184_li
Order conditions inside AND / OR to optimize the performance
API for functions / user tables
@roadmap_1185_li
Support linked JCR tables
Order conditions inside AND / OR to optimize the performance
@roadmap_1186_li
Make sure H2 is supported by Execute Query: http://executequery.org/
Support linked JCR tables
@roadmap_1187_li
Read InputStream when executing, as late as possible (maybe only embedded mode). Problem with re-execute.
Make sure H2 is supported by Execute Query: http://executequery.org/
@roadmap_1188_li
Full text search: min word length; store word positions
Read InputStream when executing, as late as possible (maybe only embedded mode). Problem with re-execute.
@roadmap_1189_li
FTP Server: Implement a client to send / receive files to server (dir, get, put)
Full text search: min word length; store word positions
@roadmap_1190_li
FTP Server: Implement SFTP / FTPS
FTP Server: Implement a client to send / receive files to server (dir, get, put)
@roadmap_1191_li
Add an option to the SCRIPT command to generate only portable / standard SQL
FTP Server: Implement SFTP / FTPS
@roadmap_1192_li
Test Dezign for Databases (http://www.datanamic.com)
Add an option to the SCRIPT command to generate only portable / standard SQL
@roadmap_1193_li
Fast library for parsing / formatting: http://javolution.org/
Test Dezign for Databases (http://www.datanamic.com)
@roadmap_1194_li
Updatable Views (simple cases first)
Fast library for parsing / formatting: http://javolution.org/
@roadmap_1195_li
Improve create index performance
Updatable Views (simple cases first)
@roadmap_1196_li
Support ARRAY data type
Improve create index performance
@roadmap_1197_li
Implement more JDBC 4.0 features
Support ARRAY data type
@roadmap_1198_li
H2 Console: implement a servlet to allow simple web app integration
Implement more JDBC 4.0 features
@roadmap_1199_li
Support TRANSFORM / PIVOT as in MS Access
H2 Console: implement a servlet to allow simple web app integration
@roadmap_1200_li
SELECT * FROM (VALUES (...), (...), ....) AS alias(f1, ...)
Support TRANSFORM / PIVOT as in MS Access
@roadmap_1201_li
Support updatable views with join on primary keys (to extend a table)
SELECT * FROM (VALUES (...), (...), ....) AS alias(f1, ...)
@roadmap_1202_li
Public interface for functions (not public static)
Support updatable views with join on primary keys (to extend a table)
@roadmap_1203_li
Autocomplete: if I type the name of a table that does not exist (should say: syntax not supported)
Public interface for functions (not public static)
@roadmap_1204_li
Autocomplete: schema support: "Other Grammar","Table Expression","{[schemaName.]tableName | (select)} [[AS] newTableAlias]
Autocomplete: if I type the name of a table that does not exist (should say: syntax not supported)
@roadmap_1205_li
Functions: options readonly, deterministic (pure, always return the same value)
Autocomplete: schema support: "Other Grammar","Table Expression","{[schemaName.]tableName | (select)} [[AS] newTableAlias]
@roadmap_1206_li
Document FTP server, including -ftpTask option to execute / kill remote processes
Functions: options readonly, deterministic (pure, always return the same value)
@roadmap_1207_li
Add jdbcx to the javadocs
Document FTP server, including -ftpTask option to execute / kill remote processes
@roadmap_1208_li
Delay reading the row if data is not required
Add jdbcx to the javadocs
@roadmap_1209_li
Eliminate undo log records if stored on disk (just one pointer per block, not per record)
Delay reading the row if data is not required
@roadmap_1210_li
Feature matrix like in <a href="http://www.inetsoftware.de/products/jdbc/mssql/features/default.asp">i-net software</a> .
Eliminate undo log records if stored on disk (just one pointer per block, not per record)
@roadmap_1211_li
Updatable result set on table without primary key or unique index
Feature matrix like in <a href="http://www.inetsoftware.de/products/jdbc/mssql/features/default.asp">i-net software</a> .
@roadmap_1212_li
Use LinkedList instead of ArrayList where applicable
Updatable result set on table without primary key or unique index
@roadmap_1213_li
Optimization: (A=B AND B=C) > (A=B AND B=C AND A=C)
Use LinkedList instead of ArrayList where applicable
@roadmap_1214_li
Support % operator (modulo)
Optimization: (A=B AND B=C) > (A=B AND B=C AND A=C)
@roadmap_1215_li
Large subqueries: close them when the main query is closed, not earlier (so result can be reused)
Support % operator (modulo)
@roadmap_1216_li
Support 1+'2'=3, '1'+'2'='12' (MS SQL Server compatibility)
Large subqueries: close them when the main query is closed, not earlier (so result can be reused)
@roadmap_1217_li
Support nested transactions
Support 1+'2'=3, '1'+'2'='12' (MS SQL Server compatibility)
@roadmap_1218_li
Add a benchmark for big databases, and one for many users
Support nested transactions
@roadmap_1219_li
Compression in the result set (repeating values in the same column)
Add a benchmark for big databases, and one for many users
@roadmap_1220_li
Improve command line consistency (+/- options, or true false options)
Compression in the result set (repeating values in the same column)
@roadmap_1221_li
Allow to use the catalog name in statements: [[catalog.]schema.]object
Improve command line consistency (+/- options, or true false options)
@roadmap_1222_li
Support curtimestamp (like curtime, curdate)
Allow to use the catalog name in statements: [[catalog.]schema.]object
@roadmap_1223_li
Support ANALYZE {TABLE|INDEX} tableName COMPUTE|ESTIMATE|DELETE STATISTICS ptnOption options
Support curtimestamp (like curtime, curdate)
@roadmap_1224_li
Support Sequoia (Continuent.org)
Support ANALYZE {TABLE|INDEX} tableName COMPUTE|ESTIMATE|DELETE STATISTICS ptnOption options
@roadmap_1225_li
Dynamic length numbers / special methods for DataPage.writeByte / writeShort / Ronni Nielsen
Support Sequoia (Continuent.org)
@roadmap_1226_li
Pluggable tracing system, ThreadPool, (AvalonDB / deebee / Paul Hammant)
Dynamic length numbers / special methods for DataPage.writeByte / writeShort / Ronni Nielsen
@roadmap_1227_li
Recursive Queries (see details)
Pluggable tracing system, ThreadPool, (AvalonDB / deebee / Paul Hammant)
@roadmap_1228_li
Use index on boolean flag (see details)
Recursive Queries (see details)
@roadmap_1229_li
Add build for embedded database only
Use index on boolean flag (see details)
@roadmap_1230_li
Release locks (shared or exclusive) on demand
Add build for embedded database only
@roadmap_1231_li
Support catalog names
Release locks (shared or exclusive) on demand
@roadmap_1232_li
Add object id to metadata tables
Support catalog names
@roadmap_1233_li
Support OUTER UNION
Add object id to metadata tables
@roadmap_1234_li
Support Parameterized Views (similar to CSVREAD, but using just SQL for the definition)
Support OUTER UNION
@roadmap_1235_li
Implement a command line SQL utility similar to HenPlus: http://henplus.sourceforge.net
Support Parameterized Views (similar to CSVREAD, but using just SQL for the definition)
@roadmap_1236_li
A way (JDBC driver) to map an URL (jdbc:h2map:c1) to a connection object
Implement a command line SQL utility similar to HenPlus: http://henplus.sourceforge.net
@roadmap_1237_li
Build script for the embedded functionality only (h2embedded.jar)
A way (JDBC driver) to map an URL (jdbc:h2map:c1) to a connection object
@roadmap_1238_li
Option for SCRIPT to only process one or a set of tables, and append to a file
Build script for the embedded functionality only (h2embedded.jar)
@roadmap_1239_li
Support using a unique index for IS NULL (including linked tables)
Option for SCRIPT to only process one or a set of tables, and append to a file
@roadmap_1240_li
Support linked tables to the current database
Support using a unique index for IS NULL (including linked tables)
@roadmap_1241_li
Support dynamic linked schema (automatically adding/updating/removing tables)
Support linked tables to the current database
@roadmap_1242_li
Compatibility with Derby: VALUES(1), (2); SELECT * FROM (VALUES (1), (2)) AS myTable(c1)
Support dynamic linked schema (automatically adding/updating/removing tables)
@roadmap_1243_li
Compatibility: # is the start of a single line comment (MySQL) but date quote (Access). Mode specific
Compatibility with Derby: VALUES(1), (2); SELECT * FROM (VALUES (1), (2)) AS myTable(c1)
@roadmap_1244_li
Run benchmarks with JDK 1.5, JDK 1.6, java -server
Compatibility: # is the start of a single line comment (MySQL) but date quote (Access). Mode specific
@roadmap_1245_li
Optimizations: Faster hash function for strings, byte arrays, big decimal
Run benchmarks with JDK 1.5, JDK 1.6, java -server
@roadmap_1246_li
DatabaseEventListener: callback for all operations (including expected time, RUNSCRIPT) and cancel functionality
Optimizations: Faster hash function for strings, byte arrays, big decimal
@roadmap_1247_li
H2 Console / large result sets: use 'streaming' instead of building the page in-memory
DatabaseEventListener: callback for all operations (including expected time, RUNSCRIPT) and cancel functionality
@roadmap_1248_li
Benchmark: add a graph to show how databases scale (performance/database size)
H2 Console / large result sets: use 'streaming' instead of building the page in-memory
@roadmap_1249_li
Implement a SQLData interface to map your data over to a custom object
Benchmark: add a graph to show how databases scale (performance/database size)
@roadmap_1250_li
Extend H2 Console to run tools (show command line as well)
Implement a SQLData interface to map your data over to a custom object
@roadmap_1251_li
Make DDL (Data Definition) operations transactional
Extend H2 Console to run tools (show command line as well)
@roadmap_1252_li
Allow execution time prepare for SELECT * FROM CSVREAD(?, 'columnNameString')
Make DDL (Data Definition) operations transactional
@roadmap_1253_li
Support multiple directories (on different hard drives) for the same database
Allow execution time prepare for SELECT * FROM CSVREAD(?, 'columnNameString')
@roadmap_1254_li
Server protocol: use challenge response authentication, but client sends hash(user+password) encrypted with response
Support multiple directories (on different hard drives) for the same database
@roadmap_1255_li
Support EXEC[UTE] (doesn't return a result set, compatible to MS SQL Server)
Server protocol: use challenge response authentication, but client sends hash(user+password) encrypted with response
@roadmap_1256_li
GROUP BY and DISTINCT: support large groups (buffer to disk), do not keep large sets in memory
Support EXEC[UTE] (doesn't return a result set, compatible to MS SQL Server)
@roadmap_1257_li
Support native XML data type
GROUP BY and DISTINCT: support large groups (buffer to disk), do not keep large sets in memory
@roadmap_1258_li
Support triggers with a string property or option: SpringTrigger, OSGITrigger
Support native XML data type
@roadmap_1259_li
Clustering: adding a node should be very fast and without interrupting clients (very short lock)
Support triggers with a string property or option: SpringTrigger, OSGITrigger
@roadmap_1260_li
Support materialized views (using triggers)
Clustering: adding a node should be very fast and without interrupting clients (very short lock)
@roadmap_1261_li
Store dates in local timezone (portability of database files)
Support materialized views (using triggers)
@roadmap_1262_li
Ability to resize the cache array when resizing the cache
Store dates in local timezone (portability of database files)
@roadmap_1263_li
Automatic conversion from WHERE X>10 AND X>20 to X>20
Ability to resize the cache array when resizing the cache
@roadmap_1264_li
Time based cache writing (one second after writing the log)
Automatic conversion from WHERE X>10 AND X>20 to X>20
@roadmap_1265_li
Check state of H2 driver for DDLUtils: https://issues.apache.org/jira/browse/DDLUTILS-185
Time based cache writing (one second after writing the log)
@roadmap_1266_li
Index usage for REGEXP LIKE.
Check state of H2 driver for DDLUtils: https://issues.apache.org/jira/browse/DDLUTILS-185
@roadmap_1267_li
Add a role DBA (like ADMIN).
Index usage for REGEXP LIKE.
@roadmap_1268_li
Better support multiple processors for in-memory databases.
Add a role DBA (like ADMIN).
@roadmap_1269_li
Access rights: remember the owner of an object. COMMENT: allow owner of object to change it.
Better support multiple processors for in-memory databases.
@roadmap_1270_li
Implement INSTEAD OF trigger.
Access rights: remember the owner of an object. COMMENT: allow owner of object to change it.
@roadmap_1271_li
Access rights: Finer grained access control (grant access for specific functions)
Implement INSTEAD OF trigger.
@roadmap_1272_li
Support N'text'
Access rights: Finer grained access control (grant access for specific functions)
@roadmap_1273_li
Support SCOPE_IDENTITY() to avoid problems when inserting rows in a trigger
Support N'text'
@roadmap_1274_li
Support DESCRIBE like MySQL or Oracle (DESC|DESCRIBE {[schema.]object[@connect_identifier]})
Support SCOPE_IDENTITY() to avoid problems when inserting rows in a trigger
@roadmap_1275_li
Set a connection read only (Connection.setReadOnly)
Support DESCRIBE like MySQL or Oracle (DESC|DESCRIBE {[schema.]object[@connect_identifier]})
@roadmap_1276_li
In MySQL mode, for AUTO_INCREMENT columns, don't set the primary key
Set a connection read only (Connection.setReadOnly)
@roadmap_1277_li
Use JDK 1.4 file locking to create the lock file (but not yet by default); writing a system property to detect concurrent access from the same VM (different classloaders).
In MySQL mode, for AUTO_INCREMENT columns, don't set the primary key
@roadmap_1278_li
Read-only sessions (Connection.setReadOnly)
Use JDK 1.4 file locking to create the lock file (but not yet by default); writing a system property to detect concurrent access from the same VM (different classloaders).
@roadmap_1279_li
Support compatibility for jdbc:hsqldb:res:
Read-only sessions (Connection.setReadOnly)
@roadmap_1280_li
In the MySQL and PostgreSQL, use lower case identifiers by default (DatabaseMetaData.storesLowerCaseIdentifiers = true)
Support compatibility for jdbc:hsqldb:res:
@roadmap_1281_li
Provide a simple, lightweight O/R mapping tool
In the MySQL and PostgreSQL, use lower case identifiers by default (DatabaseMetaData.storesLowerCaseIdentifiers = true)
@roadmap_1282_li
Provide an Java SQL builder with standard and H2 syntax
Provide a simple, lightweight O/R mapping tool
@roadmap_1283_li
Trace: write OS, file system, JVM,... when opening the database
Provide an Java SQL builder with standard and H2 syntax
@roadmap_1284_li
Trace: write dangerous operations (set log 0,...) in every case (including when opening the database)
Trace: write OS, file system, JVM,... when opening the database
@roadmap_1285_li
ParameterMetaData should return correct data type where possible (INSERT for example)
Trace: write dangerous operations (set log 0,...) in every case (including when opening the database)
@roadmap_1286_li
Support indexes for views (probably requires materialized views)
......@@ -6679,13 +6703,16 @@ Use ant 'get' to download dependencies
@roadmap_1360_li
Index usage for UPDATE ... WHERE .. IN (SELECT...)
@roadmap_1361_h2
@roadmap_1361_li
The RunScript tool should support interactive mode (reading from system in). Password using a second thread.
@roadmap_1362_h2
Not Planned
@roadmap_1362_li
@roadmap_1363_li
HSQLDB (did) support this: select id i from test where i>0 (other databases don't). Supporting it may break compatibility.
@roadmap_1363_li
@roadmap_1364_li
String.intern (so that Strings can be compared with ==) will not be used because some VMs have problems when used extensively.
@search_1000_b
......@@ -6746,9 +6773,12 @@ Build
History &amp; Roadmap
@search_1019_a
FAQ
Links
@search_1020_a
FAQ
@search_1021_a
License
@sourceError_1000_h1
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -19,9 +19,13 @@ import org.h2.message.TraceSystem;
/**
* The database driver. An application should not use this class directly. The
* only thing the application needs to do is load the driver. This can be done
* using Class.forName:
* using Class.forName. To load the driver and open a database connection, use
* the following code:
*
* <pre>
* Class.forName(&quot;org.h2.Driver&quot;);
* Connection conn = DriverManager.getConnection(
* &quot;jdbc:h2:&tilde;/test&quot;, &quot;sa&quot;, &quot;sa&quot;);
* </pre>
*/
public class Driver implements java.sql.Driver {
......
......@@ -217,9 +217,7 @@ public class SysProperties {
* more than this number of rows are in a result set, a temporary table is
* used.
*/
private int testing;
// public static final int MAX_MEMORY_ROWS_DISTINCT = getIntSetting("h2.maxMemoryRowsDistinct", Integer.MAX_VALUE);
public static final int MAX_MEMORY_ROWS_DISTINCT = getIntSetting("h2.maxMemoryRowsDistinct", 1);
public static final int MAX_MEMORY_ROWS_DISTINCT = getIntSetting("h2.maxMemoryRowsDistinct", Integer.MAX_VALUE);
/**
* System property <code>h2.maxQueryTimeout</code> (default: 0).<br />
......
......@@ -15,8 +15,8 @@ package org.h2.engine;
* - Compile with JDK 1.4, 1.5 and 1.6:
* set path=C:\Programme\Java\jdk1.6.0\bin;%PATH%
* set JAVA_HOME=C:\Programme\Java\jdk1.6.0
* set path=C:\Program Files\Java\jdk1.6.0_01\bin;%PATH%
* set JAVA_HOME=C:\Program Files\Java\jdk1.6.0_01
* set path=C:\Program Files\Java\jdk1.6.0_03\bin;%PATH%
* set JAVA_HOME=C:\Program Files\Java\jdk1.6.0_03
* ant compile
* set classpath=
* ant javadoc
......@@ -74,8 +74,8 @@ package org.h2.engine;
*/
public class Constants {
public static final int BUILD_ID = 67;
private static final String BUILD = "2008-02-22";
public static final int BUILD_ID = 68;
private static final String BUILD = "2008-03-14";
public static final int VERSION_MAJOR = 1;
public static final int VERSION_MINOR = 0;
......
......@@ -36,7 +36,35 @@ import org.h2.message.Message;
/**
* A data source for H2 database connections. It is a factory for XAConnection
* and Connection objects. This class is usually registered in a JNDI naming
* service.
* service. To create a data source object and register it with a JNDI service,
* use the following code:
*
* <pre>
* import org.h2.jdbcx.JdbcDataSource;
* import javax.naming.Context;
* import javax.naming.InitialContext;
* JdbcDataSource ds = new JdbcDataSource();
* ds.setURL(&quot;jdbc:h2:&tilde;/test&quot;);
* ds.setUser(&quot;sa&quot;);
* ds.setPassword(&quot;sa&quot;);
* Context ctx = new InitialContext();
* ctx.bind(&quot;jdbc/dsName&quot;, ds);
* </pre>
*
* To use a data source that is already registered, use the following code:
*
* <pre>
* import java.sql.Connection;
* import javax.sql.DataSource;
* import javax.naming.Context;
* import javax.naming.InitialContext;
* Context ctx = new InitialContext();
* DataSource ds = (DataSource) ctx.lookup(&quot;jdbc/dsName&quot;);
* Connection conn = ds.getConnection();
* </pre>
*
* In this example the user name and password are serialized as
* well; this may be a security problem in some cases.
*/
public class JdbcDataSource extends TraceObject
//#ifdef JDK14
......@@ -58,7 +86,7 @@ implements XADataSource, DataSource, ConnectionPoolDataSource, Serializable, Ref
}
/**
* Public constructor.
* The public constructor.
*/
public JdbcDataSource() {
initFactory();
......
......@@ -20,7 +20,8 @@ import org.h2.message.Trace;
import org.h2.message.TraceSystem;
/**
* This class is used to create new JdbcDataSource objects.
* This class is used to create new DataSource objects.
* An application should not use this class directly.
*/
public class JdbcDataSourceFactory
//#ifdef JDK14
......
......@@ -97,7 +97,7 @@ public class ResultTempTable implements ResultExternal {
table.removeChildrenAndResources(session);
}
} catch (SQLException e) {
throw Message.getInternalError();
throw Message.convertToInternal(e);
} finally {
table = null;
}
......
......@@ -151,7 +151,16 @@ public class RowList {
int storageId = buff.readInt();
Value[] values = new Value[columnCount];
for (int i = 0; i < columnCount; i++) {
values[i] = buff.readValue();
Value v = buff.readValue();
if (v.isLinked()) {
ValueLob lob = (ValueLob) v;
// the table id is 0 if it was linked when writing
// a temporary entry
if (lob.getTableId() == 0) {
session.unlinkAtCommit(v);
}
}
values[i] = v;
}
if (pos != 0) {
CacheObject found = cache.find(pos);
......
......@@ -25,6 +25,7 @@ import org.h2.util.StringUtils;
public class Newsfeed {
public static void main(String[] args) throws Exception {
String targetDir = args.length == 0 ? "." : args[0];
Class.forName("org.h2.Driver");
Connection conn = DriverManager.getConnection("jdbc:h2:mem:", "sa", "");
InputStream in = Newsfeed.class.getResourceAsStream("newsfeed.sql");
......@@ -32,16 +33,15 @@ public class Newsfeed {
while (rs.next()) {
String file = rs.getString("FILE");
String content = rs.getString("CONTENT");
if (file.equals("-newsletter-")) {
System.out.println(convertHtml2Text(content));
} else {
FileOutputStream out = new FileOutputStream(file);
if (file.endsWith(".txt")) {
content = convertHtml2Text(content);
}
FileOutputStream out = new FileOutputStream(targetDir + "/" + file);
Writer writer = new OutputStreamWriter(out, "UTF-8");
writer.write(content);
writer.close();
out.close();
}
}
conn.close();
}
......
......@@ -10,6 +10,49 @@ INSERT INTO CHANNEL VALUES('H2 Database Engine' ,
CREATE TABLE ITEM(ID INT PRIMARY KEY, TITLE VARCHAR, ISSUED TIMESTAMP, DESC VARCHAR);
INSERT INTO ITEM VALUES(38,
'New version available: 1.0.68 (2008-03-14)', '2008-03-14 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>Faster text comparison when using a collator.
</li><li>CSVWRITE now supports a ''null string'' to parse NULL.
</li><li>UPDATE SET column=DEFAULT is now supported.
</li><li>Large SELECT DISTINCT and UNION queries are now supported
(this is disabled by default).
</li><li>Committing inside a trigger is not allowed any more.
</li><li>ALTER SEQUENCE can now be used inside a transaction.
</li><li>New system property h2.aliasColumnName. When enabled, aliased columns
return the real table and column name in ResultSetMetaData calls.
</li><li>Improved performance when using lob files in directories
(however this is still disabled by default)
</li><li>Fulltext search: new method SEARCH_DATA.
</li><li>New experimental optimization for GROUP BY queries.
</li><li>Better browser starting for the H2 Console on Linux.
</li><li>Improved support for IKVM.
</li></ul>
<b>Bugfixes:</b>
<ul><li>With MVCC=TRUE, duplicate rows could appear in the result set.
</li><li>Queries with many outer join tables were very slow.
</li><li>Unused LOB files were deleted much too late.
</li><li>H2 Console: remote connections were very slow.
</li><li>H2 Console: autocomplete didn''t work with very large scripts.
</li><li>H2 Console: improved compatibility with Safari (Safari requires keep-alive)
</li><li>Random: the process didn''t stop if generateSeed was very slow.
</li><li>SELECT UNION with a different number of ORDER BY columns didn''t work.
</li><li>When using a view, the column precision was wrong sometimes.
</li><li>Some long running queries could not be cancelled.
</li><li>When using encrypted databases, and using the wrong file password,
the log file was renamed sometimes.
</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(37,
'New version available: 1.0.67 (2008-02-22)', '2008-02-22 12:00:00',
'A new version of H2 is available for <a href="http://www.h2database.com">download</a>.
......@@ -300,43 +343,6 @@ INSERT INTO ITEM VALUES(29,
For future plans, see the new ''Roadmap'' page on the web site.
');
INSERT INTO ITEM VALUES(28,
'New version available: 1.0.58 (2007-09-15)', '2007-09-15 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>Empty space in the database files is now better reused
</li><li>The database file sizes now increased in smaller blocks
</li><li>Optimization for independent subqueries
</li><li>Improved explain plan
</li><li>Maven 2: new version are now automatically synced
</li><li>The version (build) number is now included in the manifest file.
</li><li>The default value for MAX_MEMORY_UNDO is now 100000
</li><li>Improved MultiDimension tool (for spatial queries)
</li><li>New method DatabaseEventListener.opened
</li><li>Optimization for COLUMN IN(.., NULL)
</li><li>Oracle compatibility for SYSDATE and CHR
</li><li>System.exit is no longer called by the WebServer
</li></ul>
<b>Bugfixes:</b>
<ul><li>About 230 bytes per database was leaked
</li><li>Using spaces in column and table aliases did not always work
</li><li>In some systems, SecureRandom.generateSeed is very slow
</li><li>Console: better support for Internet Explorer
</li><li>A database can now be opened even if user class is missing
</li><li>User defined functions may not overload built-in functions
</li><li>Adding a foreign key failed when the reference contained NULL
</li><li>For PgServer, character encoding other than UTF-8 did not work
</li><li>When using IFNULL, NULLIF, COALESCE, LEAST, or GREATEST,
and the first parameter was ?, an exception was thrown
</li><li>When comparing TINYINT or SMALLINT columns, the index was not used
</li><li>The documentation indexer does no longer index Japanese pages
</li><li>Using a function in a GROUP BY expression did not always work
</li></ul>
For future plans, see the new ''Roadmap'' page on the web site.
');
SELECT 'newsfeed-rss.xml' FILE,
XMLSTARTDOC() ||
XMLNODE('rss', XMLATTR('version', '2.0'),
......@@ -378,4 +384,4 @@ SELECT 'newsfeed-atom.xml' FILE,
) CONTENT
FROM CHANNEL C, ITEM I
UNION
SELECT '-newsletter-' FILE, I.DESC CONTENT FROM ITEM I WHERE I.ID = (SELECT MAX(ID) FROM ITEM)
SELECT 'newsletter.txt' FILE, I.DESC CONTENT FROM ITEM I WHERE I.ID = (SELECT MAX(ID) FROM ITEM)
......@@ -159,12 +159,13 @@ java org.h2.test.TestAll timer
/*
disk based select distinct; order by:
Allow to set all passwords as parameters
Remove Parser.readString()
more tests with disk based select distinct; order by:
select distinct x from system_range(1, 200000);
DROP TABLE TEST;
CREATE TABLE TEST(ID INT PRIMARY KEY, NAME VARCHAR(255), VALUE DECIMAL(10,2));
INSERT INTO TEST VALUES(1,'Apples',1.20),
(2,'Oranges',2.05),
(3,'Cherries',5.10),
......@@ -174,36 +175,38 @@ INSERT INTO TEST VALUES(1,'Apples',1.20),
(7,'Bananas',2.50),
(8,NULL,3.10),
(9,NULL,-10.0);
SELECT DISTINCT NAME FROM TEST;
select distinct x from system_range(1, 200000);
CREATE TABLE p(d DATE);
INSERT INTO p VALUES('0000-01-01');
INSERT INTO p VALUES('0001-01-01');
check that test data in temp directories
add jdbcx to Javadocs
out of memory problem:
java -XX:+HeapDumpOnOutOfMemoryError -Xmx1024m -cp bin/h2.jar org.h2.tools.Server -log true
java -XX:+HeapDumpOnOutOfMemoryError -Xmx1024m
-cp bin/h2.jar org.h2.tools.Server -log true
jdbc:h2:test;CACHE_SIZE=10000
drop all objects;
CREATE TABLE firsttable (id number(8) primary key, name varchar(200) not null);
CREATE TABLE secondtable (field1 number(10) not null, field2 number(8));
@LOOP 1000000 insert into secondtable values(?, ?);
create index idx_number1 on secondtable(field1);
The table 'secondtable' contains a little over 100.000.000 records.
CREATE TABLE test (field1 number(10) not null, field2 number(8));
@LOOP 1000000 insert into test values(?, ?);
create index idx_number1 on test(field1);
The table 'test' contains a little over 100.000.000 records.
Read HenPlus features
http://henplus.sourceforge.net/
newsletter.sql
better document DataSource usage in an own section in the Tutorial.
Including Pooling if possible
link to or include
http://www.source-code.biz/snippets/java/8.htm
add regular javadocs to the homepage
the database should be kept open for a longer time when using the server mode
add link to new in use, links
Javadocs: for each tool, add a copy & paste sample in the class level
Add google site search to web page
merge query and result frames
......@@ -230,13 +233,6 @@ Can sometimes not delete log file? need test case
Add where required // TODO: change in version 1.1
History:
Very large SELECT DISTINCT and UNION EXCEPT queries are now supported.
Improved support for IKVM.
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.
Unused LOB files were deleted much too late.
Now they are deleted if no longer referenced in memory.
Roadmap:
......
......@@ -30,7 +30,8 @@ import org.h2.tools.DeleteDbFiles;
*/
public abstract class TestBase {
// private static final String BASE_TEST_DIR = System.getProperty("java.io.tmpdir") + "/h2";
// private static final String BASE_TEST_DIR =
// System.getProperty("java.io.tmpdir") + "/h2";
private static final String BASE_TEST_DIR = "data";
public static String getTestDir(String name) {
......
......@@ -22,29 +22,29 @@ import org.h2.test.TestBase;
*/
public class TestDataSource extends TestBase {
// public static void main(String[] args) throws Exception {
//
// // first, need to start on the command line:
// // rmiregistry 1099
//
// // System.setProperty(Context.INITIAL_CONTEXT_FACTORY,
// "com.sun.jndi.ldap.LdapCtxFactory");
// System.setProperty(Context.INITIAL_CONTEXT_FACTORY,
// "com.sun.jndi.rmi.registry.RegistryContextFactory");
// System.setProperty(Context.PROVIDER_URL, "rmi://localhost:1099");
//
// JdbcDataSource ds = new JdbcDataSource();
// ds.setURL("jdbc:h2:test");
// ds.setUser("test");
// ds.setPassword("");
//
// Context ctx = new InitialContext();
// ctx.bind("jdbc/test", ds);
//
// DataSource ds2 = (DataSource)ctx.lookup("jdbc/test");
// Connection conn = ds2.getConnection();
// conn.close();
// }
// public static void main(String[] args) throws Exception {
//
// // first, need to start on the command line:
// // rmiregistry 1099
//
// // System.setProperty(Context.INITIAL_CONTEXT_FACTORY,
// "com.sun.jndi.ldap.LdapCtxFactory");
// System.setProperty(Context.INITIAL_CONTEXT_FACTORY,
// "com.sun.jndi.rmi.registry.RegistryContextFactory");
// System.setProperty(Context.PROVIDER_URL, "rmi://localhost:1099");
//
// JdbcDataSource ds = new JdbcDataSource();
// ds.setURL("jdbc:h2:test");
// ds.setUser("test");
// ds.setPassword("");
//
// Context ctx = new InitialContext();
// ctx.bind("jdbc/test", ds);
//
// DataSource ds2 = (DataSource)ctx.lookup("jdbc/test");
// Connection conn = ds2.getConnection();
// conn.close();
// }
public void test() throws Exception {
testDataSource();
......
......@@ -22,7 +22,7 @@ public class CheckTextFiles {
}
String[] suffixCheck = new String[] { "html", "jsp", "js", "css", "bat", "nsi", "java", "txt", "properties", "sql",
"xml", "csv", "Driver", "php" };
"xml", "csv", "Driver" };
String[] suffixIgnore = new String[] { "gif", "png", "odg", "ico", "sxd", "layout", "res", "win", "jar", "task" };
boolean failOnError;
boolean allowTab, allowCR = true, allowTrailingSpaces = true;
......
......@@ -25,16 +25,18 @@ public class MergeDocs {
}
private void run(String[] args) throws Exception {
// the order of pages is important here
String[] pages = { "quickstartText.html", "installation.html", "tutorial.html", "features.html",
"performance.html", "advanced.html", "grammar.html", "functions.html", "datatypes.html", "build.html",
"history.html", "faq.html", "license.html" };
StringBuffer buff = new StringBuffer();
for (int i = 0; i < pages.length; i++) {
String text = getContent(pages[i]);
String fileName = pages[i];
String text = getContent(fileName);
for (int j = 0; j < pages.length; j++) {
text = StringUtils.replaceAll(text, pages[j] + "#", "#");
}
text = removeHeaderFooter(text);
text = removeHeaderFooter(fileName, text);
buff.append(text);
}
String finalText = buff.toString();
......@@ -48,7 +50,7 @@ public class MergeDocs {
writer.close();
}
private String removeHeaderFooter(String text) {
private String removeHeaderFooter(String fileName, String text) {
// String start = "<body";
// String end = "</body>";
......@@ -56,6 +58,9 @@ public class MergeDocs {
String end = "</div></td></tr></table><!-- analytics --></body></html>";
int idx = text.indexOf(end);
if (idx < 0) {
throw new Error("Footer not found in file " + fileName);
}
text = text.substring(0, idx);
idx = text.indexOf(start);
idx = text.indexOf('>', idx);
......
......@@ -33,7 +33,7 @@ public class SpellChecker {
private boolean printDictionary = false;
private boolean addToDictionary;
private static final String[] SUFFIX = new String[] { "html", "java", "sql", "txt", "xml", "jsp", "css", "bat",
"csv", "xml", "js", "Driver", "properties", "task", "php", "" };
"csv", "xml", "js", "Driver", "properties", "task", "" };
private static final String[] IGNORE = new String[] { "dev", "nsi", "gif", "png", "odg", "ico", "sxd", "zip",
"bz2", "rc", "layout", "res", "dll", "jar" };
private static final String PREFIX_IGNORE = "abc";
......
......@@ -10,6 +10,7 @@ import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import org.h2.samples.Newsfeed;
import org.h2.util.IOUtils;
import org.h2.util.StringUtils;
......@@ -17,6 +18,7 @@ import org.h2.util.StringUtils;
* Create the web site, mainly by copying the regular docs. A few items are
* different in the web site, for example it calls web site analytics.
* Also, the main entry point page is different.
* The newsfeeds are generated here as well.
*/
public class WebSite {
......@@ -25,7 +27,7 @@ public class WebSite {
private static final String ANALYTICS_TAG = "<!-- analytics -->";
private static final String ANALYTICS_SCRIPT =
"<script src='http://www.google-analytics.com/ga.js' type=\"text/javascript\" />\n" +
"<script src=\"http://www.google-analytics.com/ga.js\" type=\"text/javascript\"></script>\n" +
"<script type=\"text/javascript\">var pageTracker=_gat._getTracker(\"UA-2351060-1\");pageTracker._initData();pageTracker._trackPageview();</script>";
public static void main(String[] args) throws Exception {
......@@ -35,6 +37,7 @@ public class WebSite {
private void run() throws Exception {
deleteRecursive(new File(targetDir));
copy(new File(sourceDir), new File(targetDir));
Newsfeed.main(new String[] {"dataWeb/html"});
}
private void deleteRecursive(File dir) {
......
......@@ -482,4 +482,5 @@ xmlstartdoc xmltext xor xrmd xrunhprof xsi xsm xtea xti xtime xts xvi xyz yacute
year yen yes yet yield yielding ymd you your yourkit yourself ytd yuml yusuke
yyyy zeile zero zeros zeta zip zloty zone zwj zwnj
cron ide pageview track gat analytics tracker implicitly ignores
\ No newline at end of file
cron ide pageview track gat analytics tracker implicitly ignores pro providers
tmpdir mini
\ No newline at end of file
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论