Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

while loop on Result set causing performance issue in adf

M310591Nov 4 2016 — edited Nov 7 2016

Hi All,

     I have developed an application where in the application should search around 17000 items (rows) and display on UI. I have pl/sql function where it will return the search results but showing it on UI is taking hell lot of time (More than 45 minutes). Upon debugging i found that the while loop might causing the issue. Following is the code snippet:

while (rs != null && rs.next())   // rs is the result set returned by pl/sql function

{

// Setting the values to VO table.

}

Whatever i am printing inside while loop is not getting printed i mean the control stucked in while loop. Can anyone please tell me what i should do? It's quite urgent as we are moving this application to production.

JDeveloper version is 12.1.3

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 5 2016
Added on Nov 4 2016
22 comments
853 views