From ee8155bb60ddfdc94e94b8973455c599072a6c27 Mon Sep 17 00:00:00 2001 From: Albert Lee Date: Thu, 3 Apr 2008 01:18:39 +0000 Subject: [PATCH] OPENJPA-552 Remove dis-allowing Connection* properties in git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@644129 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/openjpa/persistence/PersistenceProviderImpl.java | 6 ------ 1 file changed, 6 deletions(-) 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,