1) In this multi-tenant app, it is OK. Every operation just need to access one tenant datasource in the thread . 2) Thread local is not appropriate in distributed architecture. sometimes we should access 2 or more datasourses at the same time in ONE thread.
2010/10/16, Dave Newton <davelnew...@gmail.com>: > 2010/10/16 Raymond He <raymond.kk...@gmail.com>: >> To Li Ying and Dave New ton, multiple datasources is a common >> requirement in large scale e-commerce and telecom application. > > I know; that's what I said. > > Dave > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- 从我的移动设备发送 *Kun He* (or Raymond He) A Java Programmer Alibaba inc. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org