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

JPA/Eclipselink : improve collection.any() serialization #176

Closed
timowest opened this issue Jun 18, 2012 · 1 comment
Closed

JPA/Eclipselink : improve collection.any() serialization #176

timowest opened this issue Jun 18, 2012 · 1 comment

Comments

@timowest
Copy link
Member

@timowest timowest commented Jun 18, 2012

For conditions like the following

q.where(license.tags.any().in(withTags));
q.where(license.tags.any().in(withoutTags).not());

the following Exception is thrown

Exception [EclipseLink-8019] (Eclipse Persistence Services - 2.0.1.v20100213-r6600):     org.eclipse.persistence.exceptions.JPQLException
Exception Description: Error compiling the query [select distinct license
from License license
where exists (select license_tags
from Tag license_tags
where license_tags member of license.tags and license_tags = ?1)
and exists (select license_tags
from Tag license_tags
where license_tags member of license.tags and license_tags <> ?2)]
multiple declaration of identification variable [license_tags], previously declared as [Tag license_tags].
@timowest
Copy link
Member Author

@timowest timowest commented Jun 28, 2012

Released in 2.7.0

@timowest timowest closed this Jun 28, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant