title: C# - ODP.NET and ora-01475 must reparse cursor to change bind variable datatype
body: <p>I'm getting <code>ora-01475</code> whenever I try to insert a null value in a column (of type <code>DateTime</code>) after some records have already been inserted that have real date values. </p>
  
  <p>I'm using the <code>OracleParameter</code> constructor that takes the name and the value as an object (I assume the data type is then implied from the datatype of the object), but since sometimes the value of my parameter is null, it's being set as a <code>String</code>, therefore throwing this error. </p>
  
  <p>I don't want to use the constructor that takes the datatype explicitly because I use reflection heavily to build the <code>OracleCommand</code> object and its parameters.</p>
  
  <p>How can I reparse the cursor (as the error suggests) if I find this situation?<br>
  Has anyone else run into this and has a solution? </p>