
[Java] Set auto reconnect in Spring data JPA
To ensure service availability, Most application nee to restart service to resume. However, auto reconnect is a must requirement to ensure it can self-heal. For Spring data JPA, it can be done without alter code.