I am not able to reproduce this. I tested with the following query, which seems to mirror yours and which worked fine:
select item from Item item where item.name in :names and ( item.descr is not null and item.name in :names2 )
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
I am not able to reproduce this. I tested with the following query, which seems to mirror yours and which worked fine:
select item from Item item where item.name in :names and ( item.descr is not null and item.name in :names2 )