diff --git a/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/PersistenceProviderImpl.java b/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/PersistenceProviderImpl.java index cf6e15422..47e596195 100644 --- a/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/PersistenceProviderImpl.java +++ b/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/PersistenceProviderImpl.java @@ -189,12 +189,6 @@ public class PersistenceProviderImpl private ClassTransformerImpl(ConfigurationProvider cp, String props, final ClassLoader tmpLoader, OpenJPAConfiguration conf) { cp.setInto(conf); - // don't allow connections - conf.setConnectionUserName(null); - conf.setConnectionPassword(null); - conf.setConnectionURL(null); - conf.setConnectionDriverName(null); - conf.setConnectionFactoryName(null); // use the tmp loader for everything conf.setClassResolver(new ClassResolver() { public ClassLoader getClassLoader(Class context,