JPA2 - createEMF should return null for unhandled PUs
Dummy impl of Persistence.getPersistenceUtil() added to geronimo-jpa-2.0 spec in Rev793637.
Added to geronimo-jpa_2.0_spec-1.0-EA5-SNAPSHOT using GERONIMO-4410 as Rev796840.
Updated geronimo-jpa_2.0 artifacts were published as - https://repository.apache.org/content/repositories/snapshots/org/apache/geronimo/specs/geronimo-jpa_2.0_spec/1.0-EA5-SNAPSHOT/geronimo-jpa_2.0_spec-1.0-EA5-20090722.191803-3.jar
Need to update javax.persistence.Persistence.createEntityManagerFactory() to use this...
Spec code in javax.persistence.Persistence.createEntityManagerFactory() updated in Rev797072.
Waiting for discussion about if we want to allow createEMF() to continue creating an explicit provider before closing this.
Spec code Rev798212 for Persistence.crateEMF method updated to give each provider a chance to create a EMF until one is returned. If we only have one provider, then rethrow any of its exceptions. Otherwise, if no providers return an EMF, then throw an exception to preserve the old 1.0 behavior.
Attaching a patch of test cases
Checked with Albert and I'll take this todo off his plate.
Testcases from Dianne checked into trunk as r903328.