Skip to content

AbstractTransactionalTestNGSpringContextTests not working as expected when an EJB with TransactionAttribute.REQUIRES_NEW is encountered [SPR-6132] #10800

Closed
@spring-projects-issues

Description

@spring-projects-issues

Ed Randall opened SPR-6132 and commented

When an @Test method executes an EJB annotated with @TransactionAttribute(TransactionAttributeType.REQUIRES_NEW), it seems that the test transaction is consumed when the REQUIRES_NEW transaction completes. Subsequent transaction behavior then becomes unexpected.


Affects: 3.0.5

Reference URL: http://forum.springsource.org/showthread.php?p=261074

Attachments:

Issue Links:

Referenced from: commits 8105011, e20c927, c0eafa9

15 votes, 9 watchers

Metadata

Metadata

Assignees

Labels

has: votes-jiraIssues migrated from JIRA with more than 10 votes at the time of importin: testIssues in the test modulestatus: declinedA suggestion or change that we don't feel we should currently apply

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions