Spring / Java Transactions (JTA)
Explain the transactional attribute Mandatory.
Use the Mandatory attribute if the enterprise bean?s method must use the transaction of the client.
If the client is running within a transaction and invokes the enterprise bean?s method, the method executes within the client?s transaction. If the client is not associated with a transaction, the container throws the TransactionRequiredException.
More Related questions...