Navigation:  Programming Cookbook > Database Connectivity >


Previous pageReturn to chapter overviewNext page

The DBConnection class provides a number of methods that allow database operations to be grouped together as transactions. All operations that occur following the start of the transaction are not actually written to the database until the transaction is committed. Indeed, it is also possible to cancel all of the operations in the transaction by asking it to be rolled back instead of being committed.