A Small Lesson I Learned About Connection Pools

While working on a Java application (JDBC) recently, I came across an interesting design question involving HikariCP connection pools.