Class TransactionCommit

java.lang.Object
ortus.boxlang.runtime.bifs.BIF
ortus.boxlang.runtime.bifs.global.jdbc.TransactionCommit

@BoxBIF(description="Commit the current transaction") public class TransactionCommit extends BIF
  • Constructor Details

    • TransactionCommit

      public TransactionCommit()
      Constructor
  • Method Details

    • _invoke

      public Object _invoke(IBoxContext context, ArgumentsScope arguments)
      Commit the current transaction and persist all stored queries. You can continue to use the transaction after a `transactionCommit()` call, but you will not be able to roll back past (before) this point since the changes are fully persisted to the database.
      Specified by:
      _invoke in class BIF
      Parameters:
      context - The context in which the BIF is being invoked.
      arguments - Argument scope for the BIF.
      Returns:
      The result of the invocation
    • getTransactionForContext

      public ITransaction getTransactionForContext(IBoxContext context)
      Appends an element to a list
      Parameters:
      context - The context in which the BIF is being invoked.