final LoaderDelegate loaderDelegate = new LoaderDelegate();
final DbLoader loader = new DbLoader(dataSource.getConnection(), adapter, loaderDelegate);
loader.setCreatingMeaningfulPK(meaningfulPk);
if (namingStrategy != null) {
final NamingStrategy namingStrategyInst = (NamingStrategy) Class.forName(namingStrategy).newInstance();
loader.setNamingStrategy(namingStrategyInst);
}
final DataMap dataMap = map.exists() ? loadDataMap() : new DataMap();
loader.loadDataMapFromDB(schemaName, tablePattern, dataMap);