Joined: Wed Feb 06, 2013 1:03 am Posts: 2
|
I have table with one primary key (auto increment) and three columns except that primary key column
S.No EmpId EmpName Month salary
1 1700 xxxx Jan 17000 2 1701 yyyy Jan 70000 3 1700 xxxx Feb 16750 4 1702 yyyy Jan 70000 5 1700 xxxx Mar 17000 6 1700 xxxx April 16000 This table contains details about employee names and his/her monthly salary details, I need to update the salary of employee xxx in Jan Month.
How can i do this in hibernate by using session.saveorupdate method?
|
|