0 Replies Latest reply on Oct 25, 2013 7:17 AM by temm

    Regarding Jaspersoft - iReport  and BLOB

    temm

      Hi,

       

      I'm having trouble showing a blob field with iReport 5.1. I've seen from another thread in the forum (Regarding Jaspersoft - iReport / Parameters and BLOB) that all you need to do for an oracle blob field is to set the following properties for the image element

       

      Field Class : oracle.sql.BLOB

      Image Expression : $F{PHOTO1}.getBinaryStream()

      Expression Class : java.io.InputStream

       

      but i'm getting the following error

      Setting up the file resolver... 
      net.sf.jasperreports.engine.fill.JRExpressionEvalException: Error evaluating expression : 
          Source text : $F{PHOTO1}.getBinaryStream() 
          at net.sf.jasperreports.engine.fill.JREvaluator.evaluate(JREvaluator.java:203) 
         ......


       

      Is there something missing?