[JBoss-user] [EJB 3.0] - presistence.xml with j2se

2006-03-05 Thread tibocu
Hi, I run a j2se application with jax.persistence, but I cannot get the EntityManagerFactory declared in the persistence.xml file. My code: factory = Persistence.createEntityManagerFactory(em); I get: No Persistence provider for EntityManager named em The persistence.xml file is located in

[JBoss-user] [EJB 3.0] - presistence.xml with j2se

2006-03-05 Thread tibocu
Hi, I run a j2se application with jax.persistence, but I cannot get the EntityManagerFactory declared in the persistence.xml file. My code: factory = Persistence.createEntityManagerFactory(em); I get: No Persistence provider for EntityManager named em The persistence.xml file is located in