Skip to content

Support Propagation.NEVER for disabling test-managed transactions #25909

@sbrannen

Description

@sbrannen

Status Quo

Propagation.NOT_SUPPORTED can be used to disable test-managed transactions via the @Transactional annotation as documented in the Javadoc and reference manual, but Propagation.NEVER does not have the same effect even though users might assume it would (see spring-projects/spring-boot#23630 (comment)).

Deliverables

  • Support Propagation.NEVER for disabling test-managed transactions
  • Document in the Javadoc for TransactionalTestExecutionListener
  • Document in the reference manual

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions