openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rick Curtis <curti...@gmail.com>
Subject Re: ArgumentException: No metadata was found
Date Thu, 15 Apr 2010 13:03:38 GMT
Udi -

> I'm using 2 different entity managers:
> The first contains the classes: a, x, y, z.
> and the second contains the classes: b, c, d, e, f.
I assume you are trying to say that you have two different persistence units
and one manages the classes [a, x, y, z] and the other manages [b, c, d, e,
f]?

> is it possible that it switched between the two entity managers?
If my previous assumption is correct, yes I bet that is what is happening.

-- 
Thanks,
Rick

On Thu, Apr 15, 2010 at 2:57 AM, Udi <SabaUdi@gmail.com> wrote:

>
> Yes, the type a valid entity and it's listed in the p.xml file
> (otherwise I would have get this exception during startup and not after a
> month..)
>
> I'm using 2 different entity managers:
> The first contains the classes: a, x, y, z.
> and the second contains the classes: b, c, d, e, f.
>
> when i'm trying to find entity A, i'm using the first entity manager.
> but it looks like it refers to the second entity manager when it says
> "The class does no appear in the list of persistent types: [b, c, d, e, f,
> etc....] "
>
> is it possible that it switched between the two entity managers?
>
>
>
> --
> View this message in context:
> http://n2.nabble.com/ArgumentException-No-metadata-was-found-tp4859707p4906100.html
> Sent from the OpenJPA Users mailing list archive at Nabble.com.
>

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