]
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: