[jboss-user] [EJB 3.0] - Get entityManager(Factory) in client
nomike
do-not-reply at jboss.com
Fri Oct 6 08:10:58 EDT 2006
I need an entityManager in a Client application (outside JBoss)
I read, that this could somehow be acomplished by an EntityManagerFactory.
so I do
emf = Persistence.createEntityManagerFactory("foo");
em = emf.getEntityManager();
em.getTransaction(). etc.
now I need to specify the factory "foo" in some XML-File.
Which XML File? And with what Contents?
thx in advance
nomike aka Michael Postmann
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3976555#3976555
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3976555
More information about the jboss-user
mailing list