Can i make a update in hibernate like this
entityManager.createQuery("update test set ... " +
" where prop = :prop ")
....
.setParameter("prop ", prop )
.executeUpdate();
where prop
is a field annotated by mappedBy