[jboss-user] [O'Reilly JBoss 3.0/4.0 Workbook] - ex9_1 Error

Bhagwat do-not-reply at jboss.com
Tue Jul 3 07:24:24 EDT 2007

Code in Client Program
EntityManagerFactory factory =
      EntityManager entityManager = factory.createEntityManager();

After running client program it throwing error
Exception in thread "main" javax.persistence.PersistenceException: No Persistence provider for EntityManager named titan

There is any other way to create EntityManagerFactory or How to create entity manager without using Stateless Session Bean.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4059882#4059882

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4059882

More information about the jboss-user mailing list