H2 is an open-source lightweight relational database for the Java platform. It is provided by Spring Boot by default and is easy and quick to set up in comparison with other databases. Using H2 as a database in training projects can help you to concentrate on learning Spring Boot and java features instead of database-specific setup.
- Java 11+
- IntelliJ IDEA / Netbeans / Eclipse
-
Start application in IDE or via command line:
./gradlew bootRun
-
Access the H2-Console and inform the credentials defined at application.properties.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. Please make sure to update tests as appropriate.
Usage is provided under the MIT License. See LICENSE for full details.