When does @TransactionAttribute(TransactionAttributeType.REQUIRES_NEW) commit?

Viewed 50504

An EJB method named Aby calls another EJB method named Bob

Bob is marked with @TransactionAttribute(TransactionAttributeType.REQUIRES_NEW)

When does bob transaction commits?:

a) when bob invocation ends

b) when aby invocation ends

c) other. when?

2 Answers
Related