Query query = entityManager.createQuery(update);
Here, I am getting “No assignments specified as part of UPDATE criteria” because there are no values to update.
Anyone please guide me how to check if there are any values to update or not.
I tried to get values from CriteriaUpdate object itself with reflection also but not working.