cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aadamc...@apache.org
Subject svn commit: r454054 - /incubator/cayenne/main/trunk/core/cayenne-jpa/src/main/java/org/apache/cayenne/jpa/cspi/CjpaEntityManager.java
Date Sun, 08 Oct 2006 00:55:49 GMT
Author: aadamchik
Date: Sat Oct  7 17:55:48 2006
New Revision: 454054

URL: http://svn.apache.org/viewvc?view=rev&rev=454054
Log:
switching EntityManager from DataContext to ObjectContext

Modified:
    incubator/cayenne/main/trunk/core/cayenne-jpa/src/main/java/org/apache/cayenne/jpa/cspi/CjpaEntityManager.java

Modified: incubator/cayenne/main/trunk/core/cayenne-jpa/src/main/java/org/apache/cayenne/jpa/cspi/CjpaEntityManager.java
URL: http://svn.apache.org/viewvc/incubator/cayenne/main/trunk/core/cayenne-jpa/src/main/java/org/apache/cayenne/jpa/cspi/CjpaEntityManager.java?view=diff&rev=454054&r1=454053&r2=454054
==============================================================================
--- incubator/cayenne/main/trunk/core/cayenne-jpa/src/main/java/org/apache/cayenne/jpa/cspi/CjpaEntityManager.java
(original)
+++ incubator/cayenne/main/trunk/core/cayenne-jpa/src/main/java/org/apache/cayenne/jpa/cspi/CjpaEntityManager.java
Sat Oct  7 17:55:48 2006
@@ -29,17 +29,17 @@
 import org.apache.cayenne.CayenneRuntimeException;
 import org.apache.cayenne.DataObject;
 import org.apache.cayenne.DataObjectUtils;
+import org.apache.cayenne.ObjectContext;
 import org.apache.cayenne.Persistent;
-import org.apache.cayenne.access.DataContext;
 import org.apache.cayenne.access.Transaction;
 import org.apache.cayenne.jpa.JpaEntityManager;
 import org.apache.cayenne.jpa.JpaEntityManagerFactory;
 
 public class CjpaEntityManager extends JpaEntityManager {
 
-    private DataContext context;
+    private ObjectContext context;
 
-    public CjpaEntityManager(DataContext context, JpaEntityManagerFactory factory,
+    public CjpaEntityManager(ObjectContext context, JpaEntityManagerFactory factory,
             Map parameters) {
         super(factory);
         this.context = context;



Mime
View raw message