Mitesh,
> Please pass a HashMap to createEntityManagerFactory as follows to work
> around the NPE.
> EntityManagerFactory emf =
> Persistence.createEntityManagerFactory("em", new HashMap());
This did the trick. Many thanks for the quick reply!
Please let me know if I should file a bug.
-- Pierre