Register / Login
Win a copy of
Mastering Non-Functional Requirements
this week in the
this forum made possible by our volunteer staff, including ...
Roel De Nijs
Stephan van Hulst
Portals and Portlets
Hibernate save or update is not working fine
posted 4 years ago
I have problem to utilize saveOrUpdate() method,
i have table user which is having columns name, address and id which is generated by hibernate Auto.
i wanna save first
(Mohan, BTM) == in DB (1, Mohan, BTM) it's working fine
i wanna update the same record in DB(1, Mohan, EC).
Instead of saving like this save or update method is creating one more row like
2 , mohan, EC.
please clarify my doubt .
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
Boost this thread!
Help HIGHLY needed with one-to-one mapping error
SpringBatch: 'update' method in ItemStream and roll back in case of exception
updating rows in table error
unique id generation for all DB vendors
Do you have a common save/update/delete method in your app?