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

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -