OpenCsv 에러 관련

선종우·2023년 8월 23일
0

As of my last knowledge update in September 2021, OpenCSV did not natively support Java record types with its CsvToBeanBuilder. Java records were introduced in Java 16, and library support for them can lag behind.

OpenCSV traditionally worked with regular Java classes, not records. You would typically define a regular Java class with fields, getters, and setters to map to CSV data using CsvToBeanBuilder.

However, library support can change, and it's possible that OpenCSV has been updated to support Java records since then. To get the most accurate and up-to-date information, I recommend checking the OpenCSV documentation or GitHub repository for the latest release notes and features. If they have added support for records, it should be documented there. Additionally, you can always try it out with the latest version of OpenCSV to see if it works with Java records.

0개의 댓글