Multi-tenant webapp using Spring MVC and Hibernate 4.2.0.Final
问题 I have developed a small webapp using and SpringMVC(3.1.3.RELEASE) and Hibernate 4.2.0.Final. I'm trying to convert it to be a multi-tenant application. Similar topics have been covered in other threads, but I couldn't find a definitive solution to my problem. What I am trying to achieve is to design a web app which is able to: Read a datasource configuration at startup (an XML file containing multiple datasource definitions, which is placed outside the WAR file and it's not the application