[jboss-user] [JBoss Seam] - EntityManager newibe Question
mrohad
do-not-reply at jboss.com
Fri Aug 25 05:28:29 EDT 2006
I've a Pojo class , non a seam component
how can I retrieve the EM from the context?
I tried to use this line:
| EntityManagerFactory emf = Persistence.createEntityManagerFactory("globalEM");
| return emf.createEntityManager();
and it works , but it start validate my DB everytime I call it
any other solution?
Thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3967432#3967432
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3967432
More information about the jboss-user
mailing list