cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aadamc...@apache.org
Subject svn commit: r653857 - /cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/query/SelectQuery.java
Date Tue, 06 May 2008 17:57:56 GMT
Author: aadamchik
Date: Tue May  6 10:57:56 2008
New Revision: 653857

URL: http://svn.apache.org/viewvc?rev=653857&view=rev
Log:
CAY-802  Split Expressions
(javadocs)

Modified:
    cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/query/SelectQuery.java

Modified: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/query/SelectQuery.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/query/SelectQuery.java?rev=653857&r1=653856&r2=653857&view=diff
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/query/SelectQuery.java
(original)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/query/SelectQuery.java
Tue May  6 10:57:56 2008
@@ -26,6 +26,7 @@
 import java.util.Map;
 
 import org.apache.cayenne.exp.Expression;
+import org.apache.cayenne.exp.ExpressionFactory;
 import org.apache.cayenne.map.DbEntity;
 import org.apache.cayenne.map.EntityResolver;
 import org.apache.cayenne.map.MapLoader;
@@ -410,11 +411,14 @@
     }
 
     /**
-     * Adds one or more aliases for the qualifier expression path.
+     * Adds one or more aliases for the qualifier expression path. Aliases serve to
+     * instruct Cayenne to generate separate sets of joins for overlapping paths, that
+     * maybe needed for complex conditions. An example of an <i>implicit<i> splits
is
+     * this method: {@link ExpressionFactory#matchAllExp(String, Object...)}.
      * 
      * @since 3.0
      */
-    public void addPathSplitAliases(String path, String... aliases) {
+    public void aliasPathSplits(String path, String... aliases) {
         metaData.addPathSplitAliases(path, aliases);
     }
 



Mime
View raw message