code: private void renameColumn(CmsSetupDb dbCon, String tablename, String oldname, String newname) throws SQLException {
  
          System.out.println(new Exception().getStackTrace()[0].toString());
          if (dbCon.hasTableOrColumn(tablename, oldname)) {
              String query = readQuery(QUERY_RENAME_COLUMN);
              Map<String, String> replacer = new HashMap<String, String>();
              replacer.put(REPLACEMENT_TABLENAME, tablename);
              replacer.put(REPLACEMENT_COLUMN, oldname);
              replacer.put(REPLACEMENT_NEW_COLUMN, newname);
  
              dbCon.updateSqlStatement(query, replacer, null);
          } else {
              System.out.println("column " + oldname + " in table " + tablename + " not found exists");
          }
      }
docs: Renames the column of the given table the new name.<p>
  
  @param dbCon the db connection interface
  @param tablename the table in which the column shall be renamed
  @param oldname the old name of the column
  @param newname the new name of the column
  
  @throws SQLException if something goes wrong