Spring boot h2 console example. To enable the console we need to set property spring.

Spring boot h2 console example. In this example, we are using the queryForObject method.