I always use:
@PersistenceContext
| private EntityManager em;
Then I do not have to call createEntityManager() within my code{
public void saveIt(SomeEntity se) {
| em.persist(se);
| }
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4185241#4185241
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4185241
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user