SAP Knowledge Base Article - Preview

2094287 - HanaBulkCopy issue with DBNull values

Symptom

Using the bulk copy class of the SAP HANA ADO.NET provider. you get the following error:

  • Sap.Data.Hana.HanaException (0x80004005): Value types for each parameter must be the same for bulk inserts.
       at Sap.Data.Hana.HanaCommand.ExecuteNonQuery()
       at Sap.Data.Hana.HanaBulkCopy._WriteToServer(DataRow[] source)
       at Sap.Data.Hana.HanaBulkCopy.WriteToServer(DataTable table)

Read more...

Product

SAP HANA 1.0, platform edition

Keywords

bug 57546 , KBA , BC-DB-HDB-SYS , Database Interface/DBMS for SAP HANA , 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.