Skip to content

After upgrade from Spring Boot 2.7 to SpringBoot 3.1.6 @Transactional is not working for the async calls #39214

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
santoshmasal123 opened this issue Jan 17, 2024 · 4 comments

Comments

@santoshmasal123
Copy link

santoshmasal123 commented Jan 17, 2024

When you Upgrade Spring Boot2.7 to SpringBoot3.1.6 @Transactional is not working for the Async calls.

  1. There is no error while aysnc calls.
  2. we are using springCloudAWS 3.0.4

Can U please assist what is wrong with this

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Jan 17, 2024
@scottfrederick
Copy link
Contributor

@santoshmasal123 I'm afraid there's not much information here for us to go on. If you would like us to spend some time investigating, please provide a complete minimal sample that we can run ourselves to reproduce the problem. Such a minimal sample should not include Spring Cloud AWS. If Spring Cloud AWS is required to reproduce the problem, then an issue should be filed against that project instead of Spring Boot. You can share it with us by pushing it to a separate repository on GitHub or by zipping it and attaching it to this issue.

@scottfrederick scottfrederick added the status: waiting-for-feedback We need additional information before we can continue label Jan 17, 2024
@wilkinsona wilkinsona changed the title After Upgrade from Spring Boot2.7 to SpringBoot3.1.6 @Transactional is not working for the Async calls. After Upgrade from Spring Boot 2.7 to SpringBoot 3.1.6 @Transactional is not working for the async calls Jan 18, 2024
@wilkinsona wilkinsona changed the title After Upgrade from Spring Boot 2.7 to SpringBoot 3.1.6 @Transactional is not working for the async calls After upgrade from Spring Boot 2.7 to SpringBoot 3.1.6 @Transactional is not working for the async calls Jan 18, 2024
@spring-projects-issues
Copy link
Collaborator

If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.

@spring-projects-issues spring-projects-issues added the status: feedback-reminder We've sent a reminder that we need additional information before we can continue label Jan 24, 2024
@odrotbohm
Copy link
Member

Probably induced by this change in Spring Framework.

tl;dr: It's likely that you have used a transaction configuration setting before that wasn't achieving what you thought it would achieve. The refined setup in Framework now catches those scenarios, which are essentially broken setups in the first place.

@spring-projects-issues spring-projects-issues added status: feedback-provided Feedback has been provided and removed status: waiting-for-feedback We need additional information before we can continue status: feedback-reminder We've sent a reminder that we need additional information before we can continue labels Jan 31, 2024
@bclozel bclozel added status: feedback-reminder We've sent a reminder that we need additional information before we can continue and removed status: feedback-provided Feedback has been provided labels Jan 31, 2024
@wilkinsona
Copy link
Member

Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.

@wilkinsona wilkinsona closed this as not planned Won't fix, can't repro, duplicate, stale Jan 31, 2024
@wilkinsona wilkinsona removed status: waiting-for-triage An issue we've not yet triaged status: feedback-reminder We've sent a reminder that we need additional information before we can continue labels Jan 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants