cancel
Showing results for 
Search instead for 
Did you mean: 

Using nativeTaskQuery to update in Bulk

rohitagrawal
Champ on-the-rise
Champ on-the-rise
Can i use native task query to update any data in table

taskService.createNativeTaskQuery()
              .sql("update ACT_RU_TASK set ASSIGNEE_  = 'Rohit' where ID_ in ('2601','2606')");
1 REPLY 1

trademak
Star Contributor
Star Contributor
No, the native query functionality is meant for querying not updating.

Best regards,