2006 IR Open Dicussion Posted August 27, 2006 Share Posted August 27, 2006 By: Anthony Presley - blurngr Problems with java.awt.Image support.... 2006-04-18 16:08 I'm trying to develop a new report using a byte[] array (BLOB) from our database. After reading some of the threads, I understand that I can simply call the query as: "SELECT byteArray from blob" And in the JRXML, declare: <field name="byteArray" class="java.awt.Image"/> However, when I do this, I get this error: Unable to get value for field 'byteArray' of class 'java.awt.Image' The image is a one-page TIFF file. Any ideas? By: Anthony Presley - blurngr RE: Problems with java.awt.Image support.... 2006-04-20 14:06 Just so we are all clear ... I modified the code to be a java.io.InputStream, rather than java.awt.Image, and it works. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now