h2
« Back to VersTracker
Description:
Java SQL database
Type: Formula  |  Latest Version: 2.4.240@0  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Databases
Tags: java sql database embedded jdbc
Install: brew install h2
About:
H2 is a lightweight, open-source SQL database written in Java. It supports embedded and in-memory modes, as well as a server mode with ODBC and JDBC connectivity. Its small footprint and speed make it ideal for rapid application development and testing.
Key Features:
  • Embedded and in-memory database modes
  • Supports standard SQL and ACID compliance
  • JDBC and ODBC drivers included
  • Small footprint (<2MB jar file)
Use Cases:
  • Unit and integration testing for Java applications
  • Embedded database for desktop or mobile apps
  • Rapid prototyping and development
Alternatives:
  • SQLite – H2 is Java-based with server mode, while SQLite is a C library focused on embedded use.
  • Apache Derby – Derby is a heavier, full-featured Java database; H2 is known for its speed and simplicity.
Version History
Detected Version Rev Change Commit
Sep 23, 2025 2:40pm 2.4.240 0 VERSION_BUMP 6cfbbe38
Sep 23, 2025 12:58pm 2.4.240 0 VERSION_BUMP 0618413a