@Query( "select o from MyObject o where inventoryId in :ids" ) List findByInventoryIds(@Param("ids") List inventoryIdList);