Skip to content

raphaelln/spring-dynamic-datasource

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

spring-dynamic-datasource

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages