2006 IR Open Dicussion Posted September 5, 2006 Share Posted September 5, 2006 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 More sharing options...
naniivs Posted October 20, 2006 Share Posted October 20, 2006 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? Bye,Nani Link to comment Share on other sites More sharing options...
alexjonk Posted October 24, 2006 Share Posted October 24, 2006 $P{HIBERNATE_SESSION} did the trick for me , thanks a lot Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now