aspose file tools*
The moose likes Other Java Products and Servers and the fly likes Persistence Question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "Persistence Question" Watch "Persistence Question" New topic
Author

Persistence Question

Patrick Mugabe
Ranch Hand

Joined: Jan 08, 2002
Posts: 132
How can I do away with using the persistence.xml file when creating the EntityManager or at least put the database connection in a hashMap as in;

EntityManagerFactory emf = Persistence.createEntityManagerFactory("EJB_Project", new HashMap());
 
wood burning stoves
 
subject: Persistence Question