top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How to rollback a JDBC transaction?

+1 vote
432 views
How to rollback a JDBC transaction?
posted Aug 31, 2017 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

We can use Connection object rollback() method to rollback the transaction. It will rollback all the changes made by the transaction and release any database locks currently held by this Connection object.

answer Sep 4, 2017 by Ayush Srivastav
...