If you create a task query, it looks like Activiti actually executes N+1 queries due to setFormKey in TaskEntity. All of the other properties in TaskEntity have versions that do not cascade (e.g. setTaskDefinitionKeyWithoutCascade), but form key does not. This causes each set of the form key property to query the ACT_HI_TASKINST table to check to see if form key has changed. Is this by design? Should I create a JIRA ticket for this?