SAP Knowledge Base Article - Preview

2124820 - jConnect: 'JZ0TC: Attempted conversion between an illegal pair of types' when using literals and parameters values mixed in SQL statement - SDK for SAP ASE

Symptom

  • Using addBatch/executeBatch on statement similar to this: INSERT INTO JCONN4_TEST (TYPE,UPDATE,DESCRIPTION) values ('M', ?, ?)") with ENABLE_BULK_LOAD=BCP and error occurs:
    • java.sql.SQLException: JZ0TC: Attempted conversion between an illegal pair of types.


Read more...

Environment

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

Product

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

Keywords

Bulk Load Failure,778467, CR778467, CR 778467 , KBA , BC-SYB-SDK , SDK , 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.