File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other Application Frameworks and the fly likes Comparing a java object and a database record Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Reply locked New topic
Author

Comparing a java object and a database record

janaki varma
Greenhorn

Joined: Dec 13, 2005
Posts: 8
I have a requirement to read a row from a flat file and create a java object of that row and then do a column by column comparision of the data retrieved from a database table , if there is a difference between the flat file row and the database row than only i have to update the record otherwise discard the record

we use hibernate for reading the records from DB

Note: the java object might also contain child objects
for example Student Object , might contain a sub object as Subjects
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60738
    
  65

Please do not cross-post the same question in multiple forums. It wastes people's time when multiple redundant conversations take place. Please read this for more information.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
 
subject: Comparing a java object and a database record
 
Similar Threads
Comparing a java object and a database record
Comparing a java object and a database record
get the word by position
Obtaining recNo from JTable - wrapping recNo in Room Object(UrlyBird)
URLyBird GUI MVC <-> Business Layer in a Thin Client and HashMap vs. ArrayList