String pass = "";
String driver = "org.hsqldb.jdbcDriver";
String url = "jdbc:hsqldb:file:" + tmpDirPath + "/testMapperCat;shutdown=true";
// DataSource ds = DatabaseConnectionBuilder.buildDataSource(user, pass,
// driver, url);
InMemoryIngestMapperFactory factory = new InMemoryIngestMapperFactory();
// SqlScript coreSchemaScript = new SqlScript(new File("./src/testdata/test-mapper-cat.sql").getAbsolutePath(), ds);
// coreSchemaScript.loadScript();
// coreSchemaScript.execute();
factory.setDriver(driver);
factory.setJdbcUrl(url);
factory.setPass(pass);
factory.setUser(user);
factory.setTablesFile("./src/testdata/test-mapper-cat.sql");
return factory;
}