I have an java application which stores contacts.This application will be get installed on number of computers.
Application will store contacts on its local database(MySQL).
After storing 10 or 50 contact or records by various operators data will get Sync on server database(MySQL).
This server have same data structure and fields as local database.
How can i avoid to sync same record on server database? And how do i get to know how many records has been added by single operator?