code: public static String capsIdentifier(String identifier, Boolean isH2Database) {
          if(isH2Database != null) {
              if(isH2Database) {
                  return identifier.toUpperCase();
              } else {
                  return identifier.toLowerCase();
              }
          } else {
              return identifier;
          }
      }
docs: Change case of parameters to make it more user-friendly.
  
  @param identifier   Table, Catalog, Schema, or column name
  @param isH2Database True if H2, False if PostGreSQL, null if unknown
  @return Upper or lower case version of identifier