JAVA: MySql: too many connection
问题 I think that my application is cursed, debug goes where it wants and I don't know why. Line by line debugging seems to analyze also the commented rows. I think that the problems are on my Connection method, I see a significant performance slowdown, and at the third (or fourth nvm) connection I get this error: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Too many connections I'm sure that I close the connection each time I've access to the DB (with finally statement