Tag: spring jdbc

用java对象映射excel字段的最佳方式

我正在尝试用java对象来映射一个excel字段。 什么是最好的方式,而不是依赖于列号。 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); 如何用没有bieng的对象variables映射列依赖于列号? 我正在寻找的东西,我可以映射行标题与对象,其余应该是独立的行号。 有什么build议么?