[hibernate-issues] [Hibernate-JIRA] (HHH-4394) @OrderBy usage on a joined classes (when using join table) produces incorred SQL syntax.