We have a issue where we are trying to merge persistence.xml files from multiple JAR's
Thread.currentThread().getContextClassLoader().getResources(PERSISTENCE_XML)
Does return a list of all persistenc.xml files from all projects, however when we make JAR files of each project, classloader.getResources(PERSISTENCE_XML)
no longer returns a list of all persistence.xml files.
Is there anything we can do about this?