void releaseSavepoint(Savepoint savepoint) throws SQLException
Removes the specified Savepoint and any Savepoints that were created after it from the current transaction. Any reference to any of the removed savepoints will cause an SQLException to be thrown. When a transaction is completely committed or rolled back all associated savepoints will get removed automatically, so this function is only needed inside a transaction when a savepoint is no longer needed.
Savepoint object to be removed
SQLException - if a database access error occurs or the specified savepoint is not associated with the current transaction or auto commit mode is enabled
For more information, reference JDBC documentation for: Connection.releaseSavepoint(Savepoint)