Win a copy of Design for the Mind this week in the Design forum!
    Bookmark Topic Watch Topic
  • New Topic

Comparing a java object and a database record

 
janaki varma
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Report post to moderator
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
Pie
Posts: 64708
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Report post to moderator
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.
 
    Bookmark Topic Watch Topic
  • New Topic