Connection.commit

Connection.commit

Interface Overview | Interface Members | This Package | All Packages

Syntax
public abstract void commit() throws SQLException
Description
Commit makes all changes made since the previous commit/rollback permanent 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