void commit() throws SQLException
Makes all changes made since the previous commit/rollback permanent and releases any database locks currently held by this
Connection object. This method should be used only when auto-commit mode has been disabled.
SQLException - if a database access error occurs or pos < 1 or if the database connection is in auto commit mode (which is the default)
For more information, reference JDBC documentation for: Connection.commit()