[
http://jira.jboss.com/jira/browse/JBSEAM-1242?page=comments#action_12392940 ]
jarkko Lietolahti commented on JBSEAM-1242:
-------------------------------------------
Is it ok if your session comes from different entity manager?
Something like this:
<factory auto-create="true" name="session"
scope="STATELESS" value="#{anotherEntityManager.delegate}" />
<component name="org.jboss.seam.ui.entityConverter">
<property name="entityManager">#{entityManager3}</property>
<property
name="session">#{hibernateSession}</property>
</component>
Entity converter for managed Hibernate sessions
-----------------------------------------------
Key: JBSEAM-1242
URL:
http://jira.jboss.com/jira/browse/JBSEAM-1242
Project: JBoss Seam
Issue Type: Feature Request
Components: Core
Affects Versions: 1.2.1.GA
Reporter: Patrick Ruhkopf
Assigned To: Pete Muir
Priority: Minor
Fix For: 2.0.1.CR1
Attachments: components_xml_sample.txt, HibernateEntityConverter.java,
taglib_extract.txt
The EntityConverter (<s:convertEntity>) only works with an EntityManager but not
with Hibernate managed sessions. Please find attached a HibernateEntityConverter for 1.2.1
GA.
I didn't supply a patch yet, because, as petemuir pointed out, the current HEAD
contains a lot of refactoring.
--
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