List of usage examples for org.hibernate.tool.hbm2ddl SingleLineSqlCommandExtractor SingleLineSqlCommandExtractor
SingleLineSqlCommandExtractor
From source file:py.una.pol.karaku.test.cucumber.DatabasePopulatorCucumberExecutionListener.java
License:Open Source License
/** * @param testContext/*from w w w . j a va 2s . c o m*/ * @param sqlFiles */ private void executeSQLFiles(TestContext testContext, SQLFiles sqlFiles) { if (sqlFiles == null) { return; } List<String> files = getFiles(testContext, sqlFiles); SingleLineSqlCommandExtractor slsce = new SingleLineSqlCommandExtractor(); for (String file : files) { executeSQL(testContext, file, slsce); } }