Hello. I have two entites:
and
And when first we select one Lateral,
In the console showed select request.
Then we are begining to change element’s params:
Then we make another any select request:
In the console we see update query (with two changed params) and second select query:
Then we are changing more parameters and do persist and flush:
And In the console we see update query (with two old params) and error:
1) It turns out that before the second select request the makes a flush although I didn't call him? 2) and after my flush it makes the old update request but with new list of parameters. Without “batch” everything works without errors (and on hibernate 5 too). Test cases attached. |