Problem With Retrieval Of More Than 1000 Users During Search API (Doc ID 1952053.1)

Last updated on JANUARY 11, 2015

Applies to:

Identity Manager - Version 11.1.1.5.2 and later
Information in this document applies to any platform.

Goal

When trying to search more than 1000 users with "search" API for OIM 11.1.1.5
---
Map userTmpKey = new HashMap();
........
UserManager usrMng = Platform.getService(UserManager.class);
SearchCriteria criteria = new SearchCriteria(AttributeName.USER_KEY.getId(), userTmpKey.values(), SearchCriteria.Operator.IN);
List userRets = usrMng.search(criteria, null, new HashMap());
---
The following error is encountered:
<ORA-01795: maximum number of expressions in a list is 1000>


 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms