code: public CmsSetupDBWrapper executeSqlStatement(String query, Map<String, String> replacer, List<Object> params)
      throws SQLException {
  
          CmsSetupDBWrapper dbwrapper = new CmsSetupDBWrapper(m_con);
  
          String queryToExecute = query;
  
          // Check if a map of replacements is given
          if (replacer != null) {
              queryToExecute = replaceTokens(query, replacer);
          }
  
          dbwrapper.createPreparedStatement(queryToExecute, params);
  
          dbwrapper.excecutePreparedQuery();
  
          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
  @param params the list of parameters for the statement
  
  @return the result set of the query
  
  @throws SQLException if something goes wrong