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

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

Comments

Projects
None yet
1 participant
@timowest
Member

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

This comment has been minimized.

Show comment
Hide comment
@timowest

timowest Jun 28, 2012

Member

Released in 2.7.0

Member

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