[jboss-user] [JBoss Seam] - Re: Challenge: Simple Example Adding Records With Lookup Dro
petemuir
do-not-reply at jboss.com
Thu Nov 23 07:55:52 EST 2006
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
More information about the jboss-user
mailing list