cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aadamc...@apache.org
Subject svn commit: r963202 - /cayenne/main/branches/STABLE-3.0/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/CayenneContextEJBQLTest.java
Date Mon, 12 Jul 2010 07:52:53 GMT
Author: aadamchik
Date: Mon Jul 12 07:52:52 2010
New Revision: 963202

URL: http://svn.apache.org/viewvc?rev=963202&view=rev
Log:
CAY-1452 EJBQL query scalar result is not supported

* deterministic ordering

Modified:
    cayenne/main/branches/STABLE-3.0/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/CayenneContextEJBQLTest.java

Modified: cayenne/main/branches/STABLE-3.0/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/CayenneContextEJBQLTest.java
URL: http://svn.apache.org/viewvc/cayenne/main/branches/STABLE-3.0/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/CayenneContextEJBQLTest.java?rev=963202&r1=963201&r2=963202&view=diff
==============================================================================
--- cayenne/main/branches/STABLE-3.0/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/CayenneContextEJBQLTest.java
(original)
+++ cayenne/main/branches/STABLE-3.0/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/CayenneContextEJBQLTest.java
Mon Jul 12 07:52:52 2010
@@ -89,7 +89,7 @@ public class CayenneContextEJBQLTest ext
         CayenneContext clientContext = new CayenneContext(channel);
 
         EJBQLQuery query = new EJBQLQuery(
-                "SELECT COUNT(a), a, a.serverAttribute1  FROM MtTable1 a Group By a");
+                "SELECT COUNT(a), a, a.serverAttribute1 FROM MtTable1 a Group By a ORDER
BY a.serverAttribute1");
 
         List<Object[]> results = clientContext.performQuery(query);
         assertEquals(2, results.size());



Mime
View raw message