Hi All,
I'm trying to figure out why this HQL query doesn't works
Code:
from Product product where product.Levels.Project.Description like '%AA%'
The query parser throw the exception:
Quote:
expecting 'elements' or 'indicies' after Project
while this one runs without problems:
Code:
form Product product join product.Levels levels join levels.Project project where project.Description like ...
Surely I prefer the less verbose one :D
Relationships:
Product n:m Level n:1 Project
I'm missing something?
Thanks
Massimo