In an application that uses declarative demarcation, one procedure that is called frequently from other procedures is a logging procedure that writes appropriate information about the state of the system into a log. What transaction attribute should be used for that procedure?
What will be an ideal response?
RequiresNew because we want the transaction corresponding to that procedure to
commit even if the transaction that called it should abort.
Another possible answer is NotSupported, because we want the logging to take
place even if the logging procedure is called from a transaction that aborts. However,
in this case the logging would not itself be transactional, which might be desirable for
many applications.
You might also like to view...
The area in the Excel window that displays the contents of the currently selected cell is the ________
A) Cell locator B) Cell display C) Name box D) Address box
?Which of the following HTML elements is used to create header cells in a web table?
A. ?
You can insert a screenshot of any program running on your computer, provided the program has been minimized.
Answer the following statement true (T) or false (F)
What is a disaster recovery plan? What are the key features?
What will be an ideal response?