not for war and classpath apps (only for ears)
Romain Manni-Bucau @rmannibucau http://www.tomitribe.com http://rmannibucau.wordpress.com https://github.com/rmannibucau 2014-10-13 13:07 GMT+02:00 Andy Gumbrecht <[email protected]>: > 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 <[email protected]>: >>> >>> 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 >
