This content has been marked as final.
Show 2 replies
-
1. Re: EntityManager in ServicePOJO?
elmosca2 Sep 14, 2005 3:40 AM (in response to mbe1)AFAIK, it is not possible, but you could use an session EJB to perform the logic that you want to do and get the EJB from the InitialContext....
-
2. Re: EntityManager in ServicePOJO?
bill.burke Sep 14, 2005 12:31 PM (in response to mbe1)You can also look up an EntityManagerFactory:
java:/EntityManagerFactories/<em-name>
THen you could use local EntityTransactions.