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/trunk@644129 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
999ce2e670
commit
ee8155bb60
|
@ -189,12 +189,6 @@ public class PersistenceProviderImpl
|
||||||
private ClassTransformerImpl(ConfigurationProvider cp, String props,
|
private ClassTransformerImpl(ConfigurationProvider cp, String props,
|
||||||
final ClassLoader tmpLoader, OpenJPAConfiguration conf) {
|
final ClassLoader tmpLoader, OpenJPAConfiguration conf) {
|
||||||
cp.setInto(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
|
// use the tmp loader for everything
|
||||||
conf.setClassResolver(new ClassResolver() {
|
conf.setClassResolver(new ClassResolver() {
|
||||||
public ClassLoader getClassLoader(Class context,
|
public ClassLoader getClassLoader(Class context,
|
||||||
|
|
Loading…
Reference in New Issue