Skip to content

Document supported @Transactional attributes in the TestContext framework #23149

@sbrannen

Description

@sbrannen

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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions