0

I want to have read and write datasources for replication purposes in spring boot app. Are there any examples on how to implement this behavior?

Alex
  • 1,940
  • 2
  • 18
  • 36
  • I want to have 2 separate data sources which I'll be able to use for different operation(read and write) – Alex Oct 06 '17 at 14:47

2 Answers2

0

This could help you Spring Boot Configure and Use Two DataSources

also you could take a look on this blog

Community
  • 1
  • 1
0

This is what I was looking for http://fedulov.website/2015/10/14/dynamic-datasource-routing-with-spring/

Alex
  • 1,940
  • 2
  • 18
  • 36