Skip to Main Content

SQL & PL/SQL

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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

ORA-25401: can not continue fetches

user8525647May 31 2018

Hi Guys

We are facing the following error in our UAT env while calling this proc of the package.

It is a big proc and at the end we are just opening a cursor to return to the application.

The error application is getting is : No More data to read from socket(intermittently)

I could replicate this while calling this via sqlplus where the error comes (always) as :

ORA-25401: can not continue fetches

variable insdata refcursor

declare

res varchar2(4000);

insdata sys_refcursor;

begin

pkg.read_all_details(

                i_operation_id => 'local_vc' ,

                i_executing_usr_id => 'vc',

                i_json => <a json data> ,

                o_json_response => response,

                o_ig_cursor => :insdata

);

end;

/

print insdata;

If the returned data from cursor is less than 10 records then we dont get the error. The returned data is json clob.

One more point is that if I execute this without using variable and print and use fetch inside the block to print, I dont get any error, but the java application is still getting error.

Could you please shed some light why application is getting this error. Let me know if you need any further details.

Regards

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Jun 28 2018
Added on May 31 2018
0 comments
743 views