Reputation: 29
i try to save type date at my database but i got this error
java.lang.IllegalStateException: Cannot get a NUMERIC value from a STRING cell
this is my code
rfx.setRv_rc_date(row.getCell(67).getDateCellValue());
please what i should to do to get this value format date !
Upvotes: 0
Views: 493
Reputation: 61
You are trying to get a Date type value from a String type cell, there are 2 ways you can do:
Upvotes: 1