And I'm safely assuming you've left out the getter methods just not to pollute the page, right? Yeah, I thought so.
In my
Hibernate Made Easy book, I have a little example that uses the "Team has Players" scenario. The two classes are mapped as so:
In this scenario, I have no problem pulling out both sides of the relationship using a Criteria query. Do you see any major differences between your code and mine?
Mapping Bi-Directional One-To-Many Relationships with Hibernate
You are indeed getting departments back from your query, right? How many departments get returned when you size the list? (Just making sure stage one works before digging too deep).
-Cameron McKenzie