[jbossseam-issues] [JBoss JIRA] Closed: (JBSEAM-2802) Websphere: unable to inject EntityManager into non-EJBs. Unable to use OpenJPA instead of Hibernate
Eric Jung (JIRA)
jira-events at lists.jboss.org
Mon Mar 31 14:09:41 EDT 2008
[ http://jira.jboss.com/jira/browse/JBSEAM-2802?page=all ]
Eric Jung closed JBSEAM-2802.
-----------------------------
Resolution: Done
Using <persistence:entity-manager-factory name="entityManagerFactory" persistence-unit-name="myPersistenceUnitName"/> in components.xml solves the issue.
> Websphere: unable to inject EntityManager into non-EJBs. Unable to use OpenJPA instead of Hibernate
> ---------------------------------------------------------------------------------------------------
>
> Key: JBSEAM-2802
> URL: http://jira.jboss.com/jira/browse/JBSEAM-2802
> Project: JBoss Seam
> Issue Type: Patch
> Components: Platform interoperability
> Environment: Websphere 6.1 with EJB Feature Pack
> Reporter: Eric Jung
> Assigned To: Jay Balunas
> Attachments: components.xml, EMFactoryBridge.java, JBSEAM-2802.diff, persistence.xml, screenshots.zip
>
>
> 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