Sample answer: "If a JDBC driver and pool are on the classpath and I set spring.datasource.url, Boot creates a pooled DataSource. It prefers HikariCP for performance and concurrency, then other pools. With no URL and an embedded database like H2 on the classpath, it creates an in-memory database."
Medium
java
spring