SAP Knowledge Base Article - Preview

2340292 - Execute a "select...for update" with SetFetchSize() in jConnect raised execption - SDK for SAP ASE


  • After upgrade to ASE 16 using the Jconnect 16 to run "select ... for update" with SetFetchSize() return the following error:
    • com.sybase.jdbc4.jdbc.SybSQLException: Cursor 'jconnect_implicit_1' was declared with a FOR UPDATE clause. This cursor was found to be read only.
      at com.sybase.jdbc4.tds.Tds.processEed(
      at com.sybase.jdbc4.tds.Tds.nextResult(
      at com.sybase.jdbc4.tds.Tds.getResultSetResult(
      at com.sybase.jdbc4.jdbc.SybStatement.executeQuery(
      at com.sybase.jdbc4.jdbc.SybPreparedStatement.executeQuery(



  • SAP Adaptive Server Enterprise (ASE) 16.0
  • SAP Software Developers Kit (SDK) for Adaptive Server Enterprise (ASE) 16.0
  • jConnect


SAP Adaptive Server Enterprise 15.7 ; Sybase SDK 15.7


jconnect_implicit_1, FOR UPDATE, SELECT_OPENS_CURSOR, setFetchSize , KBA , BC-SYB-SDK , SDK , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.