title: POI excel skip the first row
body: <p>I made poi excel read, upload and save into DB but when I check my DB, excel parsing db without first row. I tried to change code but it doesn't work so I put the my original code. please help!</p>
  <pre><code>public static List&lt;Product&gt; excelToExcelEntity(InputStream inputStream) {
          try {
              Workbook wb = new XSSFWorkbook(inputStream);
              Sheet sheet = wb.getSheet(SHEET);
              Iterator&lt;Row&gt; rows = sheet.iterator();
  
              List&lt;Product&gt; entities = new ArrayList&lt;Product&gt;();
  
              int rowNumber = 0;
              while (rows.hasNext()) {
                  Row currentRow = rows.next();
  
                  if (rowNumber == 0) {
                      rowNumber++;
                      continue;
                  }
                  Iterator&lt;Cell&gt; cellsInRow = currentRow.iterator();
                  Product excelEntity = new Product();
                  DataFormatter formatter = new DataFormatter();
                  int cellIdx = 0;
  
                  while (cellsInRow.hasNext()) {
                      Cell currentCell = cellsInRow.next();
                  switch:
                 ---
                  break;}
                      cellIdx++;
                  }
                  entities.add(excelEntity);
              }
              wb.close();
              return entities;
  
  </code></pre>