File tree Expand file tree Collapse file tree
backend/src/main/java/ca/bc/gov/nrs/ilcr/dto/base Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11package ca .bc .gov .nrs .ilcr .dto .base ;
22
3- import ca .bc .gov .nrs .ilcr .exception .ScheduleNotSavedException ;
43import jakarta .validation .Constraint ;
54import jakarta .validation .Payload ;
65import java .lang .annotation .Documented ;
1817 * {@code ALL_TAB_COLUMNS} reports {@code CHAR_USED = 'B'} for {@code CAMP_REPORT.CAMP_NAME} (30)
1918 * and {@code CAMP_REPORT.COMMENTS} (4000). {@code @Size} measures Java characters, so a name of 30
2019 * accented or CJK characters satisfies it and then overflows a 30-BYTE column: Oracle raises
21- * ORA-12899, the service can only map that {@code DataAccessException} to {@code
22- * ScheduleNotSavedException}, and the licensee gets an opaque 500 on an ordinary save. This
20+ * ORA-12899, the service can only map that {@code DataAccessException} to {@link
21+ * ca.bc.gov.nrs.ilcr.exception.ScheduleNotSavedException ScheduleNotSavedException}, and the licensee gets an opaque 500 on an ordinary save. This
2322 * constraint turns that into a clean 400 at the same field. The character cap stays because it is
2423 * the LEGACY bound (the screen's own {@code maxlength}) and is the tighter one for ASCII input,
2524 * which is effectively all stored data today.
You can’t perform that action at this time.
0 commit comments