Add HQL query support for le and ge operations