[jboss-user] [JBoss Seam] - Re: Problem about EntityManager.

fernando_jmt do-not-reply at jboss.com
Tue May 29 12:23:46 EDT 2007


You have declared SMPC as "entityManager", then you should use as follows:

  | @In
  | EntityManager entityManager;
  | 
or (if you prefer):

  | @In("#{entityManager}")
  | EntityManager em;
  | 
or:


  | @In(value="#{entityManager}")
  | EntityManager em;
  | 


HTH.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4049430#4049430

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4049430



More information about the jboss-user mailing list