<presto:beginTransaction>
This MashZone NextGen extension statement opens a connection to a data source and marks the beginning of a database transaction within the mashup for the specified database mashable. All invocations of that service are considered part of the transaction until a rollback or commit is found.
Note: Transaction handling using this statement is only required for database services created in
MashZone NextGen 2.7.0 or earlier. See
SQL Transactions for transaction handling information for database services created in later versions.
See
Database Mashable Transactions for more information and examples.
Can Contain | Empty |
Allowed In | mashup | catch | else | elseif | for | foreach | if | macro | operation | sequence | try | while |
Attributes
Name | Required | Description |
service | yes | The name of the database mashable whose invocations should be considered part of this database transaction. |