Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8516575
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T05:28:02+00:00 2026-06-11T05:28:02+00:00

I can’t understand the behavior difference between the PROPAGATION_REQUIRES_NEW and PROPAGATION_NESTED propagation policies. It

  • 0

I can’t understand the behavior difference between the PROPAGATION_REQUIRES_NEW and PROPAGATION_NESTED propagation policies. It seems to me that in both cases, the current process is rollbacked but not the whole transaction. Any clue?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T05:28:04+00:00Added an answer on June 11, 2026 at 5:28 am

    See this link: PROPAGATION_NESTED versus PROPAGATION_REQUIRES_NEW? Juergen Hoeller explain it very well. — the Spring Source Forum is completely offline since February 28, 2019, but you can read the relevant part of the article in the quote below

    PROPAGATION_REQUIRES_NEW starts a new, independent "inner" transaction
    for the given scope. This transaction will be committed or rolled back
    completely independent from the outer transaction, having its own
    isolation scope, its own set of locks, etc. The outer transaction will
    get suspended at the beginning of the inner one, and resumed once the
    inner one has completed. …

    PROPAGATION_NESTED on the other hand starts a "nested" transaction,
    which is a true subtransaction of the existing one. What will happen
    is that a savepoint will be taken at the start of the nested
    transaction. Íf the nested transaction fails, we will roll back to
    that savepoint. The nested transaction is part of of the outer
    transaction, so it will only be committed at the end of of the outer
    transaction. …

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Can someone help me understand this question? I may have it on my tomorrow
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
Can someone please explain how this code is working for me? I don't understand
Can anyone tell me how an IDE like NetBeans or any for that matter
can you show me how to assign css properties to the button that is
Can someone explain what a SpanQuery is, and what are typical use cases for
Can I run VLD extension over IIS or Apache that works over windows? and
Can someone please tell me is there a way to solve difference equation e.g:
Can anybody let me know about a couple of open source projects that uses
Can anyone let me know how can we change the value of kendo combobox

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.