Hello everyone...
The thing is I make a report using Hibernate with iReport 1.2.0, it gets
compiled, and shows up the results (it works)... but then I put the
.jrxml in my app, compiled and when I try to fill the report, I'm
getting a parse error with one of the columns in the report...
Any clues on how I can fix this (besides coping the same
jasperreport.jar to my app)?
Here's part of the stack trace...
[encuestador] ERROR [http-8080-Processor25] PARSER.reportError(33) |
illegal syntax near collection: answer
[encuestador] ERROR [http-8080-Processor25]
ReportDAOHibernate.buildReport(91) | org.hibernate.QueryException: could
not resolve property: points of:
mx.edu.um.encuestador.model.AnsweredQuestionAnswer [select
a.survey.survey.name as survey,
a.survey.person.id as person,
a.question.name as question,
sum(a.answers.answer.points) as points
from mx.edu.um.encuestador.model.AnsweredQuestion a
group by a.survey.survey,a.survey.person,a.question.name]
Did I mention that it works inside iReport? Oh, well, hope that someone
can show me the way...
Thnx...
David M.
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions