/**
  * Build the unique persistence name by concatenating the decoded URL with the persistence unit
  * name. A decoded URL is required while persisting on a multi-bytes OS.
  *
  * @param URL
  * @param puName
  * @return String
  */
 public static String buildPersistenceUnitName(URL url, String puName) {
   String fullPuName = null;
   try {
     // append the persistence unit name to the decoded URL
     fullPuName = URLDecoder.decode(url.toString(), "UTF8") + "_" + puName;
   } catch (UnsupportedEncodingException e) {
     throw PersistenceUnitLoadingException.couldNotBuildPersistenceUntiName(
         e, url.toString(), puName);
   }
   return fullPuName;
 }