I have report that uses a subreport, but since the subreport is stored in a database table as BLOB
, I cannot give its path (url) in the *.jrxml
file. I
I figured it out.
REPORT_DATA
.REPORT_DATA
field's type to InputStream
.$F{REPORT_DATA}
and its "Expression
Class" to InputStream
.Don't forget to resize the list component at least to the subreport's size, otherwise you get an error like :
net.sf.jasperreports.engine.design.JRValidationException: Band height validation for subreport ...