[jboss-user] [JBoss Seam] - Re: Data separation in multi tenant applications with seam

gavin.king@jboss.com do-not-reply at jboss.com
Mon May 28 14:42:01 EDT 2007


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#4049126

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4049126



More information about the jboss-user mailing list