nerdexam
Oracle

1Z0-860 · Question #10

Given a set of CMT bean methods with the following transaction attributes: Method M1=SUPPORTS Method M2=REQUIRED Method M3=NOT_SUPPORTED Method M4=REQUIRES_NEW And the following method invocation…

The correct answer is A. Method M1 no transaction. See the full explanation below for the reasoning.

Question

Given a set of CMT bean methods with the following transaction attributes: Method M1=SUPPORTS Method M2=REQUIRED Method M3=NOT_SUPPORTED Method M4=REQUIRES_NEW And the following method invocation sequence: Method M1 invokes Method M2 Method M2 invokes Method M3 Method M1 invokes Method M4 If Method M1 is invoked by a method that does NOT have a transaction context, which describes a possible scenario?

Options

  • AMethod M1 no transaction
  • BMethod M1 no transaction
  • CMethod M1 new transaction
  • DMethod M1 no transaction

How the community answered

(30 responses)
  • A
    70% (21)
  • B
    3% (1)
  • C
    10% (3)
  • D
    17% (5)

Community Discussion

No community discussion yet for this question.

Full 1Z0-860 Practice