{
  "id": 4180580,
  "title": "Transaction propagation (REQUIRED / REQUIRES_NEW / NESTED ...) (Part 2 of 2)",
  "url": "https://urgent.news/2026/08/29/transaction-propagation-required-requires-new-nested-part-2-of-2",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-08-29T11:17:44.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/ankit_verma_e2fa7fb2aa95d/transaction-propagation-required-requiresnew-nested-part-2-of-2-41fj"
  },
  "original_language": "en",
  "account": "In the second part of the article on transaction propagation in Spring, the distinction between nested transactions and Requires_New transactions is explained. Nested transactions use a savepoint mechanism to allow the inner transaction to fail and be undone without affecting the outer transaction, while Requires_New creates a completely separate transaction that commits or fails independently of the outer transaction. The key difference is that nested transactions rely on the underlying JDBC feature, which only works with certain transaction managers such as Spring's DataSourceTransactionManager. The article also introduces four other transaction propagation modes that complete the set of seven modes, which can be used based on the specific requirements of the code scenario.",
  "summary": "Picking up between \"join\" and \"start fresh\" Part 1 left you with two propagation modes and a clean way to think about them. REQUIRED joins whatever transaction is already running, so everything shares one all-or-nothing boundary. REQUIRES_NEW ignores the outer transaction, suspends it, and runs a completely separate one that commits or fails on its own. Those two are opposites. Join everything,…",
  "key_points": [],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}