Skip to content
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

Test for @OneToMany orphanRemoval not occurring #2953

Merged
merged 4 commits into from
Feb 10, 2023

Conversation

buchtajz
Copy link
Contributor

Unit test for issue #2952

rbygrave added a commit that referenced this pull request Feb 9, 2023
orphanRemoval was not occurring when a loaded bean had a collection
replaced by a new BeanCollection (as opposed to a vanilla collection
like java.util.ArrayList).

Json marshalling a collection puts beans into BeanCollection and this
is part of the test that reproduced this issue.
@rbygrave rbygrave changed the title setArrayListDoInsertInsteadUpdate Test for @OneToMany orphanRemoval not occurring Feb 9, 2023
rbygrave added a commit that referenced this pull request Feb 10, 2023
@rbygrave rbygrave merged commit e01f19b into ebean-orm:master Feb 10, 2023
@rbygrave rbygrave added this to the 13.11.4 milestone Feb 10, 2023
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.

2 participants