Hi,
Good question. Let me brief example steps to access the local test h2
db. However, please beware that h2 local file db is not designed to work
with multi-process client accesses, and so you should do these after
stopping the Hippo repository process (e.g, stop the -Pcargo.run) only
to understand how the database looks like.
If you run `mvn -Pcargo.run', then you will see target/storage/ folder.
The default workspace database is stored at
target/storage/workspaces/default/db.h2.db.
And the default version database is stored at
target/storage/version/db.h2.db.
Now, here's how-to to see the internal with h2 client tool:
1. Download the latest h2 here:
-
http://www.h2database.com/html/download.html
2. Extract the archive file and move to h2/bin/directory.
3. Run `sh h2.sh' or 'h2.bat' or 'h2w.bat', depending on your OS.
The command will launch FireFox browser.
4. In the connection pane, enter/select the following:
- Setting: Generic H2 (Embedded)
- Driver Class: org.h2.Driver
- JDBC URL:
jdbc:h2:/home/tester/myhippoproject/target/storage/workspaces/default/db
(Assuming your project root is /home/tester/myhippoproject.)
- Leave User Name and Password empty.
5. Click on Connect button.
6. Select 'DEFAULT_BUNDLE' on the left and try to run.
7. See how it looks like encrypted. ;-)
Cheers,
Woonsan
> <mailto:
hippo-communi...@googlegroups.com>.
w....@onehippo.com www.onehippo.com
Boston - 745 Atlantic Ave, 8th Floor, Boston MA 02111
Amsterdam - Oosteinde 11, 1017 WT Amsterdam