Skip to content
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

Springmvc+mybatis project use @transaction not roll back with Spring JavaConfig [SPR-14704] #19269

Closed
spring-projects-issues opened this issue Sep 13, 2016 · 2 comments

Comments

@spring-projects-issues
Copy link
Collaborator

@spring-projects-issues spring-projects-issues commented Sep 13, 2016

edeye opened SPR-14704 and commented

demo project is --> https://github.com/edeye/tt

add @ImportResource({ "classpath:spring-ctx-ds.xml" }) in com.common.spring.config.DataCfg line 19
Spring @Transaction roll back success

del @ImportResource({ "classpath:spring-ctx-ds.xml" }) in com.common.spring.config.DataCfg line 19
Spring @Transaction roll back fail,

I ask the same question to mybatis


Affects: 4.3.2

Reference URL: https://github.com/edeye/tt

@spring-projects-issues
Copy link
Collaborator Author

@spring-projects-issues spring-projects-issues commented Sep 13, 2016

Juergen Hoeller commented

Please raise such questions at Stack Overflow or some other Q&A forum. Our JIRA here is really only meant to track concrete bug reports and enhancement requests.

@spring-projects-issues
Copy link
Collaborator Author

@spring-projects-issues spring-projects-issues commented Sep 13, 2016

edeye commented

OK,thanks,The problem has been resolved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.