This content has been marked as final.
Show 2 replies
-
1. Re: getting EntityManager from within java?
norman.richards Mar 21, 2007 10:01 PM (in response to dustismo)Have you tried Component.getInstance()?
-
2. Re: getting EntityManager from within java?
dustismo Mar 22, 2007 12:13 PM (in response to dustismo)EntityManager manager = (EntityManager)Component.getInstance("entityManager");
worked like a charm, thanks :)