You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
Prior to this commit only Propagation.NOT_SUPPORTED was supported for
disabling test-managed transactions via the `propagation` attribute of
`@Transactional`.
This commit allows users to specify Propagation.NOT_SUPPORTED or
Propagation.NEVER to disable test-managed transactions.
Closesspring-projectsgh-25909
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, butPropagation.NEVER
does not have the same effect even though users might assume it would (see spring-projects/spring-boot#23630 (comment)).Deliverables
Propagation.NEVER
for disabling test-managed transactionsTransactionalTestExecutionListener
The text was updated successfully, but these errors were encountered: