docs: public Properties getProperties() {
            Properties rtnProperties = null;
  
            // Convert this Properties from the class defined in JAXB
            // (com.ibm.ws.jpa.pxml21.Persistence.PersistenceUnit.Properties)
            // to standard JDK classes (java.util.Properties).
  
            com.ibm.ws.jpa.pxml21.Persistence.PersistenceUnit.Properties puProperties = ivPUnit.getProperties();
  
            if (puProperties != null) {
                 List<com.ibm.ws.jpa.pxml21.Persistence.PersistenceUnit.Properties.Property> propertyList =
                      puProperties.getProperty();
                 if (propertyList != null && !propertyList.isEmpty()) {
                      rtnProperties = new Properties();
                      for (com.ibm.ws.jpa.pxml21.Persistence.PersistenceUnit.Properties.Property puProperty : propertyList) {
                           // It is possible that a syntax error will exist in the persistence.xml
                           // where the property or value is null. Neither is acceptable for
                           // a Hashtable and will result in an exception.
                           try {
                                rtnProperties.setProperty(puProperty.getName(), puProperty.getValue());
                           } catch (Throwable ex) {
                                FFDCFilter.processException(ex, CLASS_NAME + ".getProperties", "219", this);
                                Tr.error(tc, "PROPERTY_SYNTAX_ERROR_IN_PERSISTENCE_XML_CWWJP0039E",
                                   ivPUnit.getName(), puProperty.getName(), puProperty.getValue(), ex);
                                String exMsg =
                                     "A severe error occurred while processing the properties "
                                          + "within the persistence.xml of Persistence Unit: " + ivPUnit.getName()
                                          + " (Property = " + puProperty.getName() + ", Value = " + puProperty.getValue()
                                          + ").";
                                throw new RuntimeException(exMsg, ex);
                           }
                      }
                 }
            }
            return rtnProperties;
       }