Which transaction attribute can the doStuff method have for this to occur?

Given:
A session bean Foo uses container-managed transactions
The container throws a javax.transaction.TransactionRolledBackException when the doStuff
method runs
Which transaction attribute can the doStuff method have for this to occur?

Given:
A session bean Foo uses container-managed transactions
The container throws a javax.transaction.TransactionRolledBackException when the doStuff
method runs
Which transaction attribute can the doStuff method have for this to occur?

A.
NEVER

B.
MANDATORY

C.
REQUIRES_NEW

D.
NOT SUPPORTED



Leave a Reply 0

Your email address will not be published. Required fields are marked *