Class TransactionRollback
java.lang.Object
ortus.boxlang.runtime.bifs.BIF
ortus.boxlang.runtime.bifs.global.jdbc.TransactionRollback
-
Field Summary
Fields inherited from class ortus.boxlang.runtime.bifs.BIF
__functionName, __isMemberExecution, asyncService, cacheService, componentService, declaredArguments, functionService, interceptorService, logger, moduleService, runtime, schedulerService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription_invoke(IBoxContext context, ArgumentsScope arguments) Rollback the current transaction and discard all unpersisted queries.getTransactionForContext(IBoxContext context) Appends an element to a listMethods inherited from class ortus.boxlang.runtime.bifs.BIF
announce, getDeclaredArguments, invoke
-
Constructor Details
-
TransactionRollback
public TransactionRollback()Constructor
-
-
Method Details
-
_invoke
Rollback the current transaction and discard all unpersisted queries.Only the changes made since the last
transactionSetSavepoint()ortransactionCommit()call will be discarded.If no transaction is found in the current context, this method will throw an exception.
-
getTransactionForContext
Appends an element to a list- Parameters:
context- The context in which the BIF is being invoked.
-