[jboss-user] [JBoss Seam] - Re: Getting Id of Presisted object.

waheed.murad do-not-reply at jboss.com
Fri May 11 05:55:16 EDT 2007


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



More information about the jboss-user mailing list