nerdexam
Oracle

1Z0-860 · Question #261

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…

The correct answer is B. MANDATORY. See the full explanation below for the reasoning.

Question

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?

Options

  • ANEVER
  • BMANDATORY
  • CREQUIRES_NEW
  • DNOT SUPPORTED

How the community answered

(36 responses)
  • A
    3% (1)
  • B
    81% (29)
  • C
    11% (4)
  • D
    6% (2)

Community Discussion

No community discussion yet for this question.

Full 1Z0-860 Practice