I am trying to map an excel field with the java object. What will be the best possible way of doing it rather then being dependent on the column number.
Cell orderId=row.getCell(0);
System.out.println("orderId" +orderId);
Cell trackingId=row.getCell(1);
Cell orderTitle = row.getCell(2);
Cell customerName = row.getCell(3);
Cell customerAddress = row.getCell(5);
How to map the column with the object variable without bieng dependent on column numbers?
i am looking for something where i can map the row header with object and the rest should be independent of the row number. Any suggestions?