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

Posted in JDBC   

Copyright © 2018 CodesJava Protection Status SiteMap