tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <rmannibu...@gmail.com>
Subject Re: Multiple persistence.xml in different jars
Date Mon, 13 Oct 2014 06:39:29 GMT
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 ??

Mime
View raw message