• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem in jasper report and subreport

 
singh Mari
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am using jasper report and subreport for print purposes. when subreport are using the following error messages came.

" The supplied java.sql.connectionobject is null"
 
Anurag Blore
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you trying to pass the connection Object to the subreport?

Ideally if you are using subreports in Jasper, you should get all your data in a collection and then pass all the data to main report which again can pass the data to sub report.

This is the way I have done the Jasper report.
 
Bauke Scholtz
Ranch Hand
Posts: 2458
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am sorry to say, but how is this problem related to JSF?
 
Anurag Blore
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This problem is not related to J?SF it related to Japer Rports
Jasper Reports
 
Bauke Scholtz
Ranch Hand
Posts: 2458
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sure, but he posted it in the JSF forum.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic