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

Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X

Translate the entire conversation x

SearchCondition Showing an error

hmungekar
12-Amethyst

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
23-Emerald I
(To:hmungekar)

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

Announcements

Top Tags