Skip to Content
author's profile photo
Former Member

JCo failing in keeping database CURSOR

Hi All,

I'm trying to fetch records from table BSID using FETCH / CURSOR calling my RFC from a Java code. But when it go to second iteration or call to the RFC, SAP looses track of older CURSOR which RFC opened in first iteration. Can anybody tell me how to call my RFC so that I can continue my database access in SAP where I left in last iteration.

Thanks in advance.

Cheers!!!

Kuldeep

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • author's profile photo
    Former Member
    Oct 05, 2005 at 10:38 PM

    Include some of you code.

    I know that when you use java.sql.Connection with Statements and Resultsets, it acts the same way.

    If you are looping through one resultset, you can not reuse the Statement that created the resultset.

    Add comment
    10|10000 characters needed characters exceeded