Hej,
przy jednej z akcji kontrolera dostaję taki komunikat
HTTP Status 500 - Request processing failed; nested exception is org.springframework.beans.InvalidPropertyException: Invalid property 'employees[256]' of bean class [pl.cmp.leaveList.entities.LeaveDocument]: Index of out of bounds in property path 'employees[256]'; nested exception is java.lang.IndexOutOfBoundsException: Index: 256, Size: 256
doczytałem na ten temat tutaj
https://stackoverflow.com/questions/20946573/spring-autopopulatinglist-max-size
czy rzeczywiście powinienem w moim kontrolerze
@InitBinder
public void initBinder(WebDataBinder binder) {
binder.setAutoGrowCollectionLimit(1024);
}
czy można zrobić jakiś "no-limit"? lub gdzie umieścić jakiś kod, który zrobi to globalnie dla wszystkich encji?