I don't know Hikari specifically, but for every connection you take out of a
connection pool, you have to return that connection when you are done with it.
Typically this is done using Connection.close() - the pool hands out a wrapper
function where close() doesn't physically close the connection, only returns it.
So your code should look like this:
mybatis-sqlSession "关闭connection"
最新推荐文章于 2024-01-30 09:17:05 发布