go to  ForumEasy.com   
LdapPro
Home » Archive » Message


[Email To Friend][View in Live Context][prev topic « prev post | next post » next topic]
  What happens if pageSize < sizeLimit ?
 
Subject: What happens if pageSize < sizeLimit ?
Author: SteveHB
In response to: What happens if pageSize > sizeLimit ?
Posted on: 03/11/2008 06:59:49 PM


'sizeLimit' will be ignored by nature.

Search Paged Results Control is per operation rather than connection. When you associate the Search Paged Results Control with a search, you expect the number of results returned is governed by 'pageSize' -- the 'sizeLimit' is therefore useless for this search.


 

> On 09/11/2007 09:43:21 PM SteveHB wrote:


For a given search, there is always a bound size limit, either 0 or something. For the value of 0 which means no limit, it's OK for any value of pageSize. For sizeLimit !=0, if pageSize <= sizeLimit, it's still OK, but if pageSize > sizeLimit, you would get something like this:

javax.naming.SizeLimitExceededException: [LDAP: error code 4 - Sizelimit Exceeded]; remaining name 'dc=mydomain,dc=com'





References:

 


 
Powered by ForumEasy © 2002-2022, All Rights Reserved. | Privacy Policy | Terms of Use
 
Get your own forum today. It's easy and free.