code: static final Properties getProperties(final KunderaMetadata kunderaMetadata, final String persistenceUnit)
      {
          PersistenceUnitMetadata persistenceUnitMetadatata = kunderaMetadata.getApplicationMetadata()
                  .getPersistenceUnitMetadata(persistenceUnit);
          Properties props = persistenceUnitMetadatata.getProperties();
          return props;
      }
docs: Gets the properties.
  
  @param persistenceUnit
  the persistence unit
  @return the properties