Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipselink-users] Getting a query intersection in JPA?

Hi,

I have: "image" 1:M "imageToTag" M:1 "tag"

I want to issue a query that will return all images that have *at least*
tags [a, b, c]. It's not clear to me how one can model this in JPQL. I could
build the query string dynamically but that's bad for performance and
security reasons. Any ideas?

Thank you,
Gili
-- 
View this message in context: http://www.nabble.com/Getting-a-query-intersection-in-JPA--tp21233445p21233445.html
Sent from the EclipseLink - Users mailing list archive at Nabble.com.



Back to the top