title: How to aceess child table fields using named queries in hibernate
body: <p>I have two tables 
  1) employee
  2) Department
  In this the department ID is foreign key for Employee table, and primary key for Department table .
  Now I have write Named query in Employee persistence class. From this I am not able to access Department table fields.
  But I am able to access By using HQl in Hibernate.</p>
  
  <p>So Can any one please tell me How to access child table fields with Named Queries in hibernate.</p>