The java.io.Connection.rollback method is used to undo the changes made in a transaction and restore the database to its previous state. This method is typically called when an error occurs during the transaction or when the transaction is canceled. By rolling back the transaction, any modifications made within that transaction are discarded and the database is left unchanged.
Java Connection.rollback - 18 examples found. These are the top rated real world Java examples of java.io.Connection.rollback extracted from open source projects. You can rate examples to help us improve the quality of examples.