How to see all tables in my h2 database at localhost:8082?

I had the same issue and the answer seems to be really stupid: when you type your database name you shouldn’t add “.h2.db” suffix, for example, if you have db file “D:\somebase.h2.db” your connection string should be like “jdbc:h2:file:/D:/somebase“. In other way jdbc creates new empty database file named “somebase.h2.db.h2.db” and you see what you see: only system tables.

Leave a Comment