Configuring H2 database in Spring Boot

This article shows you how to configure the H2 database within a Spring Boot application.

Thành Trần
Programming Sharing
3 min readJan 4, 2021

--

What is H2 database?

H2 database is an open-source in-memory database that can be easily embedded into Java application. H2 database provides a list of features such as Pure Java, memory mode, encrypted database, ODBC driver even full-text search. Its size approx around 2MB.

H2 database also provides a browser-based Console application to manage data.

--

--

Software Engineer, Blogger at Programming Sharing. Enjoy technology, economics, and finance.