Setting the cached query result

The method setResultSet() is used to set the cached query result to work with JReport. When this method is called, JReport will load the specified cached query result and generate reports with its data.

Note: This method is mutually exclusive with the method of setDataDriver(). You can only use one of them at the same time.

Parameter