title: updating a value from relation using JPA CriteriaUpdate
body: <p>I have a composition relation between two entities A &amp; B (A is the owner), i need to update a field value in the owned entity "B" using the owner entity "A" as root using JPA CriteriaUpdate, i tried to set the value of the whole entity B like this :</p>
  
  <pre><code>criteriaUpdate.from(A.class).set("B",valueOfB);
  </code></pre>
  
  <p>but it doesn't work because it doesn't traverse through the relation,
  Any suggestion on how should i do this please ?</p>