Will a TransactionAttributeType.REQUIRES_NEW annotated method run on a new Thread?

Viewed 1321

According to documentation, in container managed transactions, if a method is annotated with TransactionAttributeType.REQUIRES_NEW attribute, will suspend any client transaction, delegate the call to this method/ create a new transaction, and resume to previous transactions after the new one has been completed.

So this actually means, that no new thread is created, and that the previous transaction is on a "wait" state until the new one is has been finished?

2 Answers
Related