2020543 - Java application report conversion error after enable "statement cache" on ASE | SAP Knowledge Base Article

SAP Knowledge Base Article - Preview

2020543 - Java application report conversion error after enable "statement cache" on ASE

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) All Versions
  • Sybase Adaptive Server Enterprise (ASE) All Versions

Product

SAP Adaptive Server Enterprise all versions ; Sybase Adaptive Server Enterprise all versions

Keywords

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 ONE Support launchpad (Login required).

Search for additional results

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