cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aadamc...@apache.org
Subject svn commit: r545585 - /cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/access/DataContextEJBQLJoinsTest.java
Date Fri, 08 Jun 2007 18:43:11 GMT
Author: aadamchik
Date: Fri Jun  8 11:43:10 2007
New Revision: 545585

URL: http://svn.apache.org/viewvc?view=rev&rev=545585
Log:
fixing relationships in commented out join tests that still fail as there's no adequate EJBQL
join processing yet

Modified:
    cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/access/DataContextEJBQLJoinsTest.java

Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/access/DataContextEJBQLJoinsTest.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/access/DataContextEJBQLJoinsTest.java?view=diff&rev=545585&r1=545584&r2=545585
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/access/DataContextEJBQLJoinsTest.java
(original)
+++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/access/DataContextEJBQLJoinsTest.java
Fri Jun  8 11:43:10 2007
@@ -107,21 +107,21 @@
     }
 
     public void testImplicitJoins() throws Exception {
-        createTestData("testChainedJoins");
+        // createTestData("testChainedJoins");
         // String ejbql = "SELECT a "
         // + "FROM Artist a "
-        // + "WHERE a.paintingArray.gallery.galleryName = 'gallery2'";
-        //
+        // + "WHERE a.paintingArray.toGallery.galleryName = 'gallery2'";
+        //        
         // List artists = createDataContext().performQuery(new EJBQLQuery(ejbql));
         // assertEquals(1, artists.size());
-        // assertEquals(33002, DataObjectUtils.intPKForObject((Artist) artists.get(0)));
+        //         assertEquals(33002, DataObjectUtils.intPKForObject((Artist) artists.get(0)));
     }
 
     public void testPartialImplicitJoins() throws Exception {
         createTestData("testChainedJoins");
         // String ejbql = "SELECT a "
         // + "FROM Artist a JOIN a.paintingArray b "
-        // + "WHERE a.paintingArray.gallery.galleryName = 'gallery2'";
+        // + "WHERE a.paintingArray.toGallery.galleryName = 'gallery2'";
         //
         // List artists = createDataContext().performQuery(new EJBQLQuery(ejbql));
         // assertEquals(1, artists.size());



Mime
View raw message