SAP Knowledge Base Article - Preview

2799343 - java SybSQLException: Incorrect syntax near SAP ASE


A stored procedure works fine when run directly through ASE, however, fails when done through org.springframework.jdbc.BadSqlGrammarException: SqlMapClient operation; bad SQL grammar []; nested exception is com.ibatis.common.jdbc.exception.NestedSQLException:

--- The error occurred while applying a parameter map.
--- Check the neqp_UpdateStdEquipSrcDetail-InlineParameterMap.
--- Check the statement (query failed).
--- Cause: com.sybase.jdbc3.jdbc.SybSQLException: Incorrect syntax near '""'.

Application runs fine out of Framework



  • SAP Adaptive Server Enterprise
  • jConnect
  • Spring Framework 3.1.3


SAP Adaptive Server Enterprise 15.7 ; SAP Adaptive Server Enterprise 16.0 ; SAP Adaptive Server Enterprise SDK all versions


KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , BC-SYB-SDK , SDK , How To

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.