In order to get data from user defined data source, JReport need to invoke the following JDBC API (for details about the API, refer to http://java.sun.com/javase/6/docs/api/).
Note: The method ResultSetMetaData getMetaData() throws SQLException is only invoked when the Specify columns option is not checked in the Add User Defined Data Source dialog.