Hello,
I have a problem with the update of an entity.
Let's say i have a db with columns
id | content | date
and an entity Question with fields id, content, date
I have the annotation @org.hibernate.annotations.Entity(selectBeforeUpdate = true, dynamicUpdate = true) When i populate my entity, let's say that date is null, but in db it has already a value, this being an update. Is there a way that hibernate could update only the content field and see that my date is null and not set the null value in db?
Thx in advanced.
|