Ok, so the EntityConverter requires access to an EntityManager to load objects.
Just set this as you would set up an EntityManager for Seam -
<component name="em"
class="org.jboss.seam.core.ManagedPersistenceContext">
| <property
name="persistenceUnitJndiName">java:/selectItemsEntityManagerFactory</property>
| </component>
|
| <component class="org.jboss.seam.selectitems.SelectItemsConfig">
| <property
name="persistenceUnitJndiName">java:/selectItemsEntityManagerFactory</property>
| </component>
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3988158#3988158
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3988158
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user