You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by ho...@apache.org on 2007/04/18 04:32:23 UTC
svn commit: r529834 -
/geronimo/specs/trunk/geronimo-jpa_3.0_spec/src/main/java/javax/persistence/Persistence.java
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();