openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From allee8...@apache.org
Subject svn commit: r644129 - /openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/PersistenceProviderImpl.java
Date Thu, 03 Apr 2008 01:18:39 GMT
Author: allee8285
Date: Wed Apr  2 18:18:39 2008
New Revision: 644129

URL: http://svn.apache.org/viewvc?rev=644129&view=rev
Log:
OPENJPA-552 Remove dis-allowing Connection* properties in 

Modified:
    openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/PersistenceProviderImpl.java

Modified: openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/PersistenceProviderImpl.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/PersistenceProviderImpl.java?rev=644129&r1=644128&r2=644129&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/PersistenceProviderImpl.java
(original)
+++ openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/PersistenceProviderImpl.java
Wed Apr  2 18:18:39 2008
@@ -189,12 +189,6 @@
         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, 



Mime
View raw message