• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 24. Transactions > <cftransaction>

<cftransaction>

Transactions and isolation levels are implemented using the <cftransaction> tag. This tag has a matching end tag and encloses all ColdFusion queries and logic pertinent to a given transaction. If no isolation levels are sent, the default is serializable.

The following example demonstrates the wire transfer example. Notice that this example uses custom tag <cfx_sendwire> to send information to the son's bank. This tag does not really exist but is used to demonstrate the concept. This nonexistent tag returns the variable wireResult equal to 1 or 0 based on successful wire transfers:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint