title: What if I don't have any image to upload in mydatabase?
body: <p>I want the Blob field in my database take NULL when I don't have any image to upload. 
  I am using JAVA - Software Netbeans. 
  My database : MySQL </p>
  
  <p>This is my code:</p>
  
  <pre><code>String s; //The path of the image
  
   InputStream is = new FileInputStream(new File(s));
   preparedStmt.setBinaryStream(24,is,(int)s.length());
  </code></pre>