SAP Knowledge Base Article - Preview

2293264 - Message 9502 data truncation error unichar and statement cache - SAP ASE

Symptom

  • Msg: 9502
  • Unichar types (unichar and univarchar) with statement cache on
  • .sybase.jdbc4.jdbc.SybSQLException: Data exception - string data right truncated
  • Unichar and Univarchar data types that are NULL and ASE is using statement cache through a jdbc prepared statement. 

 


Read more...

Environment

  • Adaptive Server Enterprise (ASE):
    • SAP Adaptive Server Enterprise (ASE) 15.7
    • SAP Adaptive Server Enterprise (ASE) 16.0
  • Platforms:
    • AIX 64bit
    • HP-UX on IA64 64bit
    • Linux on Power 64bit
    • Linux on x86 64 64bit
    • Solaris on Sparc 64bit
    • Solaris on x86 64 64bit
    • Windows on x64 64bit
  • SDK 15.7 jConnect 7.0.7 jconn4.jar

Product

SAP Adaptive Server Enterprise 15.7 ; SAP Adaptive Server Enterprise 16.0

Keywords

error 9502, msg 9502, unichar, univarchar, truncation, statement cache, error, jdbc, CR#786478, CR786478, 786478 , 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.