I’ve been spending some time trying to track down a performance issue in the latest version of our software, to find that it can be isolated down to this line:
public int importResultSet(java.sql.ResultSet rs,
int rowIndex,
int columnIndex,
boolean isFieldNameShown,
java.lang.String customDateFormatString,
boolean convertStringToNumber)
throws java.sql.SQLException
- Imports data in a ResultSet object to the worksheet.
- Parameters:
-
rs
- the ResultSet object to import from. -
rowIndex
- start row index in the worksheet. -
columnIndex
- start column index in the worksheet. -
isFieldNameShown
- Indicates whether the field name of the resultset will be imported to the first row. -
customDateFormatString
- Date format string for cells which contain date value. -
convertStringToNumber
- Indicates if this method will try to convert string to number.