HikariCP (built into Spring Boot by default) solves this. A pool of connections is created at startup, reused across requests, and returned when done. The real question isn't whether to use a pool ...
一些您可能无法访问的结果已被隐去。
显示无法访问的结果一些您可能无法访问的结果已被隐去。
显示无法访问的结果