test steps
Step 1: Start the database (mysql-5.6.51-winx64)
Step 2: Use SQLyogEnt to connect to the database and view the current connection
Step 3: Start tomat (the data source has been deployed, start to create 4 connections)
Step 4: Use SQLyogEnt to view the current connection
Step 5: After closing Tomcat, use SQLyogEnt to view the current connection status
Conclusion: 4 connections were closed
Once again, the hard quality of the connection pool of the little bee is proved by facts
Source code: https://github.com/Chris2018998/BeeCP/blob/master/doc/example/Tomcat-BeeCP.zip
{{o.name}}
{{m.name}}