2457863 - Error 632 on UPDATE a text column using batch from a Java client - SAP SDK for ASE | SAP Knowledge Base Article

SAP Knowledge Base Article - Preview

2457863 - Error 632 on UPDATE a text column using batch from a Java client - SAP SDK for ASE

Symptom

  • A java program to update a text column using batch fails with Error 632:

Error: 632, Severity: 20, State: 2
Attempt to move memory with an incorrect length of -1073741824. Maximum allowed length is 16384.
************************************
SQL causing error : dyn103
************************************

  • The stacktrace includes the following functions:

recvhost
recvchars
bconst
tdsrecv_params
tdsrecv__process_batchparam
tdsrecv__dynexec_batch
tdsrecv__dynexec
tdsrecv_dynamic

  • The same error is reported when any of the following drivers are used:
    • jConnect (TM) for JDBC(TM)/7.07 SP137 (Build 27291)/P/EBF25860/JDK 1.6.0/jdbcmain/OPT/Sun Apr 24 22:18:27 PDT 2016
    • jConnect (TM) for JDBC(TM)/16.0 SP02 PL04 (Build 27293)/P/EBF26086/JDK 1.6.0/jdbcmain/OPT/Thu May 12 23:31:47 PDT 2016
       
  • The same java program works fine with jConnect 7.07 ESD#4.

Read more...

Environment

  • SAP Adaptive Server Enterprise (ASE) 15.7 and 16.0
  • SAP Adaptive Server Enterprise (ASE) Software Developer Kit (SDK) 15.7 SP137and 16.0 SP02 PL04
  • jConnect
    • JDBC 7.07
    • JDBC 16.0 

Product

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

Keywords

CR804604, CR#804604, 804604, CR799690, CR#799690, 799690, HOMOGENEOUS_BATCH, OMOGENEOUS, batch, DYNAMIC_PREPARE, dynamic, prepare, TEXT, VARCHAR, preparedStatement, jconn4.jar, jconn , 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 ONE Support launchpad (Login required).

Search for additional results

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