title: OCI-22053: overflow error
body: <p>I am trying to retrieve a <code>List</code> from an Oracle database using N-Hibernate. In the database, some field has a value with higher precision (20-22  digit) and the C# class has a property with <code>double</code> as its type.</p>
  
  <p>How is it possible to store data from the database into a C# <code>List</code> in this situation?</p>
  
  <p><strong><code>TestTable</code></strong></p>
  
  <pre><code>Oracle Field - TestField
         Value -  -3845585825867490000000000000000
  </code></pre>
  
  <p><strong>Oracle Column DataType</strong></p>
  
  <pre><code>   FLOAT - TestField
  </code></pre>
  
  <p><strong>C# Property</strong> </p>
  
  <pre><code>[Property(Column = "TestField", NotNull = true)]
  public virtual double TestField { get; set; }
  </code></pre>
  
  <p><strong>C# Code</strong></p>
  
  <pre><code>ICriteria crit = this.Session.CreateCriteria(typeof(TestTable));
  IList&lt;TestTable&gt; list = crit.List&lt;TestTable&gt;(); //got error at this line
  </code></pre>
  
  <p>I can't use <code>ROUND</code> as i am using N Hibernate.</p>