openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From allee8...@apache.org
Subject svn commit: r644128 - /openjpa/branches/1.0.x/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/PersistenceProviderImpl.java
Date Thu, 03 Apr 2008 01:18:36 GMT
Author: allee8285
Date: Wed Apr  2 18:18:35 2008
New Revision: 644128

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

Modified:
    openjpa/branches/1.0.x/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/PersistenceProviderImpl.java

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



Mime
View raw message