2006 IR Open Discussion Posted August 18, 2006 Share Posted August 18, 2006 By: Peter - quaere REPORT_CONNECTION for SubReport 2003-05-21 00:37 I have made a subreport and use connection expression to define the datasource of subreport. However, the warning message " WARN [dori.jasper.engine.fill.JRBaseFiller] The supplied java.sql.Connection object is null." shows and it cannot be generated the subreport at all. I don't know why it happens while the master report has connection. Thanks. <subreportParameter name="ID"> <subreportParameterExpression>$F{ID} </subreportParameterExpression> </subreportParameter> <connectionExpression>$P{REPORT_CONNECTION}</connectionExpression> 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