Symptom
After upgrade to ASE 16 SP04 GA and higher, queries are raising following (similar) errors:
- java.sql.SQLException: Failed to execute COMMIT TRANSACTION, because this is a read-only connection. Read-only connections can only execute SELECT statements. Use 'set readonly off' to execute COMMIT TRANSACTION.
- com.sybase.jdbc3.jdbc.SybSQLException: Failed to execute ROLLBACK TRANSACTION, because this is a read-only connection. Read-only connections can only execute SELECT statements. Use 'set readonly off' to execute ROLLBACK TRANSACTION.
- 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 GA and higher
Product
SAP Adaptive Server Enterprise 16.0
Keywords
Failed to execute, COMMIT TRANSACTION, ROLLBACK TRANSACTION, DROP PROCEDURE, read-only connection, read-only, read only, set readonly off, set readonly, readonly off, CR827215, CR#827215, 827215 , KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , Known Error
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.