Is there a way to prematurely abort a transaction? Say, I have sent a command to the database which runs five minutes and after four, I want to abort it.
Does JDBC d
No, you can't abort it using standard JDBC.
You might try to check if your particular RDBMS define some extension to suppot it.