posted 9 years ago
Originally posted by Paul Sturrock:
HQL doesn't support that syntax. Think about it - it doesn't need to. Your mapping already defines the association, all you are doing with your HQL is eagerly fetching the associated object. Have a read of the HQL documentation for the correct syntax.