| 5. |
A reusable, non-autonomous procedure participates in a larger caller-controlled transaction. Which design best preserves the caller's ability to commit or roll back the complete operation?
Please select the best answer.
|
| |
A.
|
Commit inside the procedure immediately after each successful update. |
| |
B.
|
Roll back the entire session transaction whenever the procedure rejects an input. |
| |
C.
|
Convert the procedure to an autonomous transaction so its changes are independent. |
| |
D.
|
Leave commit and rollback decisions to the caller and document the procedure's error behavior. |