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
This commit is contained in:
Albert Lee 2008-04-03 01:18:39 +00:00
parent 999ce2e670
commit ee8155bb60
1 changed files with 0 additions and 6 deletions

View File

@ -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,