posted 16 years ago
Hi,
I want to fire query using Hibernate to update specific field. Here, I dont have object in the memory so, other fields will have null value.
If I try SaveOrUpdate() call then it will overwrite null values to other fields.
I can retrieve the object, populate it and then fire saveOrUpdate() but this looks me inefficient.
I can use SQL query but I am wondering if any better approach is available.
Please guide.
Thanks,
Bhavin