hi dears

I have an entity that has a oneToMany relation with anothr entity

now I write a query like below

Java Code:
ArrayList<AirCraftTaskAssigner> assigners = (ArrayList<AirCraftTaskAssigner>) entityManager.createQuery("select organizationBranch.airCraftTaskAssigner from OrganizationBranch organizationBranch where organizationBranch.name= :myName").setParameter("myName", branchName).getResultList();

            Set<AirCraftTaskAssigner> assignerSet=new LinkedHashSet<AirCraftTaskAssigner>(assigners);

            ArrayList<AirCraftTask> desc= (ArrayList<AirCraftTask>) entityManager.createQuery("select airCraftTask from AirCraftTask airCraftTask where airCraftTask.airCraftTaskAssigners= :myAssigner").setParameter("myAssigner",assignerSet).getResultList();

when I run this code ,throws below exception

Java Code:
ERROR: Missing IN or OUT parameter at index:: 1
showPersonTasks error : org.hibernate.exception.GenericJDBCException: could not extract ResultSet