HI All,
I want to enject entitymanager based on persistence unit name passed at 
runtime. Can any body tell how to do it.
For Ex:
@PersistenceUnit(name="xyz")
EntityManager em;

I want name to be populated at run time. (In above scenario it is hardcoded 
"xyz").



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176994#4176994

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176994
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to