File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes compare records Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "compare records" Watch "compare records" New topic

compare records

Sherif Shehab
Ranch Hand

Joined: Mar 05, 2007
Posts: 484

Hi ranchers ,

I need a tool to compare records in two tables but in different DBs , and synchronize them if necessary , can anyone recommend a tool ?

Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 33132

It sounds like you want a database replication tool. Can you try a search and see if they do what you need?

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
Sherif Shehab
Ranch Hand

Joined: Mar 05, 2007
Posts: 484

Hi , actually it's not aa replication process we already got a replication tools but some times the data after replication are not the same so what i need is a tool to compare the data in both tables and mad any necessary update or insert process so after that the both tables will be identical.

Got me ?
Paul Sturrock

Joined: Apr 14, 2004
Posts: 10336

I can't think of anything that could do that. There are load of dtabase comparison tools out there, used primarily for testing database applications. These would get you your differences. But it sounds like your replication process is buggy - wouldn't it be better to address that?

JavaRanch FAQ HowToAskQuestionsOnJavaRanch
I agree. Here's the link:
subject: compare records
It's not a secret anymore!