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

Better error handling in named queries with empty collection parameters #9

Closed
CmdrDats opened this issue Oct 23, 2012 · 1 comment
Closed

Comments

@CmdrDats
Copy link
Contributor

Currently, when you call a named query with a collection parameter, it spits out a nasty sql error because the IN () is empty. If a parameter is a collection but empty, it should info out a warning, but return an empty list. Most of the time if an IN () is empty, it means there shouldn't be any results anyhow.

@crisptrutski
Copy link

Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants