How can i extend the PersistenceContext Programmatically ?
For Example:
@PersistenceContext( type=PersistenceContextType.EXTENDED)
EntityManager em;
that doesn't work, because i have more than one Persistcence-unit.
i'm getting the Entitymanager via:
EntityManager em = (EntityManager)Component.getInstance("entityManager");
But its not extended, so if i'am using the EntityManager in a Stateful Session Bean,
the DataSelection Modell will not work.
So how can i extend the PersistenceContext also?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4090327#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...