-
Notifications
You must be signed in to change notification settings - Fork 146
Support for ElementCollection and transient collections #4930
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
| return CollectionUtils.isEqualCollection(newValue, oldValue); | ||
| } | ||
|
|
||
| protected void setCollectionValue(E item, @Nullable V value) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Before this change, MultiValuePicker and similar components could not be bound to a Set attribute.
| } | ||
| throw new RuntimeException("Unsupported by lazy loading"); | ||
| // Called e.g. by not-instantiated IndirectList.add() | ||
| return originalValueHolder.getMapping(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Before this change, calling add() on a lazily loaded collection thrown an exception.
No description provided.