I've been using Jaspersoft paired with Java beans for my reports and everything is going well. It was only when I checked the logs, which can be viewed by the client, that I noticed that there is something wrong. In the code below, the highlighted line, it checks if there is an SQL connection.
Since I don't use SQL it returns a warning message: JRJdbcQueryExecuter - The supplied java.sql.Connection object is null.
How can the SQL connection validation be prevented?