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