injection.inject(connectionChecker, (String) prop.getKey(), (String) prop.getValue());
}
return connectionChecker.isValidConnection(c);
} catch (Exception e) {
log.warn("Exception trying to create connection checker (disabling):", e);
connectionChecker = new NullValidConnectionChecker();
}
}
// SQL statement specified
if (checkValidConnectionSQL != null) {