Spring-boot + JDBC + HSQLDB: How to Verify if Spring Boot is using a Connection Pool?
According to this documentation : 29.1.1 Embedded Database Support Spring Boot can auto-configure embedded H2, HSQL and Derby databases. You don’t need to provide any connection URLs, simply include a build dependency to the embedded database that you want to use. and 29.1.2 Connection to a production database Production database connections can also be auto-configured using a pooling DataSource. DataSource configuration is controlled by external configuration properties in spring.datasource.*. For example, you might declare the following section in application.properties: spring.datasource