Not sure why it needs to be determined at runtime but have you tried:
EntityManager em = (EntityManager)Component.getInstance(someRuntimeString, 
true);

???  

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

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

Reply via email to