HbnContainer distinct values

How can we get distinct values for a container.

If I understand correctly what you want, you might be able to do it by overriding HbnContainer.getBaseCriteria() and setting a ResultTransformer for the Criteria - but note that I have not tried this.