posted 14 years ago
If your entity is bound to the session, hibernate "knows" when it gets changed. By default every field is updated. But you can change that behaviour and use "dynamic update" which can save some time. E.g. when you have some large fields or blobs/clobs in your table.
I didn't check but (I think) if you want dynamic-update and the POJO isn't bound to the session hibernate does a SELECT and then creates an update.