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
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user