throw new CacheLoaderException(String.format(
"Error while instatianting JDBC driver: '%s'", pooledConfiguration.driverClass()), e);
}
pooledDataSource.setJdbcUrl(pooledConfiguration.connectionUrl());
pooledDataSource.setUser(pooledConfiguration.username());
pooledDataSource.setPassword(pooledConfiguration.password());
if (log.isTraceEnabled()) {
log.tracef("Started connection factory with config: %s", config);
}
}