Return-Path: Delivered-To: apmail-openjpa-users-archive@minotaur.apache.org Received: (qmail 92489 invoked from network); 18 Nov 2010 15:07:02 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 18 Nov 2010 15:07:02 -0000 Received: (qmail 77414 invoked by uid 500); 18 Nov 2010 15:07:33 -0000 Delivered-To: apmail-openjpa-users-archive@openjpa.apache.org Received: (qmail 77157 invoked by uid 500); 18 Nov 2010 15:07:33 -0000 Mailing-List: contact users-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@openjpa.apache.org Delivered-To: mailing list users@openjpa.apache.org Received: (qmail 77149 invoked by uid 99); 18 Nov 2010 15:07:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Nov 2010 15:07:32 +0000 X-ASF-Spam-Status: No, hits=4.4 required=10.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of curtisr7@gmail.com designates 209.85.161.46 as permitted sender) Received: from [209.85.161.46] (HELO mail-fx0-f46.google.com) (209.85.161.46) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Nov 2010 15:07:26 +0000 Received: by fxm6 with SMTP id 6so1751783fxm.33 for ; Thu, 18 Nov 2010 07:07:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=yH2JqnStfw4IBPLNY7b6Uw+Wqpa/2SZ9GHuXPjC5GRg=; b=eLIJroBDcmpDX0Id3XAA98YSh8hHQaDK+FdYNKgyqIQ3OTptAY6xzFIS8vIVydqWVn tlBCmDoCip6CAcs7rvELR38gkv1og18LPO8jeBbcYYdVrlXvRvARv09sNwppM/+EL9Bk wHwgUpvP7FaPzCaZu8hngtEg880oEGLW4l1TY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=LcEoKioTPcIqRyebpPHN1qwqW2DVdNA1bdwRQnFTsnVEwjFvI14Pa9aiekLnN0PkQg F0yid00MlUcTcDXyd6Lq6sG3IwnrhlaZaCyuPj5w/TVYVtMUlhc3pqMJJUZlMhb+M4oX 1FfUt5uRPdEt8aOly17YA+Me06iZOSnS4KK+w= MIME-Version: 1.0 Received: by 10.223.97.73 with SMTP id k9mr654148fan.120.1290092825599; Thu, 18 Nov 2010 07:07:05 -0800 (PST) Received: by 10.223.118.139 with HTTP; Thu, 18 Nov 2010 07:07:05 -0800 (PST) In-Reply-To: References: <299DF9B5AB24467BBD05146D8E8EFDB4@cn.ibm.com> Date: Thu, 18 Nov 2010 09:07:05 -0600 Message-ID: Subject: Re: Work with multiple persistence unit. From: Rick Curtis To: users@openjpa.apache.org Content-Type: multipart/alternative; boundary=485b393ab0f398e0b00495552436 X-Virus-Checked: Checked by ClamAV on apache.org --485b393ab0f398e0b00495552436 Content-Type: text/plain; charset=ISO-8859-1 It sounds like these messages are coming from Eclipse tooling[1] ? OpenJPA supports multiple PUs, but it sounds like Dali may have some issues with it... [ From [1] ] We need to convey to the user that only one PU is going to be recognized for Dali functionality. Any Entities defined in additional PU's will now be treated like they are in the 1 recognized PU for the purposes of defaults, validation, etc. These unrecognized Entities will be marked with an Error, informing the user that they are not listed in the recognized PU. [1]https://bugs.eclipse.org/bugs/show_bug.cgi?id=231527 Thanks, Rick On Thu, Nov 18, 2010 at 8:47 AM, Alex, Huang wrote: > Rich, > > Thanks for your reply. > > What are you trying to do when you get these warning messages? > I ignored the warning message and generated some entities. So the entities > defined in previous persistence unit arised the following compile errors, > "Class "xxxxx" is mapped, but is not included in any persistence unit" > "Table "xxxxx" cannot be resolved" > > > Can you please include the full warning message(s)? > Warning message is just one sentence, > "Multiple persistence units defined - only the first persistence unit will > be recognized". > > > Are you using container managed or application managed? > I am using application managed. > > Thanks, > Alex,Huang > ----- Original Message ----- > From: "Rick Curtis" > To: > Sent: Thursday, November 18, 2010 10:13 PM > Subject: Re: Work with multiple persistence unit. > > > > What are you trying to do when you get these warning messages? Can you > > please include the full warning message(s)? Are you using container > > managed > > or application managed? > > > > Thanks, > > Rick > > > --485b393ab0f398e0b00495552436--