title: Importing BlobDomain package not found
body: <p>I am trying to upload a image to SQLite DB in an ADF mobile application using the code below. i tried to import <code>BLOBDomain</code> with <code> import oracle.jbo.domain.BlobDomain; </code>, the package was not found. </p>
  
  <pre><code>private BlobDomain createBlobDomain(File file){  
          InputStream in = null;
          BlobDomain blobDomain = null;
          OutputStream out = null;
          try
          {
              in = file.getInputStream();   
              blobDomain = new BlobDomain();
              out = blobDomain.getBinaryOutputStream();
              IOUtils.copy(in, out);
          }
          catch (IOException e)
          {
              e.printStackTrace();
          }
          catch (SQLException e)
          {
              e.fillInStackTrace();
          }
          return blobDomain;
  }
  </code></pre>
  
  <p>What is the right package i should be using to import <code>BlobDomain</code> or does anyone know a better way to store image to SQLite database in ADF application?</p>
  
  <p>Source:
  <a href="http://tompeez.wordpress.com/2011/11/26/jdev11-1-2-1-0-handling-imagesfiles-in-adf-part-2/" rel="nofollow">http://tompeez.wordpress.com/2011/11/26/jdev11-1-2-1-0-handling-imagesfiles-in-adf-part-2/</a></p>