Oracle® Application Server TopLink Application Developer's Guide
10g Release 2 (10.1.2) Part No. B15901-01 |
|
Previous |
Next |
A database transaction is a set of operations (create, read, update, or delete) that either succeed or fail as a single operation. The database discards, or rolls back, unsuccessful transactions, leaving the database in its original state.
In Oracle Application Server TopLink, transactions are encapsulated by the Unit of Work object. Using the Unit of Work, you can transactionally modify objects directly or with a Java 2 Enterprise Edition (J2EE) external transaction controller, such as the Java Transaction API (JTA).
This chapter explains how to use the OracleAS TopLink Unit of Work, including: