[jboss-cvs] JBossAS SVN: r68005 - projects/javaee/trunk/jboss-persistence-api/src/main/javax/persistence.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Thu Dec 6 17:00:43 EST 2007
Author: smcgowan at redhat.com
Date: 2007-12-06 17:00:43 -0500 (Thu, 06 Dec 2007)
New Revision: 68005
Modified:
projects/javaee/trunk/jboss-persistence-api/src/main/javax/persistence/Persistence.java
Log:
update persistence apis to be consistent with ejb3-persistence.jar
Modified: projects/javaee/trunk/jboss-persistence-api/src/main/javax/persistence/Persistence.java
===================================================================
--- projects/javaee/trunk/jboss-persistence-api/src/main/javax/persistence/Persistence.java 2007-12-06 21:52:00 UTC (rev 68004)
+++ projects/javaee/trunk/jboss-persistence-api/src/main/javax/persistence/Persistence.java 2007-12-06 22:00:43 UTC (rev 68005)
@@ -1,4 +1,4 @@
-// $Id: Persistence.java 11282 2007-03-14 22:05:59Z epbernard $
+// $Id: Persistence.java 14134 2007-10-25 22:34:46Z epbernard $
package javax.persistence;
import java.io.BufferedReader;
@@ -19,7 +19,8 @@
*/
public class Persistence {
- public static String PERSISTENCE_PROVIDER = PersistenceProvider.class.getName();
+ //typo intended because it leaked into the JPA 1 spec. Do not use this constant.
+ public static final java.lang.String PERSISTENCE_PROVIDER = "javax.persistence.spi.PeristenceProvider";
protected static final Set<PersistenceProvider> providers = new HashSet<PersistenceProvider>();
More information about the jboss-cvs-commits
mailing list