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 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
