};
classLoader.setPathFiles(CollectionUtils.collect(details, transformer));
}
Class<Driver> driverClass = classLoader.loadClass(
Driver.class,
currentDataSource.getJdbcDriver());
Driver driver = driverClass.newInstance();
// connect via Cayenne DriverDataSource - it addresses some driver issues...