How to insert images from database?

Open the XML view of .jrxml file.
Then find code similar to this

<field name="image" class="java.lang.Object"/>  
/* "image" must be replaced by your actual field name */

and change it to

<field name="image" class="java.io.InputStream"/>

Leave a Comment