When using programmatic repository data access, each database operation is automatically
wrapped in transaction of which mode?
A.
Required
B.
Supports
C.
Mandatory
D.
RequiresNew
E.
NotSupported
Explanation:
The TransactionServlet can be configured to cause each request to be wrapped in a
transaction. By default, theTransactionServlet’s transAttribute property is set tosupports, which
means a new transaction is not created for each request. In most circumstances,
the transAttributeproperty should remain set to supports. In all cases,
theTransactionServlet checks to see if the request created a Transaction without ending it. If so,the servlet rolls back that Transaction and reports an error.