Witam,
mam problem z zaczytaniem obrazu z bazy, kolumna jest oznaczona jako bytea,
Zaczytuje QueryString to Stringu:
<field name="bytes_of_file" class="java.io.InputStream"/>
oraz wyświetlam:
<image>
<reportElement x="0" y="0" width="80" height="80" uuid="da12f801-53e9-4549-9c1e-f899257ca9ea"/>
<graphicElement fill="Solid"/>
<imageExpression><![CDATA[$F{bytes_of_file}]]></imageExpression>
</image>
Szukałem na google, ale żaden z sposób niestety nie działa.
Za pomoc z góry dzięki