"FROM report " +
"LEFT JOIN report_observation ON (report.id=report_observation.reportId) " +
"LEFT JOIN report_error ON (report_observation.errorId=report_error.id) ";
QueryRunner runner = new QueryRunner(Application.getDB().getDataSource());
return runner.query(sql, new JoinedReportHandler());
}
public static Report getReport(int reportId) throws SQLException
{
String sql = "SELECT "+