JPA; out-of-container; multiple persistent.xml files
[Out-of-container,]
1. Can JPA handle multiple persistent units defined in multiple persistent.xml files?
(If the files are in the classpath.) In other words, if it can't find a unitName given when instantiating the EntityManagerFactory, should it check the classpath for additional persistent.xml files?
2. With mutiple jars (each with its own set of entities and persistent.xml) in the classpath, should one client program be able to get an entitymanager for any persistent unit and operate on its entities as if they were all in one jar with all units defined in one persistent.xml?
Thanks
nat

