Checking Oracle availability with Spring jdbc 2.0

Spring Jdbc uses its own Runtime Exception hierarchy in order to provide Exceptions from the database layer. Hence, no Exception is thrown by database methods encapsuling queries and error control can be delegate to services. Catching DataAccessResourceFailureException and CannotGetJdbcConnectionException should be enough to detect that database is down. However in Spring exceptions hierarchy exists UncategorizedDataAccessExceptionContinue reading “Checking Oracle availability with Spring jdbc 2.0”