.getPersistenceProviderClassName());
} else {
logger.debug("Found a default configuration for the persistence provider {0}", jPersistenceunitInfo
.getPersistenceProviderClassName());
Properties defaultProperties = providerDefaultConf.getProperties();
Enumeration<?> providerPropertiesEnum = defaultProperties.propertyNames();
while (providerPropertiesEnum.hasMoreElements()) {
String key = (String) providerPropertiesEnum.nextElement();
String value = defaultProperties.getProperty(key);
// set the value on the provider info
if (jPersistenceunitInfo.getProperties().getProperty(key) == null) {