Thanks for your reply christian well and injecting EntityManager like this in my action class
@PersistenceContext(unitName="myDatabase") protected EntityManager em; i think it will not allow me to use em.flush function as i think so i have tried it before and it throughs exception.(As per my information it is managed by the seam and it does not allow it.) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4044924#4044924 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4044924 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user