How to update with inner join in HQL ?
My query in SQL like this
update u
set u.name = t.name
from User u
inner join Temp t on t.id = u.id
and I try in HQL like
@Query("
update User u
set u.name = ..?..
where u.id in (select id from Temp)
")
How can I get name in Temp to set in this query?
thank you.