Hi,
I have a master/child relation, and I would like to know how I can get all children of a parent given by its code (key).
For example, if I would like to know all the employees of a given department, this sql query will give me corresponding results:
select * from Employee e where e.codeDept = "84"
How can I execute this query in Hibernate so that it returns me corresponding Employee entities?
thanks.