Skip to content

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

Closed

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

Activity

  1. added
    in: data
    type: enhancement
    on Jan 11, 2019
  2. self-assigned this
    on Feb 1, 2019
  3. modified the milestones: 5.x Backlog, 5.2 M1 on Feb 1, 2019
  4. changed the title [-]Allow transaction control via well-known method return types [SPR-15806][/-] [+]Allow transaction control via Vavr Try type [SPR-15806][/+] on Feb 11, 2019
  5. added a commit that references this issue on Sep 17, 2026
    b5e9fa5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

in: datatype: enhancement

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions