Skip to content

Commit

Permalink
Fix failing QA (boolean auto-box thingy)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbarrez committed Jul 14, 2015
1 parent a70ca1d commit cac1d31
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ protected void initBulkInsertEnabledMap(String databaseType) {
}
}

public boolean isBulkInsertable(Class<? extends PersistentObject> persistentObjectClass) {
public Boolean isBulkInsertable(Class<? extends PersistentObject> persistentObjectClass) {
return bulkInsertableMap.get(persistentObjectClass);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import org.activiti.engine.impl.persistence.entity.AttachmentEntity;
import org.activiti.engine.impl.persistence.entity.ByteArrayEntity;
import org.activiti.engine.impl.persistence.entity.CommentEntity;
import org.activiti.engine.impl.persistence.entity.CompensateEventSubscriptionEntity;
import org.activiti.engine.impl.persistence.entity.DeploymentEntity;
import org.activiti.engine.impl.persistence.entity.EventLogEntryEntity;
import org.activiti.engine.impl.persistence.entity.EventSubscriptionEntity;
Expand All @@ -28,10 +29,12 @@
import org.activiti.engine.impl.persistence.entity.JobEntity;
import org.activiti.engine.impl.persistence.entity.MembershipEntity;
import org.activiti.engine.impl.persistence.entity.MessageEntity;
import org.activiti.engine.impl.persistence.entity.MessageEventSubscriptionEntity;
import org.activiti.engine.impl.persistence.entity.ModelEntity;
import org.activiti.engine.impl.persistence.entity.ProcessDefinitionEntity;
import org.activiti.engine.impl.persistence.entity.PropertyEntity;
import org.activiti.engine.impl.persistence.entity.ResourceEntity;
import org.activiti.engine.impl.persistence.entity.SignalEventSubscriptionEntity;
import org.activiti.engine.impl.persistence.entity.TaskEntity;
import org.activiti.engine.impl.persistence.entity.TimerEntity;
import org.activiti.engine.impl.persistence.entity.UserEntity;
Expand Down Expand Up @@ -120,6 +123,22 @@ public class EntityDependencyOrder {
*/
DELETE_ORDER.add(EventSubscriptionEntity.class);

/*
* FK to Execution
*/
DELETE_ORDER.add(CompensateEventSubscriptionEntity.class);

/*
* FK to Execution
*/
DELETE_ORDER.add(MessageEventSubscriptionEntity.class);

/*
* FK to Execution
*/
DELETE_ORDER.add(SignalEventSubscriptionEntity.class);


/*
* FK to process definition
* FK to Execution
Expand Down

0 comments on commit cac1d31

Please sign in to comment.