[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1764
  • Last Modified:

database column values comparison java application

Hi,

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(Bean1.java) after running application1 and creating bean instance(Bean2.java) after runing application2.Then comparing Bean1.java and Bean2.java.
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
0
gudii9
Asked:
gudii9
1 Solution
 
Sathish David Kumar NCommented:
Its not clear .

In application1 ouputfile value will update in DB .

example
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 ??
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now