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

Delete bean with ManyToMany to always delete from intersection (not required cascade REMOVE) #1847

Closed
rbygrave opened this issue Oct 18, 2019 · 0 comments
Assignees
Labels
Milestone

Comments

@rbygrave
Copy link
Member

So this brings Ebean in line with Hibernate behaviour.

Effectively we no longer need cascade=REMOVE on @ManyToMany to support deleting the bean. This isn't potentially ideal for users that have DB level delete cascade on the FK but deemed better to be in line with Hibernate behaviour.

@rbygrave rbygrave added the bug label Oct 18, 2019
@rbygrave rbygrave added this to the 12.1.3 milestone Oct 18, 2019
@rbygrave rbygrave self-assigned this Oct 18, 2019
rbygrave added a commit that referenced this issue Oct 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant