Test DB connection throw JDBC.