Statement execution after thread interruption
03:15 06 Feb 2026

Will Statement execution be canceled if the thread that is executing it is interrupt()ed (execute() has not yet returned)? For example, after calling swingWorker.cancel(true).

Oracle, Postgres, if it matters.

Java 8.

java postgresql oracle-database jdbc