SAP Knowledge Base Article - Preview

3483882 - jConnect apps using dynamic prepare statement and Read-only connection will get 456 error with DROP PROCEDURE

Symptom

  • jConnect application with Read-only and DYNAMIC_PREPARE=true(default) that issues only SELECT statement with PrepareStatement will get 456 error with DROP PROCEDURE.


     com.sybase.jdbc4.jdbc.SybSQLException: Failed to execute DROP PROCEDURE, because this is a read-only connection. Read-only connections can only execute SELECT statements. Use 'set readonly off' to execute DROP PROCEDURE.


Read more...

Environment

  • SAP Adaptive Server Enterprise (ASE) 16.0 SP04 PL04 or later
  • jConnect 6.05, 7.0, 7.07(16.0)

Product

SAP Adaptive Server Enterprise 16.0

Keywords

CR#829523, Msg 456 , KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , BC-SYB-SDK , SDK , BC-DB-SYB , Business Suite on Adaptive Server Enterprise , Problem

About this page

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

Search for additional results

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