Two Laptop Bag
The moose likes JDBC and Relational Databases and the fly likes Replication from MySql to Sql Server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Replication from MySql to Sql Server" Watch "Replication from MySql to Sql Server" New topic

Replication from MySql to Sql Server

Anil Verghese
Ranch Hand

Joined: Oct 11, 2006
Posts: 155
i working on banking we are facing one issue,that is they saying mysql is not high secure my management asked me to replicate the data each time the user do transaction,it should replicate the data from mysql to sqlServer
Thank you,
Paul Sturrock

Joined: Apr 14, 2004
Posts: 10336

How does having data in two places make it more secure than having it in one? Surely it would be easier (and more secure) to port the application to the desired database platform and drop the old database?

If you absolutely must to do this, you can do this with distributed transactions. Replicate the schema and all its data then for every update you'll need to do this against two DataSources not one. You'll have to somehow safegard the databases too, since its you application that keeps them in sync. Allowing anything else to update it will require they do so in the same safe transactional manner.

In my opinion, not worth doing. I'd argue the requirement with your management.

JavaRanch FAQ HowToAskQuestionsOnJavaRanch
subject: Replication from MySql to Sql Server
It's not a secret anymore!