is there any way to set spring boot to reconnect Oracle if the connection is die or disconnected?
My current spring boot setting:
spring.datasource.url=jdbc:oracle:${db.driver}:@${db.host}:${db.port}:${db.sid}
spring.datasource.username=${db.userName}
spring.datasource.password=${db.password}
spring.datasource.driver-class-name=oracle.jdbc.OracleDriver
clarification: I want to reconnect the DB again when it stopped and then started again.