title: Storing Image in Data Base Using Java in Binary Format
body: <p>I am working around my project and got some Problem, I searched for it , but couldn't find meaning full learning resource, What I need is to Store Image in SQL Server Database using my Java program , and will need that Back to Retrieve, images are not of larger size they are ranging between 30 and 50 K,
  I can load images from my Disk by using     getImage() method in toolKit</p>
  
  <pre><code>Image imm = Toolkit.getDefaultToolkit().getImage("URl");
  </code></pre>
  
  <p>, but i don't know How to convert that image to Binary Format and to store in Database, and then retrieve Back From Database.
  I want to Store that in VarBinary s by looking around several sites i found that the image type in SQL Server is soon going to Retire.</p>