Hi,
Using NH 2.1, I'm trying to execute HQL update operation as follows:

session.CreateQuery("Update Address add set add.City= 'f', add.Street
= 'df'  where ID=4");

The sql  translator  ignores from the second set --> add.Street = 'df'
such that the generated
sql looks like:

 UPDATE Address SET City='f' WHERE (ID2) IN (select ID2 from
HT_Address)


Does anybody know why the second setter is omitted?
Thanks
dyahav

--

You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en.


Reply via email to