This discussion is archived
0 Replies Latest reply: Oct 8, 2012 7:51 AM by 966871 RSS

Siebel data bean fetch data in chunks, executeQuery2 ?

966871 Newbie
Currently Being Moderated
Hi,
I am able to retrieve all records of Employee business component using Siebel data bean. Below is the code snippet-

oPsDR_Header = dataBean.newPropertySet();
lPS_values = dataBean.newPropertySet();
busComp.clearToQuery();
busComp.setViewMode(AllView);
busComp.activateMultipleFields(oPsDR_Header);
busComp.executeQuery(true);

     Through this code I am getting all Employee records. My requirement is to fetch records in chunks. As, when there would be several thousand records memory requirement for my process would be very high. Can I configure anything in data bean or in Siebel server to achieve this? How API busComp.executeQuery is different from busComp.executeQuery2 ?
     Thanks very much for any help!

Regards,
Ajay

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points