I have a spring-boot application which has a POST REST API which intern inserts data to Postgresql using JPA and Hikari. Since the Post requests huge in numbers, I am planning to implement Spring Retry on JPA built-in methods like save(),saveAll(),findAll() etc.,
My question is that is it good idea to do retry when there is time-out/connection failure from database ? (or) spring-boot or JPA already does this? if so please share the reference which mentions this.