I have created database with my own program and it appeared as mydatabase.mv.db
file.
But when I tried to access the same database with DbVisualizer
, with apparently same parameters, it created two files mydatabase.lock.db
and celebrity.h2.db
and didn't see tables, created in the program.
What was the incompatibility?
UPDATE
both setups are follows:
In H2 version 1.3.x, the database file <databaseName>.h2.db
is the default. (The storage engine "PageStore" is used).
In H2 version 1.4.x, the database file <databaseName>.mv.db
is the default. (The storage engine "MVStore" is used). The MVStore is still beta right now (November 2014). But you can disable the MVStore by appending ;mv_store=false
to the database URL.