Symptom
When "enable statement cache" is turned on in ASE, the front-end Java application reports the following exception:
Error 500: org.springframework.jdbc.BadSqlGrammarException: PreparedStatementCallback; bad SQL grammar [message_s ?,?]; nested exception is com.sybase.jdbc3.jdbc.SybSQLException: Implicit conversion from datatype 'VARCHAR' to 'INT' is not allowed. Use the CONVERT function to run this query.
Read more...
Environment
- SAP Adaptive Server Enterprise (ASE)
- Sybase Adaptive Server Enterprise (ASE)
Product
Keywords
CR497118, CR#497118, 497118, traceflag, trace, flag, switch, 7741, -T7741, LITERAL_PARAMS, dynamic prepare , KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , Bug Filed
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.
SAP Knowledge Base Article - Preview