expertPropagation & Isolation in Spring

When would REQUIRES_NEW create a deadlock risk against its own caller?

If the inner (REQUIRES_NEW) transaction tries to lock a row the outer, currently-suspended transaction already holds a lock on — since they're separate physical transactions on separate connections, the inner one can genuinely block waiting on the outer, which can't proceed until the inner one (whic

Ready to master this question?

Generate a complete walkthrough — background, the full answer in plain language, a working code example explained line by line, a real-world scenario, common mistakes, and how this same question gets asked in different ways.

Sign in to generate a response

Next Step

Continue to How does Spring actually implement @Transactional under the hood?← Back to all Transaction Mastery questions