code: public String propertyToColumn(String propertyName) {
          StringBuilder sb = new StringBuilder();
  
          for(int i=0;i<propertyName.length();i++){
              char c = propertyName.charAt(i);
              if(c >= 'A' && c <= 'Z'){
                  sb.append('_');
              }
              sb.append(String.valueOf(c).toUpperCase());
          }
  
          return sb.toString();
  
      }
docs: {@inheritDoc}