2001 JI Open Discussion Posted August 21, 2006 Share Posted August 21, 2006 By: chris - christinaku jasperviewer paging 2005-01-07 18:04I got a new question here.. i am connecting to Mysql database in order to retrieve data. what if i have 1 million records in the DB. how does jasperviewer deal with this? does it retrieve all at once or retrieve page by page according to user selection of the next button. i noe crystal report supports paging so that each time the user click go to next page, it is going to retireve the data from the database. Does JasperViewer support paging-on-demand? coz if it doesn't, my computer is going to run out of memory if i retrieve extremely large records. And can you suggest any methods to get around the paging problem if JasperViewer doesn't support it? regards, Chris Link to comment Share on other sites More sharing options...
hojat88 Posted May 4, 2009 Share Posted May 4, 2009 I have the same problem, is there any solution for it? Link to comment Share on other sites More sharing options...
Teodor Danciu Posted May 27, 2009 Share Posted May 27, 2009 Hi, The initial post here is more than 4 years old.JasperReports nowadays has support for virtualization, to help with generating large reports. Check the /demo/samples/virtualizer sample provided with the project source files.The fetch size of JDBC-based data sources can be controlled using the net.sf.jasperreports.jdbc.fetch.size configuration property explained here:http://jasperreports.sourceforge.net/config.reference.html?group_id=252#net.sf.jasperreports.jdbc.fetch.size I hope this helps.Teodor 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