Re: MySQLQueryInterruptedException while no one killed the query
Posted by: Nikolay Karasev
Date: October 07, 2014 02:48PM

are you saying that setQueryTimeout would behave like killing query in such short term as 2 millis? We do in fact use setQueryTimeout and almost always with 1 second. This kill however occurs only ever so unfrequently.

I also found out that with Java 1.7 the setQueryTimeout no longer makes any effect if we use JBoss managed pool of connections. The query always obeys what the JBoss config (JNDI) has.


Options: ReplyQuote

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.