Timeout on executeQuery
Hi !
I'm using the last MySQL-Connector driver to connect to my MySQL database.
I'm only working with SELECT queries.
This night, the /persist/ directory, on the file system where my DB is installed, was full, and then the DB didn't reponse any more to requests... the java code was blocked on the preparedStatement.executeQuery()
Is there a solution to limit the time passed in a PreparedStatement.executeQuery ?
Setting a timeout on statement or on MySQL DB for example, or anything else ?
Thanks
Ludovic
Subject
Written By
Posted
Timeout on executeQuery
February 14, 2005 10:27AM
February 15, 2005 05:29AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.