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!

Array Binding Error - Object reference not set to an instance of an object

BrianPAug 11 2005 — edited Aug 15 2005
I usually use the Microsoft Oracle Client for .net, but I am trying to do some large inserts and want to use the array binding feature of ODP.

I cannot for the life of me set the parameters of the command object!

Each time I try to add my array, it get the error "Object reference not set to an instance of an object." I've tried it a number of ways, creating an empty parameter object then adding that object to the collection; I've tried specifiying the data type, and leaving it out; no matter what I do, same error.

Mostly frustrated in that the error doesn't really tell me anything. Can someone shed some light on what is going on here???

Thanks!!

Brian
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 12 2005
Added on Aug 11 2005
14 comments
1,865 views