package com.backendless.transaction;

import java.util.List;

public class OperationCreateBulkFactory extends OperationFactory<OperationCreateBulkReturned>
{
  @Override
  protected Class<OperationCreateBulkReturned> getClazz()
  {
    return OperationCreateBulkReturned.class;
  }

  @Override
  protected OperationCreateBulkReturned createOperation( OperationType operationType, String table, String opResultId, Object payload )
  {
    return new OperationCreateBulkReturned( operationType, table, opResultId, (List) payload );
  }
}

@@ -48,20 +48,95 @@
 va.util.
-List
+ArrayList;%0Aimport java.util.Arrays;%0Aimport java.util.List;%0Aimport java.util.Map
 ;%0A%0Apubli
@@ -499,24 +499,130 @@
 yload )%0A  %7B%0A
+    if( payload instanceof Map%5B%5D )%0A      payload = new ArrayList%3C%3E( Arrays.asList( ( Map%5B%5D ) payload ) );%0A
     return n

fix casting Map[] to List<Map>