Skip to main content
1-Visitor
March 2, 2015
Question

SearchCondition Showing an error

  • March 2, 2015
  • 1 reply
  • 739 views

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

1 reply

23-Emerald II
March 13, 2015

Looks like it's getting passed a Long[] array object rather than the expected long[] array.