Commits or rolls back the current transaction.
Class Name |
|
---|---|
Component |
|
Required Input Parameters
op
Specifies how to end the transaction with the setting commit
or rollback
.
Open Parameters
errorOutput
Rendered if an error occurs during the commit or rollback. Within the open parameter, the error is communicated through the following parameters:
errorMessage
: a text message indicating the errorerrorStackTrace
: the full stack trace of the error
successOutput
Rendered if the commit or rollback operation completes successfully.
Usage Notes
EndTransactionDroplet
can be used in a page to manually commit or roll back the current transaction. Any errors that occur during the commit or rollback process are reported to an open parameter, thereby allowing the application to report transaction failures to the user. Any errors that occur are also logged.