I have a persistent object that I generated using the Hibernate tools eclipse. I am able to insert a record, but I am not able to update a record. When I call that method, it always seems to issue in insert.