You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openjpa.apache.org by fa...@apache.org on 2009/11/01 01:52:48 UTC
svn commit: r831627 -
/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/conf/ProductDerivations.java
Author: faywang
Date: Sun Nov 1 00:52:48 2009
New Revision: 831627
URL: http://svn.apache.org/viewvc?rev=831627&view=rev
Log:
OPENJPA-1371: wrong commit. Revert it to the previous version
Modified:
openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/conf/ProductDerivations.java
Modified: openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/conf/ProductDerivations.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/conf/ProductDerivations.java?rev=831627&r1=831626&r2=831627&view=diff
==============================================================================
--- openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/conf/ProductDerivations.java (original)
+++ openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/conf/ProductDerivations.java Sun Nov 1 00:52:48 2009
@@ -60,18 +60,7 @@
l.addClassLoader(0, AccessController
.doPrivileged(J2DoPrivHelper.getClassLoaderAction(ProductDerivations.class)));
l.addClassLoader(1, AccessController.doPrivileged(J2DoPrivHelper.getContextClassLoaderAction()));
- //_derivationNames = Services.getImplementors(ProductDerivation.class, l);
-
- _derivationNames = new String[4];
- _derivationNames [0] =
- "com.ibm.ws.persistence.WsJpaProductDerivation";
- _derivationNames [1] =
- "org.apache.openjpa.jdbc.conf.JDBCProductDerivation";
- _derivationNames [2] =
- "org.apache.openjpa.persistence.PersistenceProductDerivation";
- _derivationNames [3] =
- "org.apache.openjpa.persistence.jdbc.JDBCPersistenceProductDerivation";
-
+ _derivationNames = Services.getImplementors(ProductDerivation.class, l);
_derivationErrors = new Throwable[_derivationNames.length];
List<ProductDerivation> derivations =
new ArrayList<ProductDerivation>(_derivationNames.length);