Skip to content

Document supported @Transactional attributes in the TestContext framework #23149

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
1 task done
sbrannen opened this issue Jun 18, 2019 · 0 comments
Closed
1 task done
Assignees
Labels
in: test Issues in the test module type: documentation A documentation task
Milestone

Comments

@sbrannen
Copy link
Member

sbrannen commented Jun 18, 2019

Overview

The Spring TestContext framework has traditionally not supported attributes in @Transactional for test-managed transactions. Exceptions to the rule include support for a PlatformTransactionManager qualifier and the NOT_SUPPORTED propagation behavior.

Although it is possible to declare other @Transactional attributes for test-managed transactions, these are silently ignored, which can lead to potential confusion.

Related Issues

Deliverables

  • Document supported @Transactional attributes in the TestContext framework.
@sbrannen sbrannen self-assigned this Jun 18, 2019
@sbrannen sbrannen added in: test Issues in the test module type: documentation A documentation task labels Jun 18, 2019
@sbrannen sbrannen added this to the 5.2 RC1 milestone Jun 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: test Issues in the test module type: documentation A documentation task
Projects
None yet
Development

No branches or pull requests

1 participant