SAP Knowledge Base Article - Preview

2586003 - INSERT-ing java BigDecimal-s - SAP SDK for ASE

Symptom

Exception in thread "main" com.sybase.jdbc4.jdbc.SybSQLException: Domain error during implicit conversion of NUMERIC value '' to a NUMERIC field.

        at com.sybase.jdbc4.tds.Tds.processEed(Tds.java:4201)
        at com.sybase.jdbc4.tds.Tds.nextResult(Tds.java:3318)
        at com.sybase.jdbc4.jdbc.ResultGetter.nextResult(ResultGetter.java:78)
        at com.sybase.jdbc4.jdbc.SybStatement.nextResult(SybStatement.java:302)
        at com.sybase.jdbc4.jdbc.SybStatement.nextResult(SybStatement.java:284)
        at com.sybase.jdbc4.jdbc.SybStatement.executeLoop(SybStatement.java:2842)
        at com.sybase.jdbc4.jdbc.SybStatement.execute(SybStatement.java:2829)
        at com.sybase.jdbc4.jdbc.SybPreparedStatement.execute(SybPreparedStatement.java:1559)
        at ScientificBigDecimalInsert1.main(ScientificBigDecimalInsert1.java:39)


Read more...

Environment

  • SAP Sybase Software Developer Kit (SDK) 15.5 ESD xxx
  • SAP Sybase Software Developer Kit (SDK) 15.7 ESD xxx
  • SAP Sybase Software Developer Kit (SDK) 15.7 SPxxx
  • SAP Adaptive Server Enterprise (ASE) Software Developer Kit (SDK) 16.0 SPxxx PLxx
  • jConnect
    • JDBC 7.0
    • JDBC 7.07
    • JDBC 16 ( is version JDBC 7.07 )
  • Java

Product

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

Keywords

CR813038, CR#813038, ldkim, JAVA, fix, bug, workaround, work around, SDK , 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.