Joined: Thu Oct 28, 2004 6:57 am Posts: 2 Location: bangalore india
|
Hi ,
I wanted to know if there is a way of updating particular attributes of an object which is identified by a particular identifier. The scenario is that i have some of the attribute values (that will replace the existing ones) of an object and its identifier . I dont want to do session.get() or session.load() and update the object. This will result in two database operation. Is there any way way so that i can update the object directly as it is with standard SQL UPDATE statement with a WHERE Clause
eg; UPDATE user set name ='seemanto' where userID = 1;
thanks
_________________ - regards
Seemanto B.
|
|