Download the H2 JDBC driver, copy the JDBC URL into DbSchema, and start designing schemas with ER diagrams — free Community Edition.
A JDBC driver is a Java .jar library that lets applications connect to H2.
DbSchema uses JDBC to reverse engineer schemas, run SQL, and generate documentation.
Driver files are usually published by the database vendor or an open-source project.
Host, port, database name, and SSL options are passed in a URL starting with jdbc:.
Each H2 driver uses its own syntax — see the connection details below.
H2 is a fast, embedded Java SQL database engine, widely used for unit testing, Spring Boot applications, and lightweight embedded use cases. It supports in-memory mode for tests that need a clean database on every run and file-based mode for persistence.
The driver archive is a zip file. Extract it and load the .jar files using DbSchema's Driver Manager.
DbSchema connects to H2 in both in-memory and persistent modes. Use DbSchema's Query Builder to explore H2 schemas during development, and the Schema Synchronization feature to compare H2 test schemas against production database schemas.
Connect H2, build your first ER diagram in minutes. No account required.
Get the H2 driver zip below and install DbSchema for Windows, macOS, or Linux.
In DbSchema, open Driver Manager, add the extracted JAR, and paste your JDBC URL.
Reverse engineer H2, edit the model visually, and publish schema documentation.
After the JDBC driver connects, you get ER diagrams, SQL editor, schema sync, and HTML documentation in one desktop app. Compare DbSchema editions.
Reverse engineer H2 into an interactive diagram and edit structures visually.
Run SQL with autocomplete or compose queries without writing every join by hand.
Export HTML docs your team can browse without installing DbSchema.
Connection tips, ports, SSL, and schema design workflows on the database landing page.
Other drivers teams often configure alongside H2.
Teams working with H2 often use these engines too. Explore dedicated guides and JDBC setup for each.