[jboss-user] [EJB 3.0] - Re: EntityManager not being injected

2006-08-23 Thread c_eric_ray
Yes, the persistence.xml is correct. I use the EM all throughout my code. I understand the problem is related to the Converter implementation class being instiated by JSF and not the EJB container or something like that. Therefore, injection cannot occur. Are you implying this will be fixed in

[jboss-user] [EJB 3.0] - Re: EntityManager not being injected

2006-08-23 Thread treespace
The SLSB works and is the logical place to put such code. EM injection will not work just yet -- requires servlet 2.5 compliant container. Are you sure your persistence.xml is correct for the "DC" unit and that it references a valid datasource? View the original post : http://www.jboss.com/i

[jboss-user] [EJB 3.0] - Re: EntityManager not being injected

2006-08-21 Thread c_eric_ray
Here's the code jsf code... | | | | Converter implementation | @PersistenceContext(unitName="DC") | EntityManager em; | | public Object getAsObject(FacesContext fContext, UIComponent component, String value) | throws ConverterExc