// les ingredients détachés
Ingredient i1 = new Ingredient();
i1.setId(it.next().getIngredient().getId());
RecipeIngredient ri1 = new RecipeIngredient(i1, "200g");
recipe2.addRecipeIngredient(ri1);
Ingredient i2 = new Ingredient();
i2.setId(it.next().getIngredient().getId());
RecipeIngredient ri2 = new RecipeIngredient(i2, "300g");
recipe2.addRecipeIngredient(ri2);