Question - What happens if the database connected to the Java application via connection pool suddenly goes down?
Answer -
Since the Java application uses a connection pool, it has active connections that would get disconnected if the database goes down. When the queries are executed to retrieve or modify data, then we will get a Socket exception.