hibernate - HQL Update with join (Avoid subquery) -


I have two big tables and they have a relationship together. How to write two tables updated together with parameters of goodness and good performance, and to avoid the subclass I can do this by using the following example:

  Update product set isOK = 1 where id (Choose F_ProductID from sale)  

But the haven above the example is not good because it does not use the index and I know that we can do this by using the original query but My w Sass is another problem with it.


Comments

Popular posts from this blog

c++ - C/pp Sockets, recv()/send() works only under gdb -

GO: Serve static pages -

objective c - How to open front/back camera at the same time in iOS developing? -