title: Prevent Spring boot application from starting up if JDBC connection can not be established
body: <p>Currently,default behaviour the Spring boot server is that it starts (throws/logs error but still starts) even when it cannot establish JDBC connection to backend due to incorrect host/port or database name or authentication failures. I wanted the application to fail instead.(why to simply launch the server when it could n't connect to database or serve any requests) Any idea how to achieve the same.Also i use spring data jpa to interact the database.</p>