[jboss-user] [EJB 3.0] - Re: what happen with my entity bean , need expert help

waynebaylor do-not-reply at jboss.com
Thu Jul 19 09:46:30 EDT 2007


instead of 
anonymous wrote : 
  |  @Inject
  | private EntityManager manager; 
  | 

you should try

  | @PersistenceContext(unitName="persistence_unit_name")
  | EntityManager manager;
  | 

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

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



More information about the jboss-user mailing list