Hello,
OracleDataAdapter.OnRowUpdated throws NullReferenceExecption if updating 1 row with OracleDataAdapter, with UpdateBatchSize set to 2 (anything above 1). (Btw. the DB row is updated).
See attached example c# project. Create Table DDL is included in textfile Oracle SQL create table TESTODP.sql ++++ run insert into testodp values(1,0)
https://www.file-upload.net/download-13560890/TestODP.zip.html
| Name | Value | Type |
---|
| StackTrace | " bei Oracle.ManagedDataAccess.Client.OracleDataAdapter.OnRowUpdated(RowUpdatedEventArgs value)\r\n bei System.Data.Common.DbDataAdapter.Update(DataRow[] dataRows, DataTableMapping tableMapping)\r\n bei Oracle.ManagedDataAccess.Client.OracleDataAdapter.Update(DataRow[] dataRows, DataTableMapping tableMapping)\r\n bei System.Data.Common.DbDataAdapter.UpdateFromDataTable(DataTable dataTable, DataTableMapping tableMapping)\r\n bei System.Data.Common.DbDataAdapter.Update(DataTable dataTable)\r\n bei TestODP.Program.Main(String[] args) in \\XXX\\TestODP\\TestODP\\Program.cs:Zeile 33." | string |
Greetz
Yannik