Spring’s Dynamic DataSource Routing

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

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: