Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
spring-projects-issues opened this issue Jul 21, 2017 · 0 comments
Closed

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

spring-projects-issues opened this issue Jul 21, 2017 · 0 comments
Assignees
Labels
in: data type: enhancement
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

@spring-projects-issues spring-projects-issues commented Jul 21, 2017

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:

  • DATACMNS-983 Support for Vavr's Try as query method return value
  • #21073 Cache, allow custom wrapper types other than java.util.Optional

3 votes, 4 watchers

@spring-projects-issues spring-projects-issues added in: data type: enhancement labels Jan 11, 2019
@spring-projects-issues spring-projects-issues added this to the 5.x Backlog milestone Jan 11, 2019
@jhoeller jhoeller self-assigned this Feb 1, 2019
@jhoeller jhoeller removed this from the 5.x Backlog milestone Feb 1, 2019
@jhoeller jhoeller added this to the 5.2 M1 milestone Feb 1, 2019
@jhoeller jhoeller changed the title Allow transaction control via well-known method return types [SPR-15806] Allow transaction control via Vavr Try type [SPR-15806] Feb 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: data type: enhancement
Projects
None yet
Development

No branches or pull requests

2 participants