code: public static String processDatabaseProductName(String databaseProductName) {
          String result = databaseProductName;
  
          if (databaseProductName != null && databaseProductName.startsWith("DB2") == true) {
              result = "DB2";
          } else if ("Sybase SQL Server".equals(databaseProductName) == true
                  || "Adaptive Server Enterprise".equals(databaseProductName) == true || "ASE".equals(databaseProductName) == true
                  || "sql server".equals(databaseProductName) == true) {
              result = "Sybase";
          }
  
          return result;
      }
docs: Reads value returned from getDatabaseProductName (DatabaseMetadata class) and converts it into
  "short" name
  
  @param databaseProductName {@link java.sql.DatabaseMetaData#getDatabaseProductName()}
  @return short database name