|
|
|
@ -23,7 +23,7 @@ As of Spring Framework 5.2, the default configuration also provides support for |
|
|
|
Vavr's `Try` method to trigger transaction rollbacks when it returns a 'Failure'. |
|
|
|
Vavr's `Try` method to trigger transaction rollbacks when it returns a 'Failure'. |
|
|
|
This allows you to handle functional-style errors using Try and have the transaction |
|
|
|
This allows you to handle functional-style errors using Try and have the transaction |
|
|
|
automatically rolled back in case of a failure. For more information on Vavr's Try, |
|
|
|
automatically rolled back in case of a failure. For more information on Vavr's Try, |
|
|
|
refer to the [official Vavr documentation](https://www.vavr.io/vavr-docs/#_try). |
|
|
|
refer to the https://docs.vavr.io/#_try[official Vavr documentation]. |
|
|
|
|
|
|
|
|
|
|
|
Here's an example of how to use Vavr's Try with a transactional method: |
|
|
|
Here's an example of how to use Vavr's Try with a transactional method: |
|
|
|
[tabs] |
|
|
|
[tabs] |
|
|
|
|