@yossipapi did you test this ? you can't pass null for an array parameter unless it has a default value of null, and also retrieveReadyByEntryIdAndFlavorParams will try to add a criterion of flavor_params_id in NULL