title: Multiple Datasources in Spring Boot using same repository and entities
body: <p>I am trying to figure out how to insert the exact same data into two different databases with the same schema. I found this <a href="https://stackoverflow.com/questions/53307851/multiple-datasources-with-same-repositories-and-entities">Multiple datasources with same repositories and entities</a> but it didnt really answer the question.</p>
  
  <p>Say I have a user who is registering and I want to save this user to both databases. How do I do I configure this in spring boot? I have seen different repos/databases but what I want is to use the same repo/entity. I know replication is a thing in databases already but I want to do this on the application level.</p>