This small project is just to show an example of use the AbstractRoutingDataSource, when the datasource will be set at runtime, based an business condition.
Think about a scenario where you have one application with multiples databases and store/update/retrieve will be defined by specific runtime rules.
This project uses:
- spring-boot
- spring-jpa
Database
- mssql