tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mansour Al Akeel <>
Subject Multiple persistence.xml in different jars
Date Mon, 13 Oct 2014 05:40:29 GMT
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 ??

View raw message