Liberates a savepoint previously created. It can be referenced by name. In case of not indicating name, the one that was created in the last instance will be released.

1 connection.releaseSavepoint

<connection.releaseSavepoint name='name'/>

Exceptions

SQLException

If an error of database access occurs, this methode is called during its participation in a distributed transaction, this methode is called in a closed connection or this connection object is actually in auto-commit mode.

SQLFeatureNotSupportedException

If the JDBC controller is not compatible with this methode.

Example
Copy
<xsql-script name='sample_releaseSavepoint'>
    <body>
        <connection.releaseSavepoint />
    </body>
</xsql-script>