Class HQLQueryTranslater

java.lang.Object
com.atlassian.crowd.search.hibernate.HQLQueryTranslater

public class HQLQueryTranslater extends Object
Translates implementation agnostic Queries into executable Hibernate Query Language code.

Before you think this is an epic fail due the the existence of Hibernate criteria queries (CBQ), criteria queries can't do the join we want with user and user attribute classes without explicitly mapping the join in Hibernate (AFAIK). Experience has shown mapping joins for unbounded collections results in a performance nightmare when mutating the collection.