Solved

database column values comparison java application

Posted on 2014-04-04
1
1,667 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
ID: 39988367
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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Why my table column Id is not passed to java object? 4 44
iterator/ListIterator approach 17 39
ejb stateless example 2 25
Java: anonymous class 4 29
For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
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 …
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…

829 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