Skip to content

Allow transaction control via Vavr Try type [SPR-15806] #20361

Closed
@spring-projects-issues

Description

@spring-projects-issues

Oliver Drotbohm opened SPR-15806 and commented

With the advent of functional libraries handling exceptions using Try types has become quite a recurring pattern, Vavr.io's Try being a prominent example.

It would be cool if Spring's transaction management understood those well-known types and triggered rollbacks in case a failure representing value is returned from the method.


Issue Links:

3 votes, 4 watchers

Metadata

Metadata

Assignees

Labels

in: dataIssues in data modules (jdbc, orm, oxm, tx)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions