I just set the field to InputStream, and I'm trying to view with Image component, isn't enough? This error just happens with Hibernate + jasper, if I use JDBC + mysql it works.
When I compile the report using iReport 1.3.0 no errors happen. But when I execute the application the following error happens... java.lang.ClassCastException: [b cannot be cast to java.io.InputStream The full print stack is in the attached file. With versions: ireport 1.3.0 hbernate 3.1 jasperreport 1.2.0 My property bean on hibernate is a byte[] and this field is setted with InputStream on iReports and no error is catched if there is no data in the field. [file name=printStack.txt size=9048]http://www.jasperforge.org/components/com_joomlaboard/uploaded/files/printStack.txt[/file]