Skip to Main Content

ODP.NET

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ODP.NET and SSIS batch size

3581181Nov 6 2017 — edited Feb 22 2018

Hello,

I have a very simple SSIS package which extract data from SQL Server into an Oracle database

I set the Batch Size of the Oracle destination at 50.

When I load 1 row the package fails:

[ADO NET Destination [2]] Error: An exception has occurred during data insertion, the message returned from the provider is: object reference not set to an instance of an object

When I load 2 or more rows the package succeeds.

When I load 1 row, with the batch size set to 0, the package succeeds.

Is there an issue about loading 1 row with ODP.NET ?

I use SSDT 14.0.61707.300 (build with Target set to SqlServer 2014) and ODP.NET 12.2.0.1.0

Thank you

This post has been answered by 3581181 on Nov 10 2017
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 8 2017
Added on Nov 6 2017
1 comment
813 views