goran.matisa Posted September 25, 2015 Share Posted September 25, 2015 Hi,Is there a way to:a) ignore sql error in a report so that execution doesn't get interrupted (of course, if other report parts depend on erroneous sql query, report will break eventually)orb) gracefully handle error - ie. our database application raises errors as a informative feedback for the calling client so we would like to catch and display error code and the message (if possible via customizing some Jasper classes)With regards,Goran Link to comment Share on other sites More sharing options...
hozawa Posted September 25, 2015 Share Posted September 25, 2015 Had a similar problem and decided to use REST v2 API to display reports. I'm also able to better validate parameters value entries. Link to comment Share on other sites More sharing options...
goran.matisa Posted September 30, 2015 Author Share Posted September 30, 2015 REST v2 API concept is new to me, and, as far as I understood, it requires Jasperreports Server component.Since our current configuration doesn't include Server, that type of solution is not an option at the time.Anyway, thanks for the hint! 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