code: public static String quote(String name) {
      if (isEmpty(name) || isQuoted(name)) {
        return name;
      }
      // Convert the JPA2 specific quoting character (double quote) to Hibernate's (back tick)
      else if (name.startsWith("\"") && name.endsWith("\"")) {
        name = name.substring(1, name.length() - 1);
      }
  
      return new StringBuilder(name.length() + 2).append('`').append(name).append('`').toString();
    }
docs: Return a representation of the given name ensuring quoting (wrapped with '`' characters).  If already wrapped
  return name.
  
  @param name The name to quote.
  @return The quoted version.