Easy learning with example program codes

How to rollback a jdbc transaction?

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

Related topics

Please follow and like us:
Posted in JDBC   

Copyright © 2020 CodesJava Protection Status