Specifying the data source driver

The method setDataDriver() is used to specify the user data source driver. JReport can use the user data source driver as the data source of a report. By default, JReport uses a JDBC connection. Only when the report works with a user data source can users call this method.

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

Parameter