H2 database

H2 database is a Java-based database available for both embedded or client/server use. It’s very small and requires just 1.5MB of disk space. Created by Thomas Müller, man behind HyperSQL/HSQLDB, H2 is an improvement over his earlier work on HSQLDB. He was forced to stop working on HyperSQL by his then employer. When that company ran out of money 5 years later, Thomas decided that it makes more sense to do a fresh start and make radical changes than try to improve HSQLDB.

We support H2 directly in our products! You don't need separate drivers and can immediately connect to your database.

H2 supports durable disk-based tables, as well as in-memory tables (which are, of course, very fast). It can even emulate PostgreSQL when connected via Postgres’s ODBC driver. Multi-version concurrently control, table-locking, full-text search and data encryption are built-in – a surprisingly rich functionality for such a tiny database engine.

As an embedded database, H2 is very good. It’s fast, trivial to use – and works well. Many developers use it as an integration test database (we use it for that, as well).

All our applications are .NET applications. We opted to support Java-based H2 database by migrating it to .NET platform using IKVM.NET, which automatically migrates Java bytecode to .NET bytecode. Therefore, we have native support for H2 and can read, write and query H2.

All our products support H2 database directly.

Export your H2 database

It may make sense to migrate your data away from H2. You may want to do it permanently or just need to share your tables with a collague in a different format.

We will copy all your tables with their data and apply indexing and relationships exactly as they are in your current H2 database. In a nutshell, you get exactly the same database in another database engine. Each time you run the migration, we will copy all the tables again. Of course, we have a built-in scheduler, so you can run this overnight and have a fresh database copy in the morning.

Take a look at the quick tutorials below to see how it's done.

Import data into your H2 database

We have several solutions to copy data and for most purposes we'd recommend Full Convert to do it.

Additionally, if you want to import data on a regular basis and do not want to recreate the whole target database from scratch every time, but rather do tiny targeted sync of only changes since the last run, either use Full Convert Pro, or Replicator.

Take a look at the quick tutorials below to see how it's done.

© 2020 Spectral Core Ltd. All rights reserved.