Hello, I have an entity "Stock" with a composite key. Reading from the underlying table works perfectly. But if I try to update a property then no update-SQL is executed. Could somebody please take look if I do something wrong in my mapping file?
As I said, selecting data is okay, but updating does not work. Somehow Hibernate does not notice a change in the Pojo and no update-SQL is generated:
Mea Culpa, the problem is solved. There was nothing wrong with the mapping and the Hibernate-Setup. There was something wrong with the Testcase. The Testcase did set new values in an existing record, but unfortunately those values where the same as the old values, so nothing really changed and therefore Hibernate did not execute an update. Quite stupid, please take my apolologize for any inconvenience
Regards Hans [ March 03, 2008: Message edited by: Hans Lesmeister ]
No holds barred. And no bars holed. Except this tiny ad: