-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Subreports with Hibernate and Jasper
PostPosted: Wed May 25, 2005 11:20 am 
Newbie

Joined: Mon May 16, 2005 7:19 pm
Posts: 1
Hello,

I am trying to use HQL query like SELECT prof.students.name, count(*) from Prof where Prof.class.id=$P{class_id} and DATE(Prof.startDate)>=$P{startDate} Group by Prof.students.name Order by Prof.students.name

something very similar to this. This query is in a subReport, so all the parameters are initialized in the Master report.

Now, in the Master report, should i pass the REPORT_HIBERNATE_SESSION ?

If yes, then under which TAG (like connectionExpressoin, DataSourceExpression) should i pass it ????

Thank you,


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.