cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aadamc...@apache.org
Subject svn commit: r1523036 - in /cayenne/main/trunk: docs/doc/src/main/resources/UPGRADE.txt framework/cayenne-core-unpublished/src/main/java/org/apache/cayenne/ObjectContext.java
Date Fri, 13 Sep 2013 17:56:38 GMT
Author: aadamchik
Date: Fri Sep 13 17:56:38 2013
New Revision: 1523036

URL: http://svn.apache.org/r1523036
Log:
CAY-1869 ResultIterator from cayenne-client dependency is subclassed from org.apache.cayenne.access.ResultIterator
which is present only in cayenne-server dependency

upgrade notes
typos in javadocs

Modified:
    cayenne/main/trunk/docs/doc/src/main/resources/UPGRADE.txt
    cayenne/main/trunk/framework/cayenne-core-unpublished/src/main/java/org/apache/cayenne/ObjectContext.java

Modified: cayenne/main/trunk/docs/doc/src/main/resources/UPGRADE.txt
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/docs/doc/src/main/resources/UPGRADE.txt?rev=1523036&r1=1523035&r2=1523036&view=diff
==============================================================================
--- cayenne/main/trunk/docs/doc/src/main/resources/UPGRADE.txt (original)
+++ cayenne/main/trunk/docs/doc/src/main/resources/UPGRADE.txt Fri Sep 13 17:56:38 2013
@@ -23,6 +23,10 @@ UPGRADING TO 3.2M2
   ObjectContexts will match even if they have differing local changes. Only their ObjectIds
are compared. 
   See CAY-1860 for details.
 
+* ResultIterator was moved to org.apache.cayenne to make it available on both server and
client. When you upgrade
+  related iterator code, make sure to check ResultIterator improvements (e.g. it implements
Iterable, it is no 
+  longer limited to DataRows and can fetch objects just as easy). Also check ObjectContext.iterate(..)
method.
+
 UPGRADING TO 3.1B1
 
 * In an attempt to better organize DI configuration and ultimately make it easier to understand,


Modified: cayenne/main/trunk/framework/cayenne-core-unpublished/src/main/java/org/apache/cayenne/ObjectContext.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-core-unpublished/src/main/java/org/apache/cayenne/ObjectContext.java?rev=1523036&r1=1523035&r2=1523036&view=diff
==============================================================================
--- cayenne/main/trunk/framework/cayenne-core-unpublished/src/main/java/org/apache/cayenne/ObjectContext.java
(original)
+++ cayenne/main/trunk/framework/cayenne-core-unpublished/src/main/java/org/apache/cayenne/ObjectContext.java
Fri Sep 13 17:56:38 2013
@@ -196,7 +196,7 @@ public interface ObjectContext extends S
     /**
      * Creates a ResultIterator based on the provided query. It is usually
      * backed by an open result set and is useful for processing of large data
-     * sets, preservign a constant memory footpront. The caller must wrap
+     * sets, preserving a constant memory footprint. The caller must wrap
      * iteration in try/finally and close the ResultIterator explicitly. Or use
      * {@link #iterate(Select, ResultIteratorCallback)} as an alternative.
      * 



Mime
View raw message