Should be able to cancel a statement
Brought to you by:
mprudhom
It should be possible to cancel a running statement. Ideally,
we would trap CTRL-C and call Statement.cancel(), but that
isn't possible on all JVMs/OSes.
Another possibility is to execute all statements in another
thread, and then listen for a keystoke, and cancel the
statement if it is seen.
Logged In: YES
user_id=173374
Note that a while back I submitted an implementation of this
for the Sun JVM. (For other JVM's the feature is silently
disabled.)