Solved

database column values comparison java application

Posted on 2014-04-04
1
1,682 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

685 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