Hi,
Referring to Pro JPA2, it is mentioned in Chapter 2 that persistence
unit and entity manager factory have 1:1 correspondance.
But I tried in my application to create more than one EntityManagerFactory using same persistence unit. I used Persistence class to create EntityManagerFactory.
So, how is it one-to-one correspondance?
Please help.
Thanks,
Sudhanshu