##### Setting the result set

The method setUserResultSet(java.sql.ResultSet userResultSet) is used to set the result set required to run a report. It may be called as below:

    Class.forName("oracle.jdbc.driver.OracleDriver");
    Connection connection = DriverManager.getConnection
    ("jdbc:oracle:thin:@222.222.222.45:1521:orcl815","System","manager");
    Statement stmt = connection.createStatement();
    ResultSet rs = stmt.getResultSet();
    bean.setUserResultSet(rs);

Parameter

- userResultSet - The JDBC ResultSet object created by the user. Users should release this by themselves.