geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hogst...@apache.org
Subject svn commit: r529834 - /geronimo/specs/trunk/geronimo-jpa_3.0_spec/src/main/java/javax/persistence/Persistence.java
Date Wed, 18 Apr 2007 02:32:23 GMT
Author: hogstrom
Date: Tue Apr 17 19:32:23 2007
New Revision: 529834

URL: http://svn.apache.org/viewvc?view=rev&rev=529834
Log:
Modified Persistence.java static instance of PERSISTENCE_PROVIDER to a String for the class
name to accomodate signature tests.

Modified:
    geronimo/specs/trunk/geronimo-jpa_3.0_spec/src/main/java/javax/persistence/Persistence.java

Modified: geronimo/specs/trunk/geronimo-jpa_3.0_spec/src/main/java/javax/persistence/Persistence.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jpa_3.0_spec/src/main/java/javax/persistence/Persistence.java?view=diff&rev=529834&r1=529833&r2=529834
==============================================================================
--- geronimo/specs/trunk/geronimo-jpa_3.0_spec/src/main/java/javax/persistence/Persistence.java
(original)
+++ geronimo/specs/trunk/geronimo-jpa_3.0_spec/src/main/java/javax/persistence/Persistence.java
Tue Apr 17 19:32:23 2007
@@ -47,8 +47,9 @@
 public class Persistence {
 
     protected static final Set<PersistenceProvider> providers = new HashSet<PersistenceProvider>();
-
-    public static final java.lang.String PERSISTENCE_PROVIDER = PersistenceProvider.class.getName();

+    // Changed to the hard coded PERSISTENCE_PROVIDER value to pass signature tests.
+    // public static final java.lang.String PERSISTENCE_PROVIDER = PersistenceProvider.class.getName();

+    public static final java.lang.String PERSISTENCE_PROVIDER = "javax.persistence.spi.PeristenceProvider";
     static final String PERSISTENCE_PROVIDER_PROPERTY = "javax.persistence.provider";
     static final String PERSISTENCE_PROVIDER_SERVICE = "META-INF/services/"
         + PersistenceProvider.class.getName();



Mime
View raw message