nhibernate - update with join in HQL -


i have request in pure sql (mysql) works :

update index_record_format dbrf, index_record dbr set status = 1 dbr.record_id = dbrf.record_id

i'd same hql, tried :

update dbrecordformat dbrf, dbrecord dbr set status = 1 dbr.id = dbrf.indexrecord.id

but doesn't work error : "expecting "set", found ','". idea?

thanks in adwance.


Comments

Popular posts from this blog

javascript - Iterate over array and calculate average values of array-parts -

iphone - Using nested NSDictionary with Picker -

objective c - Newbie question -multiple parameters -