This content has been marked as final.
Show 1 reply
-
1. Re: Distinct in seam
rogermorituesta.rogermori.yahoo.com Oct 12, 2011 10:36 AM (in response to aizaviour)Hi Ramesh:
A simple example is listed below.
You might want to transform the output into a List<Map> using a Hibernate transformer.
Roger.
select distinct p.attr1 as attr1, p.attr2 as attr2 from MyEntity p