database column values comparison java application


I have one oracle database table say XYZ. My application1 takes input(inputfile.txt) and generate output file(outputfile.txt) and updates table xyz

Application2 gets generated outputfile.txt as its input and generates outputfile2.txt and also updates same table XYZ.

Both applications inserting/updating same table XYZ. I want to see Application 2 is inserting/updating same was similar to how application 1 is doing by comparing values of table xYZ after application1 ran and after application2 ran. I need to make sure both cases values in the XYZ table are same.

MAy be creating Bean with database columns and then creating bean instance( after running application1 and creating bean instance( after runing application2.Then comparing and
If there are any differences I need to capture them as one other differencesfile.txt.
please advise
Any links resources ideas highly appreciated. Thanks in advance
Who is Participating?
Sathish David Kumar NConnect With a Mentor ArchitectCommented:
Its not clear .

In application1 ouputfile value will update in DB .

in output file value iss 123  . Its will insert into DB

In application2 you will take  output file with value 123 and genrated something and insert the DB . How it will be same ??
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.