SAP Knowledge Base Article - Preview

2312891 - JDBC truncation error with Numeric value - SAP SDK


Sending a numeric variable in a parameterized statement causes error message:
Exception Stack Trace
Caused by: com.sybase.jdbc4.jdbc.SybBatchUpdateException: JZ0BE: BatchUpdateException: Error occurred while executing batch statement: Scale error during implicit conversion of NUMERIC value '15074256.47000000067' to a NUMERIC field.
 at com.sybase.jdbc4.jdbc.ErrorMessage.raiseBatchUpdateException(
at com.sybase.jdbc4.jdbc.SybStatement.batchLoop(
at com.sybase.jdbc4.jdbc.SybStatement.sendBatch(
at com.sybase.jdbc4.jdbc.SybStatement.executeBatch(
at com.sybase.jdbc4.jdbc.SybStatement.executeBatch(
at com.sybase.jdbc4.jdbc.SybPreparedStatement.executeBatch(



  • SAP Adaptive Server Enterprise (ASE)
  • SAP Software Developers Kit (SDK)


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


KBA , BC-SYB-SDK , SDK , Problem

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.