I am working on a server-application written in java. There are up to 30 client requests per second, for every request a specific mysql table entry gets updated.
All the server threads use a single mySQL Connection, they obtain it from a singleton class. Then the server thread creates a Statement and executes a update query.
Although I close all the created Statements after execution, the server stops updating the mySQL table after some hours.
What could be wrong? Is this setup a misconcept?