# Roadmap

New (feature) requests will usually be added at the very end of the list. The priority is increased for important and popular requests. Of course, patches are always welcome, but are not always applied as is. See also Providing Patches.

## Version 1.2

- Enable the system property h2.optimizeInList by default.
- Enable the system property h2.nullConcatIsNull by default.
- Enable the system property h2.pageStore by default.

## Priority 1

- Bugfixes
- Page store: new storage mechanism
- [Requires page store] Support large updates (use the transaction log for rollback).
- [Requires page store] Shutdown compact
- More tests with MULTI_THREADED=1
- RECOVER=1 should automatically recover, =2 should run the recovery tool if required
- Optimization: result set caching (like MySQL)
- Server side cursors

## Priority 2

- Improve test code coverage
- Issue 116: Maven: deploy / upload h2..-sources.jar and javadocs as well.
- Procedural language / script language (Java, Javascript)
- Fulltext search: support streaming CLOB data.
- Enable warning for 'Local variable declaration hides another field or variable'.
- Test multi-threaded in-memory db access
- MVCC: select for update should only lock the selected rows.
- Option to shutdown all the running servers (on the same VM).
- [Requires page store] Index organized tables CREATE TABLE...(...) ORGANIZATION INDEX
- [Requires page store] Better space re-use in the files after deleting data: shrink the data file without closing the database (if the end of the file is empty)
- Full outer joins
- Implement INSTEAD OF trigger (for views, tables, metadata tables).
- Support triggers for INFORMATION_SCHEMA tables (to better support PostgreSQL catalog: rebuild after creating new tables)
- Use triggers for metadata tables; use for PostgreSQL catalog
- Test very large databases and LOBs (up to 256 GB)
- Support hints for the optimizer (which index to use, enforce the join order).
- 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)
- Clustering: recovery needs to becomes fully automatic. Global write lock feature.
- Support mixed clustering mode (one embedded, others in server mode)
- Sequence: add features [NO] MINVALUE, MAXVALUE, CYCLE
- Deferred integrity checking (DEFERRABLE INITIALLY DEFERRED)
- Groovy Stored Procedures (http://groovy.codehaus.org/Groovy+SQL)
- Add a migration guide (list differences between databases)
- Migrate database tool (also from other database engines)
- Optimization: automatic index creation suggestion using the trace file?
- Compression performance: don't allocate buffers, compress / expand in to out buffer
- Rebuild index functionality to shrink index size and improve performance
- Don't use deleteOnExit (bug 4513817: File.deleteOnExit consumes memory)
- Console: add accesskey to most important commands (A, AREA, BUTTON, INPUT, LABEL, LEGEND, TEXTAREA)
- Support nested outer joins (see todo.txt).
- Test performance again with SQL Server, Oracle, DB2
- Test with dbmonster (http://dbmonster.kernelpanic.pl/)
- Test with dbcopy (http://dbcopyplugin.sourceforge.net)
- Test with Spatial DB in a box / JTS: http://www.opengeospatial.org/standards/sfs - OpenGIS Implementation Specification
- Write more tests and documentation for MVCC (Multi Version Concurrency Control)
- Find a tool to view large text file (larger than 100 MB), with find, page up and down (like less), truncate before / after
- Implement, test, document XAConnection and so on
- Pluggable data type (for compression, validation, conversion, encryption)
- CHECK: find out what makes CHECK=TRUE slow, move to CHECK2
- Improve recovery: improve code for log recovery problems (less try/catch)
- Index usage for (ID, NAME)=(1, 'Hi'); document
- Make DDL (Data Definition) operations transactional
- RANK() and DENSE_RANK(), Partition using OVER()
- Set a connection read only (Connection.setReadOnly) or using a connection parameter
- Suggestion: include Jetty as Servlet Container (like LAMP)
- Trace shipping to server
- Version check: docs / web console (using Javascript), and maybe in the library (using TCP/IP)
- Web server classloader: override findResource / getResourceFrom
- Cost for embedded temporary view is calculated wrong, if result is constant
- Comparison: pluggable sort order: natural sort
- Count index range query (count(*) where id between 10 and 20)
- Support alter table add column if table has views defined
- Eclipse plugin
- Asynchronous queries to support publish/subscribe: SELECT ... FOR READ WAIT [maxMillisToWait]
- Fulltext search Lucene: analyzer configuration.
- Fulltext search (native): reader / tokenizer / filter.
- Linked schema using CSV files: one schema for a directory of files; support indexes for CSV files
- iReport to support H2
- Implement missing JDBC API (CallableStatement,...)
- Compression of the cache
- Include SMPT (mail) server (at least client) (alert on cluster failure, low disk space,...)
- Drop with restrict (currently cascade is the default)
- JSON parser and functions
- Automatic collection of statistics (auto ANALYZE)
- Server: client ping from time to time (to avoid timeout - is timeout a problem?)
- Copy database: tool with config GUI and batch mode, extensible (example: compare)
- Document, implement tool for long running transactions using user-defined compensation statements.
- Support SET TABLE DUAL READONLY
- GCJ: what is the state now?
- Events for: database Startup, Connections, Login attempts, Disconnections, Prepare (after parsing), Web Server (see http://docs.openlinksw.com/virtuoso/fn_dbev_startup.html)
- Optimization: log compression
- ROW_NUMBER() OVER([ORDER BY columnName])
- 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)
- Compatibility: in MySQL, HSQLDB, /0.0 is NULL; in PostgreSQL, Derby: division by zero
- Functional tables should accept parameters from other tables (see FunctionMultiReturn) SELECT * FROM TEST T, P2C(T.A, T.R)
- Custom class loader to reload functions on demand
- Test http://mysql-je.sourceforge.net/
- Close all files when closing the database (including LOB files that are open on the client side)
- EXE file: maybe use http://jsmooth.sourceforge.net
- Performance: automatically build in-memory indexes if the whole table is in memory
- H2 Console: the webclient could support more features like phpMyAdmin.
- Use Janino to convert Java to C++
- The HELP information schema can be directly exposed in the Console
- Maybe use the 0x1234 notation for binary fields, see MS SQL Server
- Support Oracle CONNECT BY in some way: http://www.adp-gmbh.ch/ora/sql/connect_by.html, http://philip.greenspun.com/sql/trees.html
- SQL Server 2005, Oracle: support COUNT(*) OVER(). See http://www.orafusion.com/art_anlytc.htm
- SQL 2003 (http://www.wiscorp.com/sql_2003_standard.zip)
- Version column (number/sequence and timestamp based)
- Optimize getGeneratedKey: send last identity after each execute (server).
- Test and document UPDATE TEST SET (ID, NAME) = (SELECT ID*10, NAME || '!' FROM TEST T WHERE T.ID=TEST.ID);
- Max memory rows / max undo log size: use block count / row size not row count
- Support 123L syntax as in Java; example: SELECT (2000000000*2)
- Implement point-in-time recovery
- LIKE: improved version for larger texts (currently using naive search)
- Automatically convert to the next 'higher' data type whenever there is an overflow.
- Throw an exception when the application calls getInt on a Long (optional)
- Default date format for input and output (local date constants)
- Support custom Collators
- Document ROWNUM usage for reports: SELECT ROWNUM, * FROM (subquery)
- Clustering: reads should be randomly distributed or to a designated database on RAM
- Clustering: when a database is back alive, automatically synchronize with the master
- Optimizer: use an index for IS NULL and IS NOT NULL (including linked tables). ID IS NOT NULL could be converted to ID >= Integer.MIN_VALUE.
- Standalone tool to get relevant system properties and add it to the trace output.
- Support 'call proc(1=value)' (PostgreSQL, Oracle)
- JAMon (proxy jdbc driver)
- Console: improve editing data (Tab, Shift-Tab, Enter, Up, Down, Shift+Del?)
- Console: autocomplete Ctrl+Space inserts template
- Simplify translation ('Donate a translation')
- Option to encrypt .trace.db file
- 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
- Functions with unknown return or parameter data types: serialize / deserialize
- Test if idle TCP connections are closed, and how to disable that
- Try using a factory for Row, Value[] (faster?), http://javolution.org/, alternative ObjectArray / IntArray
- Auto-Update feature for database, .jar file
- ResultSet SimpleResultSet.readFromURL(String url): id varchar, state varchar, released timestamp
- Partial indexing (see PostgreSQL)
- The build should fail if the test fails
- Add GUI to build a custom version (embedded, fulltext,...) using build flags
- http://rubyforge.org/projects/hypersonic/
- Add comparator (x === y) : (x = y or (x is null and y is null))
- Try to create trace file even for read only databases
- 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)
- Count on a column that can not be null could be optimized to COUNT(*)
- Table order: ALTER TABLE TEST ORDER BY NAME DESC (MySQL compatibility)
- Backup tool should work with other databases as well
- Console: -ifExists doesn't work for the console. Add a flag to disable other dbs
- Performance: update in-place
- Check if 'FSUTIL behavior set disablelastaccess 1' improves the performance (fsutil behavior query disablelastaccess)
- Java static code analysis: http://pmd.sourceforge.net/
- Java static code analysis: http://www.eclipse.org/tptp/
- Compatibility for CREATE SCHEMA AUTHORIZATION
- Implement Clob / Blob truncate and the remaining functionality
- Maybe close LOBs after closing connection
- Tree join functionality
- Add multiple columns at the same time with ALTER TABLE .. ADD .. ADD ..
- Add H2 to Gem (Ruby install system)
- API for functions / user tables
- Order conditions inside AND / OR to optimize the performance
- Support linked JCR tables
- Make sure H2 is supported by Execute Query: http://executequery.org/
- Read InputStream when executing, as late as possible (maybe only embedded mode). Problem with re-execute.
- Native fulltext search: min word length; store word positions
- [Requires page store] Store dates in local time zone (portability of database files)
- Recursive Queries (see details)
- Add an option to the SCRIPT command to generate only portable / standard SQL
- Test Dezign for Databases (http://www.datanamic.com)
- Fast library for parsing / formatting: http://javolution.org/
- Updatable Views (simple cases first)
- Improve create index performance
- Implement more JDBC 4.0 features
- Support TRANSFORM / PIVOT as in MS Access
- SELECT * FROM (VALUES (...), (...), ....) AS alias(f1, ...)
- Support updatable views with join on primary keys (to extend a table)
- Public interface for functions (not public static)
- Autocomplete: if I type the name of a table that does not exist (should say: syntax not supported)
- Document FTP server, including -ftpTask option to execute / kill remote processes
- Eliminate undo log records if stored on disk (just one pointer per block, not per record)
- Feature matrix like in i-net software.
- Updatable result set on table without primary key or unique index
- Use LinkedList instead of ArrayList where applicable
- Support % operator (modulo)
- Support 1+'2'=3, '1'+'2'='12' (MS SQL Server compatibility)
- Support nested transactions
- Add a benchmark for big databases, and one for many users
- Compression in the result set (repeating values in the same column) over TCP/IP
- Support curtimestamp (like curtime, curdate)
- Support ANALYZE {TABLE|INDEX} tableName COMPUTE|ESTIMATE|DELETE STATISTICS ptnOption options
- Support Sequoia (Continuent.org)
- Dynamic length numbers / special methods for DataPage.writeByte / writeShort / Ronni Nielsen
- Pluggable ThreadPool, (AvalonDB / deebee / Paul Hammant)
- Release locks (shared or exclusive) on demand
- Support OUTER UNION
- Support parameterized views (similar to CSVREAD, but using just SQL for the definition)
- A way (JDBC driver) to map an URL (jdbc:h2map:c1) to a connection object
- Option for SCRIPT to only process one or a set of tables, and append to a file
- Support linked tables to the current database
- Support dynamic linked schema (automatically adding/updating/removing tables)
- Compatibility with Derby: VALUES(1), (2); SELECT * FROM (VALUES (1), (2)) AS myTable(c1)
- Compatibility: # is the start of a single line comment (MySQL) but date quote (Access). Mode specific
- Run benchmarks with JDK 1.5, JDK 1.6, java -server
- Optimizations: faster hash function for strings, byte arrays
- DatabaseEventListener: callback for all operations (including expected time, RUNSCRIPT) and cancel functionality
- H2 Console / large result sets: use 'streaming' instead of building the page in-memory
- Benchmark: add a graph to show how databases scale (performance/database size)
- Implement a SQLData interface to map your data over to a custom object
- In the MySQL and PostgreSQL mode, use lower case identifiers by default (DatabaseMetaData.storesLowerCaseIdentifiers = true)
- Allow execution time prepare for SELECT * FROM CSVREAD(?, 'columnNameString')
- Support multiple directories (on different hard drives) for the same database
- Server protocol: use challenge response authentication, but client sends hash(user+password) encrypted with response
- Support EXEC[UTE] (doesn't return a result set, compatible to MS SQL Server)
- Support native XML data type
- Support triggers with a string property or option: SpringTrigger, OSGITrigger
- Clustering: adding a node should be very fast and without interrupting clients (very short lock)
- Support materialized views (using triggers)
- Ability to resize the cache array when resizing the cache
- Time based cache writing (one second after writing the log)
- Check state of H2 driver for DDLUtils: https://issues.apache.org/jira/browse/DDLUTILS-185
- Support JMX: create an MBean for each database and server (support JConsole). See http://thedevcloud.blogspot.com/2008/10/displaying-hsql-database-manager-in.html http://java.sun.com/j2se/1.5.0/docs/api/java/lang/management/ManagementFactory.html#getPlatformMBeanServer() http://java.sun.com/j2se/1.5.0/docs/guide/management/agent.html
- Index usage for REGEXP LIKE.
- Compatibility: add a role DBA (like ADMIN).
- Better support multiple processors for in-memory databases.
- Access rights: remember the owner of an object. COMMENT: allow owner of object to change it.
- Access rights: finer grained access control (grant access for specific functions)
- Support N'text'
- Pure SQL triggers (example: update parent table if the child table is changed).
- Support SCOPE_IDENTITY() to avoid problems when inserting rows in a trigger
- In MySQL mode, for AUTO_INCREMENT columns, don't set the primary key
- 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).
- Support compatibility for jdbc:hsqldb:res:
- Provide an Java SQL builder with standard and H2 syntax
- Trace: write OS, file system, JVM,... when opening the database
- Support indexes for views (probably requires materialized views)
- Document SET SEARCH_PATH, BEGIN, EXECUTE, parameters
- Browser: use Desktop.isDesktopSupported and browse when using JDK 1.6
- Server: use one listener (detect if the request comes from an PG or TCP client)
- Store dates as 'local'. Existing files use GMT. Use escape syntax for compatibility.
- Support data type INTERVAL
- Optimize SELECT MIN(ID), MAX(ID), COUNT(*) FROM TEST WHERE ID BETWEEN 100 AND 200
- Support Oracle functions: TRUNC, NVL2, TO_CHAR, TO_DATE, TO_NUMBER
- Sequence: PostgreSQL compatibility (rename, create) (http://www.postgresql.org/docs/8.2/static/sql-altersequence.html)
- DISTINCT: support large result sets by sorting on all columns (additionally) and then removing duplicates.
- File system that writes to two file systems (replicating file system)
- File system with a background writer thread; test if this is faster
- FTP access to a database (.csv for a table, a directory for a schema, a file for a lob, a script.sql file).
- Better document the source code
- Support select * from dual a left join dual b on b.x=(select max(x) from dual)
- Optimization: don't lock when the database is read-only
- Integrate spatial functions from http://geosysin.iict.ch/irstv-trac/wiki/H2spatial/Download
- Support COSH, SINH, and TANH functions
- FTP Server: implement SFTP / FTPS
- Native search: support "phrase search", wildcard search (* and ?), case-insensitive search, boolean operators, and grouping
- Improve documentation of access rights
- Support ENUM data type (see MySQL, PostgreSQL, MS SQL Server, maybe others)
- Command line option for the H2 Console and TCP configuration (which .h2.server.properties and .h2.keystore to use)
- Support a schema name for Java functions
- Remember the user defined data type (domain) of a column
- Support Jackcess (MS Access databases)
- Built-in methods to write large objects (BLOB and CLOB): FILE_WRITE('test.txt', 'Hello World')
- MVCC: support transactionally consistent backups using SCRIPT
- Improve time to open large databases (see mail 'init time for distributed setup')
- Move Maven 2 repository from hsql.sf.net to h2database.sf.net
- Java 1.5 tool: JdbcUtils.closeSilently(s1, s2,...)
- Javadoc: document design patterns used
- Does the FTP server has problems with multithreading?
- Write an article about SQLInjection (h2\src\docsrc\html\images\SQLInjection.txt)
- Convert SQL-injection-2.txt to html document, include SQLInjection.java sample
- Improve LOB in directories performance
- Web site design: http://www.igniterealtime.org/projects/openfire/index.jsp
- HSQLDB compatibility: Openfire server uses: CREATE SCHEMA PUBLIC AUTHORIZATION DBA; CREATE USER SA PASSWORD ""; GRANT DBA TO SA; SET SCHEMA PUBLIC
- Translation: use ${.} in help.csv
- Translated .pdf
- Cluster: hot deploy (adding a node at runtime)
- MySQL compatibility: update test1 t1, test2 t2 set t1.id = t2.id where t1.id = t2.id;
- Recovery tool: bad blocks should be converted to INSERT INTO SYSTEM_ERRORS(...), and things should go into the .trace.db file
- RECOVER=2 to backup the database, run recovery, open the database
- Recovery should work with encrypted databases
- Corruption: new error code, add help
- Space reuse: after init, scan all storages and free those that don't belong to a live database object
- SysProperties: change everything to H2_...
- Use FilterIn / FilterOut putStream?
- Access rights: add missing features (users should be 'owner' of objects; missing rights for sequences; dropping objects)
- Support NOCACHE table option (Oracle)
- Support table partitioning.
- Index usage for UPDATE ... WHERE .. IN (SELECT...)
- Add regular javadocs (using the default doclet, but another css) to the homepage.
- The database should be kept open for a longer time when using the server mode.
- Javadocs: for each tool, add a copy & paste sample in the class level.
- Javadocs: add @author tags.
- Fluent API for tools: Server.createTcpServer().setPort(9081).setPassword(password).start();
- MySQL compatibility: real SQL statement for DESCRIBE TEST
- Use a default delay of 1 second before closing a database.
- Write (log) to system table before adding to internal data structures.
- Support very large deletes and updates.
- Doclet (javadocs): constructors are not listed.
- Support direct lookup for MIN and MAX when using WHERE (see todo.txt / Direct Lookup).
- Support other array types (String[], double[]) in PreparedStatement.setObject(int, Object);
- MVCC should not be memory bound (uncommitted data is kept in memory in the delta index; maybe using a regular b-tree index solves the problem).
- Oracle compatibility: support NLS_DATE_FORMAT.
- Support flashback queries as in Oracle.
- Import / Export of fixed with text files.
- Support OUT parameters in user-defined procedures.
- Support getGeneratedKeys to return multiple rows when used with batch updates. This is supported by MySQL, but not Derby. Both PostgreSQL and HSQLDB don't support getGeneratedKeys. Also support it when using INSERT ... SELECT.
- HSQLDB compatibility: automatic data type for SUM if value is the value is too big (by default use the same type as the data).
- Improve the optimizer to select the right index for special cases: where id between 2 and 4 and booleanColumn
- Linked tables: make hidden columns available (Oracle: rowid and ora_rowscn columns).
- Support merge join.
- H2 Console: in-place autocomplete.
- Oracle: support DECODE method (convert to CASE WHEN).
- Support large databases: split LOB (BLOB, CLOB) to multiple directories / disks (similar to tablespaces).
- Support to assign a primary key index a user defined name.
- Cluster: add feature to make sure cluster nodes can not get out of sync (for example by stopping one process).
- H2 Console: support configuration option for fixed width (monospace) font.
- Native fulltext search: support analyzers (specially for Chinese, Japanese).
- Automatically compact databases from time to time (as a background process).
- Support SCOPE_IDENTITY().
- Support GRANT SELECT, UPDATE ON *.
- Test Eclipse DTP.
- H2 Console: autocomplete: keep the previous setting
- MySQL, MS SQL Server compatibility: support case sensitive (mixed case) identifiers without quotes.
- executeBatch: option to stop at the first failed statement.
- Implement OLAP features as described here: http://www.devx.com/getHelpOn/10MinuteSolution/16573/0/page/5
- Support Oracle ROWID (unique identifier for each row).
- Server mode: improve performance for batch updates.
- Applets: support read-only databases in a zip file (accessed as a resource).
- Long running queries / errors / trace system table.
- H2 Console should support JaQu directly.
- H2 Console: support single file upload and directory download (optional).
- Document FTL_SEARCH, FTL_SEARCH_DATA.
- Sequences: CURRVAL should be session specific. Compatibility with PostgreSQL.
- Support DatabaseMetaData.insertsAreDetected: updatable result sets should detect inserts.
- Auto-server: add option to define the IP address range or list.
- Index creation only using deterministic functions.
- Use http://recaptcha.net somehow to secure the Google Group.
- Support DELETE with TOP or LIMIT. See also: http://dev.mysql.com/doc/refman/5.1/de/delete.html
- Change the default for NULL || 'x' to return NULL
- ANALYZE: use a bloom filter for each indexed column to estimate count of distinct values.
- ANALYZE: for unique indexes that allow null, count the number of null.
- AUTO_SERVER: support changing IP addresses (disable a network while the database is open).
- Avoid using java.util.Calendar internally because it's slow, complicated, and seems to be buggy.
- Support TRUNCATE .. CASCADE like PostgreSQL.
- Support opening a database that is in the classpath, maybe using a new file system.
- Fulltext search: lazy result generation using SimpleRowSource.
- Support transformation to join for user defined functions, as for IN(SELECT...).
- Fulltext search: support alternative syntax: WHERE FTL_CONTAINS(name, 'hello').
- MySQL compatibility: support REPLACE, see http://dev.mysql.com/doc/refman/5.1/de/replace.html
- MySQL compatibility: support INSERT INTO table SET column1 = value1, column2 = value2
- Docs: add a one line description for each functions and SQL statements at the top (in the link section).
- Javadoc search: weight for titles should be higher ('random' should list Functions as the best match).
- Replace information_schema tables with regular tables that are automatically re-built when needed. Use indexes.
- Support a special trigger on all tables.
- Delete temporary files or objects using finalize.
- Oracle compatibility: support calling 0-parameters functions without parenthesis. Make constants obsolete.
- MySQL, HSQLDB compatibility: support where 'a'=1 (not supported by Derby, PostgreSQL)
- Allow calling function with no parameters without parenthesis. See http://code.google.com/p/h2database/issues/detail?id=50
- CSV: currently # is a line comment and can start at any field. Make it optional.
- Add database creation date and time to the database.
- Support ASSERTIONS.
- Support multi-threaded kernel with multi-version concurrency.
- MySQL compatibility: support comparing 1='a'
- Support PostgreSQL lock modes: http://www.postgresql.org/docs/8.3/static/explicit-locking.html
- PostgreSQL compatibility: test DbVisualizer and Squirrel SQL using a new PostgreSQL JDBC driver.
- RunScript should be able to read from system in (or quite mode for Shell).
- Natural join: support select x from dual natural join dual.
- Natural join: somehow support this: select a.x, b.x, x from dual a natural join dual b
- MySQL compatibility: for auto_increment columns, convert 0 to next value (as when inserting NULL).
- Functions: support hashcode(value); cryptographic and fast
- Serialized file lock: support long running queries.
- Network: use 127.0.0.1 if other addresses don't work.
- Select for update in mvcc mode: only lock the selected records.
- Support reading JCR data: one table per node type; query table; cache option
- OSGi: create a sample application, test, document.
- help.csv: use complete examples for functions; run as test case.
- Re-implement PooledConnection; use a lightweight connection object.
- Doclet: convert tests in javadocs to a java class.
- Doclet: format fields like methods, but support sorting by name and value.
- Doclet: shrink the html files.
- Finer granularity for SLF4J trace - See http://code.google.com/p/h2database/issues/detail?id=62
- MySQL compatibility: support REPLACE - See http://code.google.com/p/h2database/issues/detail?id=73
- MySQL compatibility: support SET NAMES 'latin1' - See also http://code.google.com/p/h2database/issues/detail?id=56
- MySQL compatibility: DELETE .. FROM .. USING - See http://dev.mysql.com/doc/refman/5.0/en/delete.html
- Allow to scan index backwards starting with a value (to better support ORDER BY DESC).
- Java Service Wrapper: try http://yajsw.sourceforge.net/
- Batch parameter for INSERT, UPDATE, and DELETE, and commit after each batch. See also MySQL DELETE.
- MySQL compatibility: support ALTER TABLE .. MODIFY COLUMN.
- Use a lazy and auto-close input stream (open resource when reading, close on eof).
- PostgreSQL compatibility: generate_series.
- Connection pool: 'reset session' command (delete temp tables, rollback, autocommit true).
- Improve SQL documentation, see http://www.w3schools.com/sql/
- MySQL compatibility: DatabaseMetaData.stores*() methods should return the same values. Test with SquirrelSQL.
- MS SQL Server compatibility: support DATEPART syntax.
- Oracle compatibility: support CREATE OR REPLACE VIEW syntax.
- Sybase/DB2/Oracle compatibility: support out parameters in stored procedures - See http://code.google.com/p/h2database/issues/detail?id=83
- Support INTERVAL data type (see Oracle and others).
- Combine Server and Console tool (only keep Server).
- Store the Lucene index in the database itself.
- Oracle compatibility: support DECODE(x, ...).
- Console: Start Browser: if ip number changed, try localhost instead.
- MVCC: compare concurrent update behavior with PostgreSQL and Oracle.
- HSQLDB compatibility: CREATE FUNCTION (maybe using a Function interface).
- HSQLDB compatibility: support CALL "java.lang.Math.sqrt"(2.0)
- Support comma as the decimal separator in the CSV tool.
- Compatibility: Support jdbc:default:connection using ThreadLocal (part of SQLJ)
- Compatibility: Java functions with SQLJ Part1 http://www.acm.org/sigmod/record/issues/9912/standards.pdf.gz
- Compatibility: Java functions with SQL/PSM (Persistent Stored Modules) - need to find the documentation.
- CACHE_SIZE: automatically use a fraction of Runtime.maxMemory - maybe automatically the second level cache.
- Support date/time/timestamp as documented in http://en.wikipedia.org/wiki/ISO_8601
- PostgreSQL compatibility: when in PG mode, treat BYTEA data like PG.
- Support standard MERGE statement: http://en.wikipedia.org/wiki/Merge_%28SQL%29
- MySQL compatibility: REPLACE http://dev.mysql.com/doc/refman/6.0/en/replace.html
- Support =ANY(array) as in PostgreSQL.
- IBM DB2 compatibility: support PREVIOUS VALUE FOR sequence.
- MySQL compatibility: alter table add index i(c), add constraint c foreign key(c) references t(c);
- Compatibility: use different LIKE ESCAPE characters depending on the mode (disable for Derby, HSQLDB, DB2, Oracle, MSSQLServer).
- Functions to calculate the memory and disk space usage of a row or value.
- Oracle compatibility: support CREATE SYNONYM table FOR schema.table.
- Optimize A=? OR B=? to UNION if the cost is lower.
- More secure default configuration if remote access is enabled.
- Optimization for EXISTS: convert to inner join if possible.
- Improve database file locking (maybe use native file locking). The current approach seems to be problematic if the file system is on a remote share (see Google Group 'Lock file modification time is in the future').
- Document internal features such as BELONGS_TO_TABLE, NULL_TO_DEFAULT, SEQUENCE.
- Issue 107: Prefer using the ORDER BY index if LIMIT is used.
- Support reading sequences using DatabaseMetaData.getTables(null, null, null, new String[]{"SEQUENCE"}). See PostgreSQL.
- Add option to enable TCP_NODELAY using Socket.setTcpNoDelay(true).
- Maybe disallow = within database names (jdbc:h2:mem:MODE=DB2 means database name MODE=DB2).
- Fast alter table add column.
- Improve concurrency for in-memory database operations.
- Issue 122: Support for connection aliases for remote tcp connections.
- Fast scrambling (strong encryption doesn't help if the password is included in the application).
- Faster startup if there is a large number of LOB files.
- Support using system properties in database URLs (may be a security problem).
- Issue 126: The index name should be "IDX_" plus the constraint name unless there is a conflict, in which case append a number.
- Issue 127: Support activation/deactivation of triggers
- Issue 130: Custom log event listeners
- Issue 131: IBM DB2 compatibility: sysibm.sysdummy1
- Issue 132: Use Java enum trigger type.
- Issue 134: IBM DB2 compatibility: session global variables.
- FTL_SET_OPTION(keyString, valueString) with key stopWords at first.

## Not Planned

- HSQLDB (did) support this: select id i from test where i<0 (other databases don't). Supporting it may break compatibility.
- String.intern (so that Strings can be compared with ==) will not be used because some VMs have problems when used extensively.