Updated the Spring Framework documentation to include an example of using Vavr's Try monad to trigger transaction rollbacks when a @Transactional-annotated method returns a Failure. The modified documentation demonstrates how to use Try in a transactional method and how to check if an exception has been wrapped inside a Try.Failure instance. Additionally, a link to the official Vavr documentation was added to provide more information on the Try method.
Closes #29560
Comment From: SOHEELEE408
@jhoeller The link to the official documentation is invalid. It would be nice to see it corrected to https://docs.vavr.io/#_try.