Skip to content
Tagged articles

transaction propagation

5 articles · Page 1 of 1
Architecture Pony
Architecture Pony
Nov 2, 2026 · Backend Development

Spring Boot @Transactional Mastery: Propagation, Failure Modes & Distributed Transactions

This comprehensive guide dissects Spring Boot's @Transactional annotation, covering seven propagation behaviors, eight failure scenarios with root causes, core source code analysis, and distributed transaction patterns including local message tables and RocketMQ transaction messages, with practical order-inventory-points examples.

@TransactionalRocketMQSeata
0 likes · 29 min read
Spring Boot @Transactional Mastery: Propagation, Failure Modes & Distributed Transactions
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Oct 20, 2026 · Backend Development

Spring Boot @Transactional Pitfalls: Deadlocks, Long Transactions & Propagation Failures

This article analyzes three critical @Transactional pitfalls in Spring Boot 3.5.0: deadlocks from inconsistent lock ordering during concurrent transfers, long transactions holding row locks during external RPC calls causing blocking and inconsistency, and nested transaction propagation causing unexpected rollbacks despite try-catch. Solutions include consistent lock ordering, transaction splitting, and using REQUIRES_NEW or programmatic transactions.

@TransactionalConcurrencyDeadlock
0 likes · 11 min read
Spring Boot @Transactional Pitfalls: Deadlocks, Long Transactions & Propagation Failures
Coder Trainee
Coder Trainee
Aug 29, 2026 · Backend Development

When @Transactional Goes Wrong: Misusing Transaction Propagation Leads to Deadlocks

A real‑world case shows that using @Transactional with the default REQUIRED propagation caused a long‑running transaction, frequent deadlocks, data inconsistency and higher timeout rates, and the article walks through the root cause, investigation steps, and practical fixes such as REQUIRES_NEW, self‑proxy calls, and async eventual consistency.

@TransactionalBackendDeadlock
0 likes · 9 min read
When @Transactional Goes Wrong: Misusing Transaction Propagation Leads to Deadlocks
CodeSmart Hoops
CodeSmart Hoops
May 18, 2026 · Backend Development

Unit Testing Spring Transaction Propagation: Practical Insights

This article provides a complete, runnable unit‑test suite for Spring Boot 3.x that demonstrates and verifies every transaction‑propagation behavior (REQUIRED, REQUIRES_NEW, NESTED, SUPPORTS, MANDATORY), highlights common pitfalls such as self‑calls and swallowed exceptions, and shows how to configure the environment, write the test code, and run the tests.

H2 DatabaseJUnit 5Spring Boot
0 likes · 15 min read
Unit Testing Spring Transaction Propagation: Practical Insights
Top Architect
Top Architect
Dec 1, 2022 · Backend Development

Understanding Spring Transaction Management: @EnableTransactionManagement, Transaction Propagation, and Synchronization

This article provides a comprehensive guide to Spring transaction management, explaining the inner workings of @EnableTransactionManagement, the basic and detailed execution processes, various propagation mechanisms, forced rollback techniques, and TransactionSynchronization, supplemented with practical code examples and case analyses.

JavaSpring Frameworktransaction management
0 likes · 13 min read
Understanding Spring Transaction Management: @EnableTransactionManagement, Transaction Propagation, and Synchronization