posted 12 years ago
I am trying to access users that have a subset of from an interests table. The Interets and Users tables have a many to many relationship using a join table.
The JDO's generated look like this (Simplified):
My HQL code looks like this, I get an error "could not resolve property"
select user from Users as user where user.defInterestses.defInterests.id = 2 or user.defInterestses.defInterests.id = 1