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

Cannot delete bean with more than 2100 child beans on SqlServer #2504

Merged
merged 2 commits into from
Jan 26, 2022

Conversation

rPraml
Copy link
Contributor

@rPraml rPraml commented Jan 26, 2022

When deleting a element, that has many dependent elements, this won't work on SqlSever due 2100 parameter limit for "in" queries.

This PR adds a test and a possible fix

@rbygrave
Copy link
Member

Yeah cool. Longer term we could have a platform "maxInParameters".

@rbygrave rbygrave added this to the 12.14.2 milestone Jan 26, 2022
@rbygrave rbygrave added the bug label Jan 26, 2022
@rbygrave rbygrave merged commit a702bbb into ebean-orm:master Jan 26, 2022
@rPraml rPraml deleted the sqlserver-delete-problem branch January 23, 2023 07:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants