2006 IR Open Dicussion Posted August 27, 2006 Share Posted August 27, 2006 By: CSJakharia - csplrj SubReport Connection is null Problem 2006-04-23 01:11 Software ----------- Jasperreport 0.6.4 Ireport 0.4.1 I have a SubReport.When I try to show the Report with the help of JResultSetDataSource I get an error in the subreport saying that java.sql.Connection is null Is there any way by which I can pass the Connection Object which is stored in the Resultset by rs.getStatement().getConnection() By This I could had solve the problem but the problem is that in JResultsetDataSource the resultset field is made private and so can't work in that way I am using JResultsetDataSource as my query changes according to the different conditions Can you suggest me the way by which the connection object can be passed very easily Thanks in advance CSJakharia 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