I understand. So a query using entities from different persistence units
wouldn't compile at all, I think.
Thanks a lot for the explanation! :-)
Markus
Gordon Yorke schrieb:
> Section 4.3- "The domain of a query consists of the abstract schema
> types of all entities that are defined in the same
> persistence unit."
>
> A Particular Persistence Unit can not be expected to know about
> entities that are not defined within that Persistence Unit. This sort
> of functionality would be in conflict with the same Entity being used
> in multiple Persistence Units .
>
> -- Gordon
>
> Markus KARG wrote:
>> Will JOINs work across persistence units?
>>
>> Can someone point me to that part of the spec that allows or forbids
>> JOINs between entities located in different persistence units?
>>
>> Thanks
>> Markus
>>
>
--
http://www.xing.com/go/invita/58469