
how to override existing values in table? when user enters his updated data through query?

Please visit the following links:
http://www.roseindia.net/jdbc/Jdbc-execute-update.shtml
http://www.roseindia.net/jdbc/prepared-statement-update.shtml
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.