| abort query [message #382786] |
Sun, 26 October 2008 03:28  |
Tom Eugelink Messages: 801 Registered: July 2009 |
Senior Member |
|
|
Currently I have a user specified Eclipselink query running inside a Foxtrot "ConcurrentWorker" task, and I want to user to be able to abort it. The query naturally is either busy in the SQL (JDBC classes) or busy fetching data (Eclipselink).
The recommended approach is not possible, since I do not have a way to insert a stop-flag into either the JDBC or Eclipselink code. I try to fire a Thread.interrupt on the thread in question, but it does not abort the query.
Is it possible to abort a query (this is not a timeout)?
|
|
|
|
|
|
| Re: abort query [message #382793 is a reply to message #382790] |
Tue, 28 October 2008 09:19  |
James Sutherland Messages: 1834 Registered: July 2009 |
Senior Member |
|
|
In Eclipse enhancements are logged in Bugzilla with Severity set to
"enhancement"
Both timeouts and cancel are JDBC operations, if your JDBC driver and
database do not support them there is little EclipseLink can do. Try
testing the timeout or cancel using raw JDBC.
James : Wiki : Book : Blog
|
|
|
Powered by
FUDForum. Page generated in 0.01844 seconds