PrepAway - Latest Free Exam Questions & Answers

what is wrong with the code?

Given the following SBO method (assume all variables are valid and createFolder() method exist):
If the call to this SBO method is within a transaction, what is wrong with the code?

PrepAway - Latest Free Exam Questions & Answers

A.
commitTransaction() should not be called from within an SBO with a transaction already active.

B.
The SBO method should call its ownbeginTransaction() first.

C.
abortTransaction() is missing in the catch() block.

D.
Nothing is wrong.


Leave a Reply