cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X

SearchCondition Showing an error

hmungekar
1-Newbie

SearchCondition Showing an error

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 1
LoriSood
22-Sapphire II
(To:hmungekar)

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

Top Tags