Inspect in memory hsqldb while debugging
- by Albert
We're using hdsqldb in memory to run junit tests which operate against a database. The db is setup before running each test via a spring configuration. All works fine.
Now when a tests fails it can be convinient to be able to inspect the values in the in memory database. Is this possible? If so how?
Our url is:
jdbc.url=jdbc:hsqldb:mem:testdb;sql.enforce_strict_size=true
The database is destroyed after each tests. But when the debugger is running the database should also still be alive. I've tried connecting with the sqldb databaseManager. That works, but I don't see any tables or data. Any help is highly appreciated!