Dynamic DataSource routing is introduced in Spring 2.0.1 version. Using this feature of Spring we can select the DataSource dynamically at runtime based upon a lookup key. Through this we can determine the DataSource based on some attribute of the current user’s context.
Please refer this post by Mark Fisher on Spring Team Blog for more details…
2 thoughts on “Spring’s Dynamic DataSource Routing”
ohh ho.. 🙂
Just now I have came across ur blog. wat a great blog it is… congrads… keep it up