title: Java and shadow copy databases/datasources
body: <p>I trying to search in Google, Hibernate documentation, Spring Documentation some information:</p>
  
  <p>How I can configure my data sources in Spring Framework for create additional shadow copy of my MySQL db?</p>
  
  <p>Shadow copy - I mean: We have 02 db, 01 is primary, 02 is backup/shadow.</p>
  
  <p>Shadow DB - it's when in 02 db we have full copy of 01 db, and all other SQL it's only UPDATE, DELETE, CREATE, ALTER(modification), without SELECT. DB structure and data is same.</p>
  
  <p>Other words we have 02 data sources, and I need configure this data sources like: 01 is Primary, 02 only for UPDATE, DELETE, CREATE, ALTER(modification), without SELECT.</p>
  
  <p>Maybe who know some Java library/tools?</p>
  
  <p>I need full and simple, in real time copy of db to another one.</p>
  
  <p>my English on basic level.</p>