Reputation: 6236
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
Upvotes: 0
Views: 51