Return-Path: Delivered-To: apmail-cayenne-user-archive@www.apache.org Received: (qmail 53736 invoked from network); 16 Jun 2009 10:53:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 16 Jun 2009 10:53:52 -0000 Received: (qmail 81087 invoked by uid 500); 16 Jun 2009 10:54:03 -0000 Delivered-To: apmail-cayenne-user-archive@cayenne.apache.org Received: (qmail 81072 invoked by uid 500); 16 Jun 2009 10:54:03 -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 81062 invoked by uid 99); 16 Jun 2009 10:54:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Jun 2009 10:54:03 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [208.78.103.231] (HELO vorsha.objectstyle.org) (208.78.103.231) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 16 Jun 2009 10:53:55 +0000 Received: (qmail 26194 invoked from network); 16 Jun 2009 10:53:33 -0000 Received: from unknown (HELO ?IPv6:::1?) (127.0.0.1) by localhost with SMTP; 16 Jun 2009 10:53:33 -0000 Message-Id: From: Andrus Adamchik To: user@cayenne.apache.org In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v935.3) Subject: Re: Two DataMaps/DataNodes with the same entity/class name Date: Tue, 16 Jun 2009 13:53:32 +0300 References: X-Mailer: Apple Mail (2.935.3) X-Virus-Checked: Checked by ClamAV on apache.org You have to place them in different DataDomains and use separate =20 contexts to access them. Or call your class UserSomething (which looks =20= like a more sensible way to me to resolve a naming conflict). Andrus On Jun 16, 2009, at 1:03 PM, Borut Bol=C4=8Dina wrote: > Hi, > > is it somehow possible to have two DomainNodes (2 different =20 > independent > databases) with the same entity/class name? Both databases have table > (entity) "user" and I don't want to rename one class to UserSomething. > > Regards, > Borut