code: public CmsSetupDBWrapper executeSqlStatement(String query, Map<String, String> replacer) throws SQLException {
  
          CmsSetupDBWrapper dbwrapper = new CmsSetupDBWrapper(m_con);
          dbwrapper.createStatement();
  
          String queryToExecute = query;
  
          // Check if a map of replacements is given
          if (replacer != null) {
              queryToExecute = replaceTokens(query, replacer);
          }
          // do the query
          dbwrapper.excecuteQuery(queryToExecute);
  
          // return the result
          return dbwrapper;
  
      }
docs: Creates and executes a database statement from a String returning the result set.<p>
  
  @param query the query to execute
  @param replacer the replacements to perform in the script
  
  @return the result set of the query
  
  @throws SQLException if something goes wrong