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 ??
