Read the rules before posting!
http://www.hibernate.org/ForumMailingli ... AskForHelp
Hibernate version:
Mapping documents:
Code between sessionFactory.openSession() and session.close():
Full stack trace of any exception that occurs:
Name and version of the database you are using:
The generated SQL (show_sql=true):
Debug level Hibernate log excerpt:
Hello,
Can someone show me how express the following in the HQL query.
I have three tables A, B and C. Relationship between A and B is one-many and B to C is many-one. A is parent of B, B is parent of C.
I want to write an HQL query where I want to filter based on a property in C. For example C.name = 'Hello'
Thanks