Work in progress on a HQL Quert alternative to criteria queries