• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

update(Object) Not Working

 
Sahana Hegde
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys,

This is my update method int the DAO.

When I print the values here, it prints the updated one. But fails to update. Does not generate the sql also.
I am using the same for creating the object, works fine.
How can I troubleshoot?

Thanks
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Was any value changed in your contractor object? What do the hibernate DEBUG logs show?
 
Sahana Hegde
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the reply.

Yes I changed the values. I get the new values when I print them in that method. But the update is not generating the sql.

[ November 03, 2008: Message edited by: Sahana Hegde ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic