A magical bug caused the connection not to be released

Strange spring's service A depends on service B, C, and service B also depends on service C, which leads to interdependence and full direct connections after spring is started; the lesson for me is that it is best not to rely on services containing database operations in services. Good to inject Dao to avoid dependency issues!

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326257818&siteId=291194637