SysLib.rollback function

SysLib.rollback reverses updates that were made to recoverable resources since the last commit.

Package

eglx.lang

Syntax
static function rollback(); 
Example use

Here is example code:

SysLib.rollback( )
Comments

If a program ends because of an error, a rollback occurs automatically.


Compatibility

Table 1. Compatibility
Target Issue
Java
  • sysLib.rollback() reverses changes to the following resources:
    • Relational databases
  • Do not call sysLib.rollback() from a generated Java™ program that you invoked through an Enterprise JavaBean (EJB). EJBs cannot touch the transaction in which they run.
JavaScript SysLib.rollback is not supported.