mercredi 4 mars 2015

Spring Dynamic data source routing for mongoDB

I'm developing a spring web application. I have 2 types of data sources- mySQL & MongoDB.


I'm using AbstractRoutingDataSource implementation for mysql like in this blog: http://ift.tt/1vYJdR0


it works great.


I would like to achieve the same for my mongoDB. Is it possible to do so?


Aucun commentaire:

Enregistrer un commentaire