I need bulk update some entities using JPA 2.1.
Here: http://wiki.eclipse.org/EclipseLink/Release/2.5/JPA21#Update_Example I found example how to do it.
If I wrtite:
CriteriaUpdate<OrderRecordEntity> orderRecordEntity
It's ok. But when I write:
criteriaBuilder.createCriteriaUpdate(OrderRecordEntity.class);
Then I see, that criteriaBuilder don't have method createCriteriaUpdate.
Does anyone know how to resolve this problem?