Connection.rollback

Connection.rollback

Interface Overview | Interface Members | This Package | All Packages

Syntax
public abstract void rollback() throws SQLException
Description
Rollback drops all changes made since the previous commit/rollback and releases any database locks currently held by the Connection. This method should only be used when auto commit has been disabled.

Exceptions
SQLException if a database-access error occurs.
See Also
setAutoCommit