Skip to content

TransactionTemplate leaks transactions when TransactionCallback propagates undeclared checked exception [SPR-6361] #11027

Closed
@spring-projects-issues

Description

@spring-projects-issues

Marat Radchenko opened SPR-6361 and commented

TransactionTemplate doesn't neither commit nor rollback on checked exception, causing leakage.

See attached testcase.


Affects: 2.5.6

Attachments:

Issue Links:

Referenced from: commits a741410

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions