SAP Knowledge Base Article - Preview

2810386 - Readonly connection property allows more than select statements - SAP ASE


  • CONNECT_READONLY connection string property fails to prevent insert, update, delete statements in ASE
  • The con.setReadOnly(true) call raises error message "Database cannot set connection option SET_READONLY_TRUE."



  • SAP Sybase Software Developer Kit (SDK) 15.7
  • SAP Adaptive Server Enterprise (ASE) Software Developer Kit (SDK) 16.0
  • SAP Adaptive Server Enterprise (ASE)
  • jConnect
    • JDBC 7.07
    • JDBC 16 ( is version JDBC 7.07 )
  • java


SAP Adaptive Server Enterprise 15.7 ; SAP Adaptive Server Enterprise 16.0 ; SAP Adaptive Server Enterprise SDK 16.0 ; Sybase Software Developer Kit 15.7


CR#819604, CR819604, CR 819604, 819604, jconn, jconn4, jconn4.jar, feature request, FR , KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , Product Enhancement

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.