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

  • Home
  • SEARCH
  • 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 8514863
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T04:59:11+00:00 2026-06-11T04:59:11+00:00

I have a @Transactional(REQUIRED) method that invokes a @Transactional(REQUIRES_NEW). The default behaviour I am

  • 0

I have a @Transactional(REQUIRED) method that invokes a @Transactional(REQUIRES_NEW). The default behaviour I am seeing is the inner transaction is being rolled back, but the outer is being committed. Is this the expected behaviour?

  • 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-11T04:59:12+00:00Added an answer on June 11, 2026 at 4:59 am

    Yes, it is the expected behavior. The outer transaction is suspended while the inner transaction is executed. Once the inner transaction ends (whether it’s a commit or rollback), the outer transaction resumes.

    BTW, the documentation says it:

    PROPAGATION_REQUIRES_NEW, in contrast to PROPAGATION_REQUIRED, uses a
    completely independent transaction for each affected transaction
    scope. In that case, the underlying physical transactions are
    different and hence can commit or roll back independently, with an
    outer transaction not affected by an inner transaction’s rollback
    status.

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

Sidebar

Related Questions

I have a WCF service that posts messages to a private, non-transactional MSMQ queue.
So I have an app that if I'm honest doesn't really need transactional integrity
We have: @Transactional(propagation = Propagation.REQUIRED) public class MyClass implementes MyInterface { ... MyInterface has
I have a question about Spring transaction propagation . Suppose I use @Transactional(propagation =
I have the following strange scenario with spring's transaction management: I have method A
I have a method that will be used to send out email. i want
I have a method that is called on an object to perform some business
In my Spring application I have service-layer methods marked as @Transactional(propagation=Propagation.REQUIRED) and am using
I have a method that transfers data from one database to another and in
I have a bean that extends this txProxyTemplate and inside it, this method orderUpdateOverseer

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.