public static BufferedInputStream blob2stream(Blob value) throws SQLException {
  if (value == null) {
    return null;
  }
  BufferedInputStream bufferedInStream=new BufferedInputStream(value.getBinaryStream());
  return bufferedInStream;
}

public static BufferedInputStream blob2stream ( Blob value ) throws SQLException { if ( value == null ) { return null ; } BufferedInputStream bufferedInStream = new BufferedInputStream ( value . getBinaryStream ( ) ) ; return bufferedInStream ; }
this method is called via reflection from the database .
