The "trick" looks like this, by the way:
Contexts.getSessionContext().set("entityManagerFactory",
Contexts.getApplicationContext().get( user.getCompanyName() +
"EntityManagerFactory" );
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4049126#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...