[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-2802) Websphere: unable to inject EntityManager into non-EJBs

Eric Jung (JIRA) jira-events at lists.jboss.org
Mon Mar 31 10:22:33 EDT 2008


    [ http://jira.jboss.com/jira/browse/JBSEAM-2802?page=comments#action_12405912 ] 
            
Eric Jung commented on JBSEAM-2802:
-----------------------------------

If you want to use OpenJPA instead of Hibernate, you still need to specify <persistence:persistence-provider /> in components.xml (as dicussed in JBSEAM-1946). Alternatively, remove hibernate.jar from the EAR--but not the other hibernate-related jars.

> Websphere: unable to inject EntityManager into non-EJBs
> -------------------------------------------------------
>
>                 Key: JBSEAM-2802
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-2802
>             Project: JBoss Seam
>          Issue Type: Patch
>          Components: EJB3
>         Environment: Websphere 6.1 with EJB Feature Pack
>            Reporter: Eric Jung
>
> Seam currently is unable to inject EntityManager instances into non-EJB components. Also, OpenJPA cannot be used in place of Hibernate as a persistence provider. Patch attached.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list