I tried to define an image element in the report layout and set the type to java.io.Inputstream, but this does not work, also I tried to set java.awt.Image and it does not work, the exception I get
java.lang.ClassCastException: oracle.sql.BLOB cannot be cast to java.awt.Image
or
java.lang.ClassCastException: oracle.sql.BLOB cannot be cast to java.io.InputStream
I also tried Google, but the results are what I'm doing right now.
Thank you for your help.
source share