You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Allow transaction control via Vavr Try type [SPR-15806] #20361
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
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
Activity
[-]Allow transaction control via well-known method return types [SPR-15806][/-][+]Allow transaction control via Vavr Try type [SPR-15806][/+]TransactionActionSupport evaluates Vavr Try failure as rollback-only