java - hibernate update only some fields -


in cases want update 1 collumn, don't want object data base , have it's id , value want update.

as other values null, hibernate updating null. wonder criteria erase other columns update.

i read dynamic-update=true , exclude unmodified properties. nulls still there @ update.

does have idea? thanks! felipe

you have object database, change value , save it. if don't want that, have write own query.


Comments

Popular posts from this blog

php - render data via PDO::FETCH_FUNC vs loop -

c# - Why won't my code write to SQL? -

c# - Avoiding duplicate methods for Task and Task<T> -