Re: Problem with "IS EMPTY" in JPQL queries


william.martel@...
 

Thank you, I'll take moment this week-end and see if I can run those tests, and open a PR for the fix. For anybody else that stumbles onto this thread, note that you can as a workaround use the SIZE() method, for example:

SELECT package.to.the.class.ClassName c WHERE c.someCollection IS EMPTY

can be written as:
SELECT package.to.the.class.ClassName c WHERE SIZE(c.someCollection) = 0

Join main@datanucleus.groups.io to automatically receive all group messages.