Return-Path: X-Original-To: apmail-cayenne-user-archive@www.apache.org Delivered-To: apmail-cayenne-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EA6477DB8 for ; Thu, 15 Dec 2011 13:53:52 +0000 (UTC) Received: (qmail 80822 invoked by uid 500); 15 Dec 2011 13:53:52 -0000 Delivered-To: apmail-cayenne-user-archive@cayenne.apache.org Received: (qmail 80772 invoked by uid 500); 15 Dec 2011 13:53:51 -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 80764 invoked by uid 99); 15 Dec 2011 13:53:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Dec 2011 13:53:51 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.161.171] (HELO mail-gx0-f171.google.com) (209.85.161.171) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Dec 2011 13:53:45 +0000 Received: by ggnh4 with SMTP id h4so3085772ggn.16 for ; Thu, 15 Dec 2011 05:53:24 -0800 (PST) Received: by 10.182.73.71 with SMTP id j7mr1637074obv.55.1323957204235; Thu, 15 Dec 2011 05:53:24 -0800 (PST) MIME-Version: 1.0 Received: by 10.182.150.74 with HTTP; Thu, 15 Dec 2011 05:53:03 -0800 (PST) In-Reply-To: <201112141331.34562.ppu-nbcon@web.de> References: <201112141331.34562.ppu-nbcon@web.de> From: Michael Gentry Date: Thu, 15 Dec 2011 08:53:03 -0500 Message-ID: Subject: Re: Same Datebasestructure in one DataDomain To: user@cayenne.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi there, This is fine, but you'll have to put your Products Java class in different packages so that Cayenne can keep them straight. mrg On Wed, Dec 14, 2011 at 7:31 AM, PPU wrote: > Hello, > > I have one DataDomain with 2 different DataNote Configurations. > Each DataNote point to an other Database. > But in these databases, i have the same table names. > > My Problem is, that i can not create the DbEntity Files with the same Nam= e. > > Is there a solution, that i can have the same DBEntity Names for my two > DataMaps? > > > Schema: > > Database 1 > Table name: Products > > Database 2 > Table name: Products > > > DataDomain1 has two DataNotes > > DataNote1 point to Database1 > DataNote1 has a DataMap1 > DataMap1 has a table named Products > > DataNote2 point to Database2 > DataNote2 has a DataMap2 > DataMap2 has a table named Products > > I hope you understand my Problem?! =A0;-)