cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aadamc...@apache.org
Subject svn commit: r454796 - /incubator/cayenne/main/trunk/core/cayenne-jdk1.4/src/main/java/org/apache/cayenne/access/DataContext.java
Date Tue, 10 Oct 2006 16:01:53 GMT
Author: aadamchik
Date: Tue Oct 10 09:01:50 2006
New Revision: 454796

URL: http://svn.apache.org/viewvc?view=rev&rev=454796
Log:
CAY-683 - replacing invalid DataObject cast with Persistent

Modified:
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4/src/main/java/org/apache/cayenne/access/DataContext.java

Modified: incubator/cayenne/main/trunk/core/cayenne-jdk1.4/src/main/java/org/apache/cayenne/access/DataContext.java
URL: http://svn.apache.org/viewvc/incubator/cayenne/main/trunk/core/cayenne-jdk1.4/src/main/java/org/apache/cayenne/access/DataContext.java?view=diff&rev=454796&r1=454795&r2=454796
==============================================================================
--- incubator/cayenne/main/trunk/core/cayenne-jdk1.4/src/main/java/org/apache/cayenne/access/DataContext.java
(original)
+++ incubator/cayenne/main/trunk/core/cayenne-jdk1.4/src/main/java/org/apache/cayenne/access/DataContext.java
Tue Oct 10 09:01:50 2006
@@ -740,7 +740,7 @@
 
         Persistent object;
         try {
-            object = (DataObject) descriptor.createObject();
+            object = (Persistent) descriptor.createObject();
         }
         catch (Exception ex) {
             throw new CayenneRuntimeException("Error instantiating object.", ex);



Mime
View raw message