I would like to make a query which needs to compare an property's property with some value. For example:
... WHERE Identity.Location.Room = "room #1"
How can I achieve this with criteria api?
Best Regards
Oliver Hanappi
criterianhibernate
I would like to make a query which needs to compare an property's property with some value. For example:
... WHERE Identity.Location.Room = "room #1"
How can I achieve this with criteria api?
Best Regards
Oliver Hanappi
Best Answer
This will perform a query by joining your tables: