[jboss-user] [Clustering/JBoss] - Re: multiple database servers for a multi-tenant environment
bstansberry@jboss.com
do-not-reply at jboss.com
Mon Sep 10 19:09:00 EDT 2007
Maybe an approach to your #1 is to write a custom subclass of javax.naming.LinkRef and bind it into JNDI under "jdbc/myDatasource". The impl would override getLinkName() to read user context info from a ThreadLocal and use that context info to return the name of the correct customer-specific datasource.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082805#4082805
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082805
More information about the jboss-user
mailing list