How can I abort a running JDBC transaction?

后端 未结 4 1071
温柔的废话
温柔的废话 2020-11-30 03:42

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

4条回答
  •  野性不改
    2020-11-30 04:39

    No, you can't abort it using standard JDBC.

    You might try to check if your particular RDBMS define some extension to suppot it.

提交回复
热议问题