mirror of https://github.com/apache/openjpa.git
OPENJPA-552 Remove dis-allowing Connection* properties in
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@644128 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3b779943af
commit
eb7eb2ee0f
|
@ -149,12 +149,6 @@ public class PersistenceProviderImpl
|
|||
// create an independent conf for enhancement
|
||||
OpenJPAConfiguration conf = new OpenJPAConfigurationImpl();
|
||||
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,
|
||||
|
|
Loading…
Reference in New Issue