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
Post a Comment