Make a rollback of the transaction in progress until the indicated savepoint or the last one which was created if it is not indicated by its name.

1 connection.rollbackSavepoint

<connection.rollbackSavepoint 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_rollbackSavepoint'>
    <body>
        <connection.rollbackSavepoint />
    </body>
</xsql-script>