nerdexam
Oracle

1Z0-860 · Question #241

Given: A session bean Foo uses container-managed transactions The container throws a javax.transaction.TransactionRolledBackException when the doStuff methodruns 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 methodruns Which transaction attribute can the doStuff method have for this to occur?

Options

  • ANEVER
  • BMANDATORY
  • CREQUIRES_NEW
  • DNOT SUPPORTED

How the community answered

(45 responses)
  • A
    18% (8)
  • B
    71% (32)
  • C
    4% (2)
  • D
    7% (3)

Community Discussion

No community discussion yet for this question.

Full 1Z0-860 Practice