Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java App processed partial resultset

 
David Miranda
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all,

Is there any reason why a Java program would only process a partial resultset from LDAP?

I queried an LDAP database using a Java program, the LDAP logs say LDAP sent 10232 entries back:

op=1 msgId=2 - RESULT err=0 tag=101 nentries=10232 etime=1206 notes=U

But my program while(results.hasMoreElements()) returned 3012. No exceptions were thrown.

Any ideas why this would happen? Buffer overflow? Network issues? Client memory issues?

Thanks
 
suekar meredilko
Ranch Hand
Posts: 153
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi David,

Just a thought, may be its your selection criteria or the attributes you are filtering which affect the result set.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic