[jboss-user] [JBoss Seam] - Re: Data separation in multi tenant applications with seam
gavin.king@jboss.com
do-not-reply at jboss.com
Thu May 31 17:17:19 EDT 2007
Nonono!
|
| @In
| EntityManager filteredEntityManager;
| @In
| EntityManager unFilteredEntityManager;
|
| @Factory("entityManager")
| public EntityManager selectEntityManager(){
| return identity.isLoggedIn() ? filteredEntityManager : unFilteredEntityManager;
| }
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4050315#4050315
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4050315
More information about the jboss-user
mailing list