HQL library