This content has been marked as final.
Show 3 replies
-
1. Re: Get entity manager without annotation?
bill.burke May 11, 2006 3:00 PM (in response to geoffm74)spec has nothing, but see our doco:
docs.jboss.com/ejb3 -
2. Re: Get entity manager without annotation?
sunfire May 12, 2006 5:32 AM (in response to geoffm74)You can add
<property name="jboss.entity.manager.jndi.name" value="java:/MyEM"/> <property name="jboss.entity.manager.factory.jndi.name" value="java:/MyEMF"/>
to the properties of your persistence-units in your persistence.xml in order to make EM and EMF available via JNDI lookup.
Cheers -
3. Re: Get entity manager without annotation?
geoff74 May 12, 2006 11:26 AM (in response to geoffm74)Awesome! Thanks!