I have an Class with a unidirectional one to many relationship as follows:
public class Order {
@OneToMany(cascade = CascadeType.ALL)
@JoinTable(name=\"o
select item from Order order
inner join order.items item
where order = :order
and ...
HQL queries use entities and their associations. The fact that the association uses a join table or not is not important for HQL: you navigate through associations and Hibernate does the appropriate translation to SQL.