Return-Path: Delivered-To: apmail-cayenne-user-archive@www.apache.org Received: (qmail 90398 invoked from network); 23 Jan 2008 16:38:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Jan 2008 16:38:45 -0000 Received: (qmail 99577 invoked by uid 500); 23 Jan 2008 16:38:34 -0000 Delivered-To: apmail-cayenne-user-archive@cayenne.apache.org Received: (qmail 99569 invoked by uid 500); 23 Jan 2008 16:38:34 -0000 Mailing-List: contact user-help@cayenne.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cayenne.apache.org Delivered-To: mailing list user@cayenne.apache.org Received: (qmail 99560 invoked by uid 99); 23 Jan 2008 16:38:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Jan 2008 08:38:34 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [206.190.48.229] (HELO web52706.mail.re2.yahoo.com) (206.190.48.229) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 23 Jan 2008 16:38:21 +0000 Received: (qmail 59896 invoked by uid 60001); 23 Jan 2008 16:38:12 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=vBZIPhAsMPREpmPmLUpP+dvSa+zQBrypgXqyfkOjAr///Pjp7cGTZXP6StLdV/mzQ/9HdboQzOtbl2ZmTGxmp3JRN6YvsV9LjoYzKbCTFazEwbq/F+whML5SrpwFvcFQbvAs6WzSPhqVusP/vvxorTrAafOtOMPK5Z4f1Oeug6s=; X-YMail-OSG: rh1SlewVM1kV.5NVWz5QBvyQaSw8xzc10SU83DNi Received: from [75.146.243.105] by web52706.mail.re2.yahoo.com via HTTP; Wed, 23 Jan 2008 08:38:12 PST Date: Wed, 23 Jan 2008 08:38:12 -0800 (PST) From: Adam Yocum Subject: Re: Join over Multiple Database To: user@cayenne.apache.org In-Reply-To: <722C5B21-57F1-4F30-B912-537D36866C8C@pvv.ntnu.no> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1441277263-1201106292=:58985" Content-Transfer-Encoding: 8bit Message-ID: <912920.58985.qm@web52706.mail.re2.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org --0-1441277263-1201106292=:58985 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hi Tore, Thanks, that did it. now all my queries include the database name in the call and the relationships across databases seem to work. Of course if I ever split the DBs up over different servers their might be trouble, but that's not going to happen so this is great. thanks again! Adam Tore Halset wrote: On Jan 23, 2008, at 4:15 , Adam Yocum wrote: > I know that Cayenne will not allow me to do this sort of join even > though technically the server can do it if you explicitly name all > the tables involved with a database prefix like the above example. I though it should be possible to use the DbEntity schema for the "database prefix" and then have all the DbEntities in the same map. Have you tried it? - Tore. --------------------------------- Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. --0-1441277263-1201106292=:58985--