I create an xls file via Apache POI, when filling I make a value of the form 02.01.5 , while reading I get 02-янв-2005 .

The cell type is set to a string both when creating a file and when reading.

 cell.setCellType(Cell.CELL_TYPE_STRING); 

How to disable automatic conversion or get the original value.

    1 answer 1

    Decision :

     CellStyle style = workbook.createCellStyle(); style.setDataFormat(format.getFormat("@")); 

    and when creating a cell

     sheet.setDefaultColumnStyle(cell.getColumnIndex(),style);