Question: what is h2 database in spring?
Answer: H2 is one of the popular in-memory databases written in Java. It can be embedded in Java applications or run in the client-server mode. Spring Boot provides excellent integration support for H2 using simple properties configuration.