• insert new row in empty rowset

    By Luis Gonzalez Garcia 1 decade ago

    Hi all,

    I have a jdbcrowset with select that returns 0 rows (sql table is empty). How I do to create a new row in jdbcrowset? When I save, returns this error:

    Error calling method 'getRow(number)' on java class 'com.ibm.xsp.extlib.jdbc.model.JdbcRowSetAccessor'
    Cannot go to record #0

     

    In jdbc nsf samples also returns this error if the sql table is empty (no records).

     

    Thanks,

     

    Luis

     

    • Can you send the steps?

      By Philippe Riand 1 decade ago

      I'd like to get it reproduced with the demo DB. Apparently, this issue was fixed in Nov 2011, but something might have been left over.

      Also, please attach the full stack trace.