afaquecena Posted April 30, 2015 Share Posted April 30, 2015 the image stored in database is in 'bytea' datatypeim selecting the image from palllete and setting its property to java.awt.imagebut than its not working, and if im selecting the property as java.lang.string that same very thing is happeningbut when im running the query in i report that very coloumn datatype is shown as java.lang.stringcan you please help me retrieve image Link to comment Share on other sites More sharing options...
abc.hegde Posted April 30, 2015 Share Posted April 30, 2015 You can make the image from database as stream and then pass the stream as parameter. In the report, the parameter type must be input stream. This parmater can be given as image expression for the image component. Link to comment Share on other sites More sharing options...
Tom C Posted May 1, 2015 Share Posted May 1, 2015 Please refer to the last comment in this posting threadhttp://community.jaspersoft.com//questions/852481/load-blob-image-table-componentI have posted a sample report that you can import into JasperReports Server to run the test and use iReport or Studio JRS plugin to get the report template out from the repository to review its design. 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