code: protected void executeScript(URL scriptUrl) {
          log.debug("Executing script '{}'", scriptUrl);
          try (Connection conn = dataSource.getConnection()) {
              try (Statement stat = conn.createStatement()) {
                  try (BufferedReader reader = new BufferedReader(new InputStreamReader(scriptUrl.openStream(), StandardCharsets.UTF_8))) {
                      reader.lines()
                              .filter(line -> !Strings.isNullOrEmpty(line) && line.charAt(0) != '#' && !line.startsWith("//"))
                              .forEach(line -> {
                                  try {
                                      log.trace("execute: {}", line);
                                      stat.execute(line.trim());
                                  } catch (SQLException e) {
                                      log.error("Failed to execute '{}'", line, e);
                                  }
                              });
                  }
              }
          } catch (SQLException | IOException e) {
              log.error("Failed to execute script '{}'", scriptUrl, e);
          }
      }
docs: Execute a script.
  
  @param scriptUrl