JS-newbie Posted November 13, 2018 Share Posted November 13, 2018 Hello. I am using Date as a parameter in my report. The java class for the parameter is java.util.date and for teh field in the database is java.sql.Timestamp. This setting works well in Jasper Studio but when I publish this to Server and run the report, I get teh message saying that the "Report is empty". What am I doing wrong? Do I have to change any settings in Jasper Server? Thank you! Link to comment Share on other sites More sharing options...
mshomir Posted November 14, 2018 Share Posted November 14, 2018 Try checking your data source in the report server Link to comment Share on other sites More sharing options...
JS-newbie Posted November 14, 2018 Author Share Posted November 14, 2018 Hello @mshomir: Data source is correct. Is there anything else that I need to check? Link to comment Share on other sites More sharing options...
mca.amitrami Posted November 16, 2018 Share Posted November 16, 2018 Hi Witch database you are using?I think you need to use database string to date function both side parameter and database filed this is the best option for resolving it, 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