-
Notifications
You must be signed in to change notification settings - Fork 0
Massive update
Eduardo William Karpinski Priester edited this page Oct 2, 2021
·
1 revision
public static void main(String[] args) {
Map<String, Object> fieldAndNewValue = Map.of("text", "WOW");
long total = new HCFConnection<>(MyEntity.class).massiveUpdate(fieldAndNewValue,
"id", 1, HCFParameter.GREATERTHANOREQUALTO, HCFOperator.NONE);
System.out.println("Number of entities updated: " + total);
}