Jump to content
Changes to the Jaspersoft community edition download ×

hibernate subreport blank

2006 IR Open Dicussion

Recommended Posts

By: jmaiques - jmaiques

hibernate subreport blank

2006-04-19 05:33

I've two reports that work fine by separate

The first is 'master' and the second 'detail'

The detail one has a parameter than is used in de hql.


I'm creating a subreport using detail into master, filling the parameter, everything must be ok but when i run it, the subreport is blank and my console shows this error


2862045 [subRecintosDeUnidad subreport filler] WARN query.JRHibernateQueryExecuter - The supplied org.hibernate.Session object is null.


I'm using Ireport 1.2.1 and jasperreports-1.2.1.jar





By: jmaiques - jmaiques

i've juest solved it !!!

2006-04-21 02:18

The subreports needs a parameter named "HIBERNATE_SESSION" with value expression "$P{HIBERNATE_SESSION}"


That's All ... thanks a lot to Oscar Gomez!!

Link to comment
Share on other sites

  • 1 month later...
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Hi ,


I have same problem as u posted.

I have master report(disForm) and subreport(drugAll) both using same table using hibernate

Subreports(drugAll) is running well individually.

when i run the master report(disForm) Master report itself is executing when i run it.

My subreport is not shown.

Can u please help me how to configure them , and parameters to be passed?




Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...