title: inserting null as Integer value into a database
body: <p>I am trying to store a null value into the database but everytime I load the value I get 0.</p>
  
  <p>I declare the field just like "<code>intVal integer"</code></p>
  
  <p>This is how I retrieve it:</p>
  
  <pre><code>Integer x;
  
  x = cursor.getInt(cursor.getColumnIndexOrThrow(MyDBAdapter.KEY_X));
  </code></pre>
  
  <p>Is that reliable? or is it undefined?</p>
  
  <p>So it seems to me one cannot save null as an undefined integervalue</p>
  
  <p>Many thanks</p>