code: public static void executeDatabaseScript(String script) throws SQLException, MalformedURLException {
          File file = new File(script);
          DatabaseUtils.executeSqlScript(DatabaseUtils.getDBConnection(null), file.toURI().toURL());
      }
docs: Executes database script from resources directory