• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem in updating tables through hibernate

 
Pankaj Chaudhary
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hiiii,
I have a table in which i want to update few columns.
But when i call saveOrUpdate method with session object the values get updated which i have update in my java code but rest all columns get updated with null or zero value.

my java code is as follows:

here AppMstForm is bean class which mapped with AppMst table with the help of AppMst.hbm.xml file .

this is my problem if anyone can help then i m very thankfull of him/her.

or if anyone wants more info about my problem then i will send that material.
thanks for reading my message

[Edited to use code tags - Paul Sturrock]
[ August 21, 2006: Message edited by: Paul Sturrock ]
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you sure the values you set in AppMstForm are not null?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic