Return-Path: Delivered-To: apmail-incubator-cayenne-user-archive@locus.apache.org Received: (qmail 29999 invoked from network); 17 Aug 2006 13:46:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 17 Aug 2006 13:46:56 -0000 Received: (qmail 81228 invoked by uid 500); 17 Aug 2006 13:46:52 -0000 Delivered-To: apmail-incubator-cayenne-user-archive@incubator.apache.org Received: (qmail 81218 invoked by uid 500); 17 Aug 2006 13:46:52 -0000 Mailing-List: contact cayenne-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cayenne-user@incubator.apache.org Delivered-To: mailing list cayenne-user@incubator.apache.org Received: (qmail 81095 invoked by uid 99); 17 Aug 2006 13:46:52 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Aug 2006 06:46:52 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [64.124.179.102] (HELO polatsk.objectstyle.org) (64.124.179.102) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 17 Aug 2006 06:46:51 -0700 Received: (qmail 12251 invoked from network); 17 Aug 2006 13:46:30 -0000 Received: from unknown (HELO ?????????????????IPv6:::1?) (127.0.0.1) by localhost with SMTP; 17 Aug 2006 13:46:30 -0000 Mime-Version: 1.0 (Apple Message framework v752.2) In-Reply-To: References: Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Message-Id: <98D9FE1C-14E6-42E2-A011-5C77E3846648@objectstyle.org> Content-Transfer-Encoding: quoted-printable From: Andrus Adamchik Subject: Re: Cayenne does not throw an exception when an outer join is attempted Date: Thu, 17 Aug 2006 09:46:28 -0400 To: cayenne-user@incubator.apache.org X-Mailer: Apple Mail (2.752.2) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N > Would it make sense for Cayenne to throw an exception when an outer > join is attempted? Could you be more specific on when it should detect that? IIRC there =20 were some discussions on that in the past. You provide no references =20 though. Also there is an effort underway to support outer joins (we will have =20= to do it in 3.0 anyways as the goal is to be compatible with the JPA =20 spec that requires them): http://objectstyle.org/cayenne/lists/cayenne-devel/2006/08/0106.html Andrus On Aug 17, 2006, at 3:24 AM, =D8yvind Harboe wrote: > Outer joins are not supported, I know. > > Meanwhile I miss being *told* when I'm attempting an outer join, > minimally runtime. > > One of the reasons I'm using Cayenne is that I don't want to think > about SQL, so I don't. It hurts even thinking about thinking about how > Cayenne Expressions turn into SQL statements :-) > > Would it make sense for Cayenne to throw an exception when an outer > join is attempted? > > Could I attempt to implement such a detection in Cayenne myself and > submit a patch or is it fiendishly difficult? > > --=20 > =D8yvind Harboe > http://www.zylin.com >