tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andy Gumbrecht <agumbre...@tomitribe.com>
Subject Re: Multiple persistence.xml in different jars
Date Mon, 13 Oct 2014 11:07:48 GMT
Could this be related the '*openejb.finder.module-scoped=true*' property?

Andy.

On 13/10/2014 08:39, Romain Manni-Bucau wrote:
> Hi
>
> it should do out of the box,can you share more details/code?
>
>
> Romain Manni-Bucau
> @rmannibucau
> http://www.tomitribe.com
> http://rmannibucau.wordpress.com
> https://github.com/rmannibucau
>
>
> 2014-10-13 7:40 GMT+02:00 Mansour Al Akeel <mansour.alakeel@gmail.com>:
>> I am writing unit tests. The unit test include multiple jars, each of
>> them has JPA entities and persistence.xml file. Each file has it's own
>> Persistence Context.
>>
>>
>> The JPA entities in jar B references some entities in jar file A. I
>> need to load both persistence.xml.
>>
>> Is there a way to instruct openejb container to scan for other
>> persistence.xml in different jars ??
>


-- 
   Andy Gumbrecht
   https://twitter.com/AndyGeeDe
   http://www.tomitribe.com


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