Is there any functionality to auto fill the data in the cells with the correct type? Now I have to manually set the types, f.e. String or Integer.
Code now is:
for (String colName : headerNames) {
dataRow.createCell(colIndex++).setCellValue(rs.getString(colName));
}
At this moment I have to declare for each cell separately what type to use with rs.getString(colName). As the data contains both Strings as Integers, it would be handy if they could me automatically typed.