Solved

database column values comparison java application

Posted on 2014-04-04
1
1,622 Views
Last Modified: 2014-04-23
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
Comment
Question by:gudii9
1 Comment
 
LVL 20

Accepted Solution

by:
Sathish David  Kumar N earned 500 total points
Comment Utility
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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now