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

Chapter 24. Transactions > Controlling Commits

Controlling Commits

So far, we reviewed an example in which <cftransaction> took no attributes. We briefly explained isolation levels. The only other attribute for <cftransaction> is action, which controls what is and is not committed to a database.

commit

When a transaction is finished, and the ColdFusion server finds the closing tag of <cftransaction>, all updates made to the database are subsequently committed. This means that the status of the updates is changed from questionable to certain, and the locks are released.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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