Hi Tom,
I have not run any test to validate what I am writing here, but I
thought I should let you know any way. I now see a new method called
*private static Set<String>
buildPersistentClassSetFromXMLDocuments(PersistenceUnitInfo,
ClassLoader)* in PersistenceUnitProcessor class. This method creates a
MetadataProcessor and reads all the mapping XML files in order to build
a list of classes and throws away the MetadataProcessor. As a result of
this change, are we not reading XML mapping files more than once? Shall
I reopen
https://glassfish.dev.java.net/issues/show_bug.cgi?id=1115 ?
Thanks,
Sahoo