Skip to content

Conversation

@knstvk
Copy link
Contributor

@knstvk knstvk commented Dec 3, 2025

No description provided.

return CollectionUtils.isEqualCollection(newValue, oldValue);
}

protected void setCollectionValue(E item, @Nullable V value) {
Copy link
Contributor Author

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();
Copy link
Contributor Author

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.

@knstvk knstvk marked this pull request as ready for review December 23, 2025 08:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support for ElementCollection and transient collections as entity attributes

3 participants