private static void runSqlFile(DSLContext jooq, String fileName)
     throws RuntimeException, IOException, DataAccessException {
   InputStream sqlStream = ResourceRoot.class.getResourceAsStream(fileName);
   if (sqlStream == null) {
     throw new RuntimeException(String.format("SQL file '%s'  not found", fileName));
   }
   String sql = IOUtils.toString(sqlStream, Charsets.UTF_8);
   log.info("Executing: {}", sql);
   for (String part : sql.split(";")) {
     jooq.execute(part);
   }
 }