Hi,
How do i get the EntityManager from within a java method (i.e. without using
@In)?
I have tried:
| EntityManager manager =
((ManagedPersistenceContext)Contexts.getConversationContext().get("entityManager"))
| .getEntityManager();
|
Which works some of the time (I assume only when the current conv holds an
'entityManager' reference).
thanks
Dustin
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030422#4030422
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030422
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user