Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
i want to Query projects by owner
hence passing owners id through long own[]
SearchCondition sc=new SearchCondition(Project2.class,"containerInfo.ownerRef.key.id",own,false);
getting the following error:-
The constructor SearchCondition(Class<Project2>, String, Long[], boolean) is undefined
Looks like it's getting passed a Long[] array object rather than the expected long[] array.