Spring-Boot: How do I set JDBC pool properties like maximum number of connections?

It turns out setting these configuration properties is pretty straight forward, but the official documentation is more general so it might be hard to find when searching specifically for connection pool configuration information. To set the maximum pool size for tomcat-jdbc, set this property in your .properties or .yml file: spring.datasource.maxActive=5 You can also use … Read more