Return-Path: Delivered-To: apmail-cayenne-user-archive@www.apache.org Received: (qmail 93980 invoked from network); 19 Dec 2008 10:19:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Dec 2008 10:19:34 -0000 Received: (qmail 75757 invoked by uid 500); 19 Dec 2008 10:19:46 -0000 Delivered-To: apmail-cayenne-user-archive@cayenne.apache.org Received: (qmail 75747 invoked by uid 500); 19 Dec 2008 10:19:46 -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 75736 invoked by uid 99); 19 Dec 2008 10:19:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Dec 2008 02:19:46 -0800 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; Fri, 19 Dec 2008 10:19:24 +0000 Received: (qmail 15276 invoked from network); 19 Dec 2008 10:19:03 -0000 Received: from unknown (HELO ?IPv6:::1?) (127.0.0.1) by localhost with SMTP; 19 Dec 2008 10:19:03 -0000 Message-Id: <46BAFE06-DFD9-41CC-BBB9-543009B29ADF@objectstyle.org> From: Andrus Adamchik To: user@cayenne.apache.org In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) Subject: Re: Two tables with the same name in two different data model ! Date: Fri, 19 Dec 2008 12:19:02 +0200 References: X-Mailer: Apple Mail (2.929.2) X-Virus-Checked: Checked by ClamAV on apache.org Here is a link to a similar discussion that happened recently: http://markmail.org/message/ihe7hf2sfzllda7a It acknowledges the limitation and suggests a workaround. Let me actually Jira the problem. Andrus On Dec 18, 2008, at 4:59 PM, Marc Gabriel-Willem wrote: > Dears, > > > > We are facing a very annoying problem regarding the name of our > tables. > > > > We have the following configuration. > > - one domain including two different data models > > - each data models should have a table with the name tMyTable > > > > For sure, there is more than just one table in the data models > definition... :-) > > > > The problem is the following: > > The cayenne modeler raises an error saying that we cannot have two > entities with the same name. But we are well in two different data > model. > > Indeed, the tables have the same name, but there are different (others > attributes). It is an historical reason for us... and we cannot modify > that name in our db schemas! > > > > How can we handle this situation? > > > > Thank you for your help. > > > > > > > > Marc GABRIEL-WILLEM > > Java Consultant > > EastNets(tm) LU > > Route des Trois Cantons, 11 > > L-8399 WINDHOF > > Luxembourg > > > > Skype: eneumwillem > > Email: mgw@side.lu > > Fax: +32 (0)2 6560070 > > http://www.eastnets.com > > > > > > _____ > > CONFIDENTIALITY: This e-mail and any files transmitted with it are > confidential and intended solely for the use of the recipient(s) only. > Any review, retransmission, dissemination or other use of, or taking > any > action in reliance upon this information by persons or entities other > than the intended recipient(s) is prohibited. If you have received > this > e-mail in error please notify the sender immediately and destroy the > material whether stored on a computer or otherwise. > > DISCLAIMER: Any views or opinions presented within this e-mail are > solely those of the author and do not necessarily represent those of > Eastern Networks ltd., unless otherwise specifically stated. > > _____ > > Please consider the environment before deciding to print this email. > > >