title: Retrieve an Image stored as BLOB on a MYSQL DB
body: <p>I'm trying to create a PDF based on the information that resides on a database. Know I need to retrieve a TIFF image that is stored as a BLOB on a mysql database from Java. And I don't know how to do it. The examples I've found shows how to retrieve it and save it as a File (but on disk) and I needed to reside on memory.</p>
  
  <p>Table name: IMAGENES_REGISTROS</p>
  
  <p>BLOB Field name: IMAGEN</p>
  
  <p>Any Ideas?</p>