openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rick Curtis <curti...@gmail.com>
Subject Re: Work with multiple persistence unit.
Date Thu, 18 Nov 2010 15:07:05 GMT
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 <primemoxie@gmail.com> 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" <curtisr7@gmail.com>
> To: <users@openjpa.apache.org>
> 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
>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message